[Schmitzm-commits] r93 - in trunk/src/skrueger: . geotools
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Fri May 1 18:24:15 CEST 2009
Author: alfonx
Date: 2009-05-01 18:24:15 +0200 (Fri, 01 May 2009)
New Revision: 93
Modified:
trunk/src/skrueger/AttributeMetaData.java
trunk/src/skrueger/geotools/StyledFS.java
Log:
* Just corrected some JavDoc
Modified: trunk/src/skrueger/AttributeMetaData.java
===================================================================
--- trunk/src/skrueger/AttributeMetaData.java 2009-04-28 10:33:41 UTC (rev 92)
+++ trunk/src/skrueger/AttributeMetaData.java 2009-05-01 16:24:15 UTC (rev 93)
@@ -43,10 +43,10 @@
}
/**
- * Creates a {@link AttributeMetaData} with default (no) values.
+ * Creates a new visible {@link AttributeMetaData} with default (no) values.
*/
public AttributeMetaData(final Integer col, final String defaultName) {
- this(col, true, new Translation(defaultName), new Translation(""), "");
+ this(col, true, new Translation(defaultName), new Translation(), "");
}
public Boolean isVisible() {
Modified: trunk/src/skrueger/geotools/StyledFS.java
===================================================================
--- trunk/src/skrueger/geotools/StyledFS.java 2009-04-28 10:33:41 UTC (rev 92)
+++ trunk/src/skrueger/geotools/StyledFS.java 2009-05-01 16:24:15 UTC (rev 93)
@@ -64,7 +64,6 @@
*/
public StyledFS(FeatureSource fs, File sldFile) {
- super();
this.fs = fs;
id = StyledFS.class.getSimpleName()
+ new Random(new Date().getTime()).nextInt(10000000);
@@ -175,8 +174,6 @@
}
public void setImageIcon(ImageIcon icon) {
- // TODO Auto-generated method stub
-
}
public void setKeywords(Translation keywords) {
@@ -195,8 +192,12 @@
public void uncache() {
}
+ /**
+ *
+ */
public Map<Integer, AttributeMetaData> getAttributeMetaDataMap() {
if (map == null) {
+
map = new HashMap<Integer, AttributeMetaData>();
// Leaving out the first one, it will be the_geom
More information about the Schmitzm-commits
mailing list