# HG changeset patch # User Sascha L. Teichmann # Date 1342107908 0 # Node ID 3d3e40d9d6d7934d0d57faf2a640345078c84a7f # Parent 51f037483071f2984fb9e1a6cf9eb3a85c5eb27e MapResultTransformer: Added static INSTANCE because its stateless. flys-backend/trunk@4956 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 51f037483071 -r 3d3e40d9d6d7 flys-backend/ChangeLog --- 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 + + * src/main/java/de/intevation/hibernate/MapResultTransformer.java: + Added static INSTANCE because its stateless. + 2012-07-12 Sascha L. Teichmann * src/main/java/de/intevation/hibernate/MapResultTransformer.java: diff -r 51f037483071 -r 3d3e40d9d6d7 flys-backend/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() { }