Changeset 4430 in josm for trunk/src/org/openstreetmap/josm/data/imagery
- Timestamp:
- 2011-09-16T22:47:09+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/imagery/ImageryInfo.java
r4423 r4430 2 2 package org.openstreetmap.josm.data.imagery; 3 3 4 import java.util.Arrays; 4 5 import java.util.ArrayList; 5 6 import java.util.Collection; … … 138 139 } 139 140 res.add(shapesString.isEmpty() ? null : shapesString); 141 if(serverProjections != null && serverProjections.size() != 0) { 142 String val = ""; 143 for(String p : serverProjections) { 144 if(!val.isEmpty()) 145 val += ","; 146 val += p; 147 } 148 res.add(val); 149 } 140 150 return res; 141 151 } … … 184 194 Main.warn(e.toString()); 185 195 } 196 } 197 if(array.size() >= 11 && !array.get(10).isEmpty()) { 198 serverProjections = Arrays.asList(array.get(10).split(",")); 186 199 } 187 200 } … … 202 215 this.attributionText = i.attributionText; 203 216 this.termsOfUseURL = i.termsOfUseURL; 217 this.serverProjections = i.serverProjections; 204 218 } 205 219
Note:
See TracChangeset
for help on using the changeset viewer.