Revision 1938
org.gvsig.projection.jcrs/trunk/org.gvsig.projection.jcrs/org.gvsig.projection.app.jcrs/org.gvsig.projection.app.jcrs.common/src/main/java/org/gvsig/crs/preferences/JCRSPreferencesPage.java | ||
---|---|---|
217 | 217 |
public boolean isValueChanged() { |
218 | 218 |
File currentEPSG = this.getCurrentEPSG(); |
219 | 219 |
ListItem item = (ListItem) this.preferences.lstBBDD.getSelectedValue(); |
220 |
if( item == null ) { |
|
220 |
if( item == null && currentEPSG == null) {
|
|
221 | 221 |
return false; |
222 | 222 |
} |
223 |
if( item == null || currentEPSG == null) { |
|
224 |
return true; |
|
225 |
} |
|
223 | 226 |
boolean changed = ! currentEPSG.equals(item.getEPSGFile()); |
224 | 227 |
if( !changed ) { |
225 | 228 |
boolean currentUseChacheForCRSs = BooleanUtils.isTrue( |
Also available in: Unified diff