Browse Source

Added comment about the stubbed out nature of this service.

peter_backlund 17 years ago
parent
commit
e3863858c3

+ 4
- 6
dddsample/tracking/core/src/main/java/se/citerus/dddsample/tracking/core/application/event/MisdirectedNotifier.java View File

1
-/**
2
- * Purpose
3
- * @author peter
4
- * @created 2009-aug-03
5
- * $Id$
6
- */
7
 package se.citerus.dddsample.tracking.core.application.event;
1
 package se.citerus.dddsample.tracking.core.application.event;
8
 
2
 
9
 import org.apache.commons.logging.Log;
3
 import org.apache.commons.logging.Log;
32
     final Cargo cargo = cargoRepository.find(trackingId);
26
     final Cargo cargo = cargoRepository.find(trackingId);
33
 
27
 
34
     if (cargo.isMisdirected()) {
28
     if (cargo.isMisdirected()) {
29
+      /**
30
+       * In a real system, some significant action would be taken
31
+       * when this happens.
32
+       */
35
       LOG.info("Cargo " + cargo + " is misdirected!");
33
       LOG.info("Cargo " + cargo + " is misdirected!");
36
     }
34
     }
37
   }
35
   }