Revision 2207 org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.lib/src/main/java/org/gvsig/tools/namestranslator/BaseNamesTranslator.java
BaseNamesTranslator.java | ||
---|---|---|
221 | 221 |
for (String name : names) { |
222 | 222 |
updateSources.add(name); |
223 | 223 |
} |
224 |
if(this.sourceNames==null) { |
|
225 |
this.sourceNames = updateSources; |
|
226 |
this.rebuild(); |
|
227 |
return; |
|
228 |
} |
|
229 |
if(this.sourceNames.toList().isEmpty()) { |
|
230 |
this.sourceNames = updateSources; |
|
231 |
this.rebuild(); |
|
232 |
return; |
|
233 |
} |
|
224 | 234 |
|
225 | 235 |
SimpleList oldSources; |
226 | 236 |
SimpleList oldTranslated; |
Also available in: Unified diff