cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r1517624 - /cayenne/main/branches/STABLE-3.1/modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/dialog/pref/ClasspathPreferences.java
Date Mon, 26 Aug 2013 18:01:09 GMT
Author: aadamchik
Date: Mon Aug 26 18:01:09 2013
New Revision: 1517624

URL: http://svn.apache.org/r1517624
Log:
CAY-1866 Change in General Modeler Preferences reverts old settings to default value

patch by      Miłosz Pigłas

Modified:
    cayenne/main/branches/STABLE-3.1/modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/dialog/pref/ClasspathPreferences.java

Modified: cayenne/main/branches/STABLE-3.1/modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/dialog/pref/ClasspathPreferences.java
URL: http://svn.apache.org/viewvc/cayenne/main/branches/STABLE-3.1/modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/dialog/pref/ClasspathPreferences.java?rev=1517624&r1=1517623&r2=1517624&view=diff
==============================================================================
--- cayenne/main/branches/STABLE-3.1/modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/dialog/pref/ClasspathPreferences.java
(original)
+++ cayenne/main/branches/STABLE-3.1/modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/dialog/pref/ClasspathPreferences.java
Mon Aug 26 18:01:09 2013
@@ -79,9 +79,7 @@ public class ClasspathPreferences extend
             			cpEntryKeys.add(cpKey);
             		}
         		} catch (NumberFormatException e) {
-        			
-        			//remove wrong entry (key must be number)
-        			addRemovedPreferences(cpKey);
+        		    // non-integer keys are ignored
         		}
         		
         	}



Mime
View raw message