[Schmitzm-commits] r1647 - trunk/schmitzm-core/src/main/java/de/schmitzm/geotools/postgres

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Jul 25 16:42:11 CEST 2011


Author: mojays
Date: 2011-07-25 16:42:11 +0200 (Mon, 25 Jul 2011)
New Revision: 1647

Modified:
   trunk/schmitzm-core/src/main/java/de/schmitzm/geotools/postgres/PGUtil.java
Log:
BugFix in PGUtil.Privileges: toString() muss ueberschrieben werden und "this.sql" liefern, damit die Variable "this.sql" Sinn macht

Modified: trunk/schmitzm-core/src/main/java/de/schmitzm/geotools/postgres/PGUtil.java
===================================================================
--- trunk/schmitzm-core/src/main/java/de/schmitzm/geotools/postgres/PGUtil.java	2011-07-22 11:26:39 UTC (rev 1646)
+++ trunk/schmitzm-core/src/main/java/de/schmitzm/geotools/postgres/PGUtil.java	2011-07-25 14:42:11 UTC (rev 1647)
@@ -29,12 +29,17 @@
 		String sql;
 
 		Privileges() {
-			this.sql = this.toString();
+			this.sql = super.toString();
 		}
 
 		Privileges(String sql) {
 			this.sql = sql;
 		}
+		
+		@Override
+		public String toString() {
+		  return this.sql;
+		}
 	}
 
 	/**



More information about the Schmitzm-commits mailing list