changeset 2223:6e67b5dd8c4c

Cosmetics. flys-artifacts/trunk@3863 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 01 Feb 2012 13:58:50 +0000
parents 606f4fd7f815
children 01a4315f0a99
files flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Wed Feb 01 13:58:09 2012 +0000
+++ b/flys-artifacts/ChangeLog	Wed Feb 01 13:58:50 2012 +0000
@@ -1,3 +1,8 @@
+2012-02-01  Felix Wolfsteller	<felix.wolfsteller@intevation.de>
+
+	* src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java:
+	  Cosmetics.
+
 2012-02-01  Felix Wolfsteller	<felix.wolfsteller@intevation.de>
 
 	* src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java:
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java	Wed Feb 01 13:58:09 2012 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java	Wed Feb 01 13:58:50 2012 +0000
@@ -87,7 +87,9 @@
         FLYSArtifact flys = (FLYSArtifact) artifact;
         StateData    data = getData(flys, FIELD_LOCATIONS);
 
-        String locationStr = data != null ? (String) data.getValue() : null;
+        String locationStr = data != null
+            ? (String) data.getValue()
+            : null;
 
         if (locationStr == null || locationStr.length() == 0) {
             logger.error("No locations given.");

http://dive4elements.wald.intevation.org