minor
authorAndreas Müller <a.mueller@bgbm.org>
Thu, 5 Jul 2012 12:46:59 +0000 (12:46 +0000)
committerAndreas Müller <a.mueller@bgbm.org>
Thu, 5 Jul 2012 12:46:59 +0000 (12:46 +0000)
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/facade/DerivedUnitFacade.java

index 920b2accce77fd5e09fb94435982c7d88ee2b40d..13c5d335df0c4135c81c40da12bacb4dd9810dfe 100644 (file)
@@ -1203,8 +1203,7 @@ public class DerivedUnitFacade {
        // exact location\r
        @Transient\r
        public Point getExactLocation() {\r
-               return (hasGatheringEvent() ? getGatheringEvent(true)\r
-                               .getExactLocation() : null);\r
+               return (hasGatheringEvent() ? getGatheringEvent(true).getExactLocation() : null);\r
        }\r
 \r
        /**\r
@@ -1350,8 +1349,7 @@ public class DerivedUnitFacade {
                if (!hasFieldObservation() && !createIfNotExists) {\r
                        return null;\r
                }\r
-               if (createIfNotExists\r
-                               && getFieldObservation(true).getGatheringEvent() == null) {\r
+               if (createIfNotExists && getFieldObservation(true).getGatheringEvent() == null) {\r
                        GatheringEvent gatheringEvent = GatheringEvent.NewInstance();\r
                        getFieldObservation(true).setGatheringEvent(gatheringEvent);\r
                }\r