瀏覽代碼

Formatting changes

peter_backlund 18 年之前
父節點
當前提交
58962636a1

+ 7
- 1
dddsample/src/main/java/se/citerus/dddsample/application/impl/HandlingEventServiceImpl.java 查看文件

@@ -36,7 +36,13 @@ public final class HandlingEventServiceImpl implements HandlingEventService {
36 36
   @Transactional
37 37
   public void register(HandlingEventRegistrationAttempt attempt) {
38 38
     try {
39
-      final HandlingEvent event = handlingEventFactory.createHandlingEvent(attempt.getDate(), attempt.getTrackingId(), attempt.getVoyageNumber(), attempt.getUnLocode(), attempt.getType());
39
+      final HandlingEvent event = handlingEventFactory.createHandlingEvent(
40
+        attempt.getDate(),
41
+        attempt.getTrackingId(),
42
+        attempt.getVoyageNumber(),
43
+        attempt.getUnLocode(),
44
+        attempt.getType()
45
+      );
40 46
       handlingEventRepository.save(event);
41 47
       systemEvents.cargoWasHandled(event);
42 48
     } catch (CannotCreateHandlingEventException e) {