Просмотр исходного кода

Added comment about the stubbed out nature of this service.

peter_backlund 17 лет назад
Родитель
Сommit
e3863858c3

+ 4
- 6
dddsample/tracking/core/src/main/java/se/citerus/dddsample/tracking/core/application/event/MisdirectedNotifier.java Просмотреть файл

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