changeset 3342:3d3e40d9d6d7

MapResultTransformer: Added static INSTANCE because its stateless. flys-backend/trunk@4956 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 12 Jul 2012 15:45:08 +0000
parents 51f037483071
children 8df746f374cc
files flys-backend/ChangeLog flys-backend/src/main/java/de/intevation/hibernate/MapResultTransformer.java
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flys-backend/ChangeLog	Thu Jul 12 14:51:23 2012 +0000
+++ b/flys-backend/ChangeLog	Thu Jul 12 15:45:08 2012 +0000
@@ -1,3 +1,8 @@
+2012-07-12	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
+
+	* src/main/java/de/intevation/hibernate/MapResultTransformer.java:
+	  Added static INSTANCE because its stateless.
+
 2012-07-12	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
 
 	* src/main/java/de/intevation/hibernate/MapResultTransformer.java:
--- a/flys-backend/src/main/java/de/intevation/hibernate/MapResultTransformer.java	Thu Jul 12 14:51:23 2012 +0000
+++ b/flys-backend/src/main/java/de/intevation/hibernate/MapResultTransformer.java	Thu Jul 12 15:45:08 2012 +0000
@@ -8,6 +8,9 @@
 public class MapResultTransformer
 extends      BasicTransformerAdapter
 {
+    public static final MapResultTransformer INSTANCE =
+        new MapResultTransformer();
+
     public MapResultTransformer() {
     }
 

http://dive4elements.wald.intevation.org