ソースを参照

Removed @Override annotation for interface methods (for Java 1.5 compliance).

Patrik Fredriksson 18 年 前
コミット
df4a167e50

+ 0
- 1
dddsample/src/main/java/se/citerus/dddsample/domain/Cargo.java ファイルの表示

@@ -163,7 +163,6 @@ public final class Cargo implements Entity<Cargo> {
163 163
     return false;
164 164
   }
165 165
 
166
-  @Override
167 166
   public boolean sameIdentityAs(final Cargo other) {
168 167
     return other != null && trackingId.equals(other.trackingId);
169 168
   }

+ 0
- 1
dddsample/src/main/java/se/citerus/dddsample/domain/CarrierMovement.java ファイルの表示

@@ -38,7 +38,6 @@ public final class CarrierMovement implements Entity<CarrierMovement> {
38 38
     return to;
39 39
   }
40 40
 
41
-  @Override
42 41
   public boolean sameIdentityAs(final CarrierMovement other) {
43 42
     return carrierMovementId.equals(other.carrierMovementId);
44 43
   }

+ 0
- 1
dddsample/src/main/java/se/citerus/dddsample/domain/CarrierMovementId.java ファイルの表示

@@ -38,7 +38,6 @@ public final class CarrierMovementId implements ValueObject<CarrierMovementId> {
38 38
     return HashCodeBuilder.reflectionHashCode(this);
39 39
   }
40 40
 
41
-  @Override
42 41
   public boolean sameValueAs(CarrierMovementId other) {
43 42
     return other != null && this.id.equals(other.id);
44 43
   }

+ 0
- 1
dddsample/src/main/java/se/citerus/dddsample/domain/DeliveryHistory.java ファイルの表示

@@ -79,7 +79,6 @@ public final class DeliveryHistory implements ValueObject<DeliveryHistory> {
79 79
     }
80 80
   }
81 81
 
82
-  @Override
83 82
   public boolean sameValueAs(DeliveryHistory other) {
84 83
     return other != null && events.equals(other.events);
85 84
   }

+ 0
- 1
dddsample/src/main/java/se/citerus/dddsample/domain/HandlingEvent.java ファイルの表示

@@ -121,7 +121,6 @@ public final class HandlingEvent implements DomainEvent<HandlingEvent> {
121 121
     return sameEventAs(event);
122 122
   }
123 123
 
124
-  @Override
125 124
   public boolean sameEventAs(final HandlingEvent other) {
126 125
     return other != null && new EqualsBuilder().
127 126
       append(this.cargo, other.cargo).

+ 0
- 1
dddsample/src/main/java/se/citerus/dddsample/domain/Itinerary.java ファイルの表示

@@ -99,7 +99,6 @@ public final class Itinerary implements ValueObject<Itinerary> {
99 99
    * @param other itinerary to compare
100 100
    * @return <code>true</code> if the legs in this and the other itinerary are all equal.
101 101
    */
102
-  @Override
103 102
   public boolean sameValueAs(final Itinerary other) {
104 103
     return other != null && legs.equals(other.legs);
105 104
   }

+ 0
- 1
dddsample/src/main/java/se/citerus/dddsample/domain/Leg.java ファイルの表示

@@ -40,7 +40,6 @@ public final class Leg implements ValueObject<Leg> {
40 40
   }
41 41
 
42 42
 
43
-  @Override
44 43
   public boolean sameValueAs(final Leg other) {
45 44
     return other != null && new EqualsBuilder().
46 45
       append(this.carrierMovement, other.carrierMovement).

+ 0
- 1
dddsample/src/main/java/se/citerus/dddsample/domain/Location.java ファイルの表示

@@ -60,7 +60,6 @@ public final class Location implements Entity<Location> {
60 60
     return sameIdentityAs(other);
61 61
   }
62 62
 
63
-  @Override
64 63
   public boolean sameIdentityAs(final Location other) {
65 64
     return this.unLocode.equals(other.unLocode);
66 65
   }

+ 0
- 2
dddsample/src/main/java/se/citerus/dddsample/domain/RouteSpecification.java ファイルの表示

@@ -44,13 +44,11 @@ public class RouteSpecification implements ValueObject<RouteSpecification>, Spec
44 44
     return destination;
45 45
   }
46 46
 
47
-  @Override
48 47
   public boolean isSatisfiedBy(Itinerary itinerary) {
49 48
     // TODO implement
50 49
     return true;
51 50
   }
52 51
 
53
-  @Override
54 52
   public boolean sameValueAs(RouteSpecification other) {
55 53
     return other != null && new EqualsBuilder().
56 54
       append(this.origin, other.origin).

+ 0
- 3
dddsample/src/main/java/se/citerus/dddsample/service/InMemTransactionManager.java ファイルの表示

@@ -12,16 +12,13 @@ import org.springframework.transaction.support.SimpleTransactionStatus;
12 12
  */
13 13
 public class InMemTransactionManager implements PlatformTransactionManager {
14 14
 
15
-  @Override
16 15
   public TransactionStatus getTransaction(TransactionDefinition transactionDefinition) throws TransactionException {
17 16
     return new SimpleTransactionStatus();
18 17
   }
19 18
 
20
-  @Override
21 19
   public void commit(TransactionStatus transactionStatus) throws TransactionException {
22 20
   }
23 21
 
24
-  @Override
25 22
   public void rollback(TransactionStatus transactionStatus) throws TransactionException {
26 23
   }
27 24