[jsword-svn] jsword-sword/java/main/org/crosswire/sword/mgr s
jswordcvs at crosswire.org
jswordcvs at crosswire.org
Mon Apr 4 17:33:07 MST 2005
Update of /cvs/jsword/jsword-sword/java/main/org/crosswire/sword/mgr
In directory www.crosswire.org:/tmp/cvs-serv3223/java/main/org/crosswire/sword/mgr
Modified Files:
SWConfig.java
Log Message:
Cleanup: remove unused libraries. Piddly software changes for consistency. Move unused code to limbo.
Index: SWConfig.java
===================================================================
RCS file: /cvs/jsword/jsword-sword/java/main/org/crosswire/sword/mgr/SWConfig.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** SWConfig.java 24 Jan 2005 23:23:13 -0000 1.2
--- SWConfig.java 5 Apr 2005 00:33:05 -0000 1.3
***************
*** 150,153 ****
--- 150,154 ----
private class Properties extends java.util.Properties {
+ private static final long serialVersionUID = 3258126977117533238L;
private String name = null;
public String getSectionName() { return name; }
***************
*** 181,196 ****
((List)svalue).add( value );
return super.put( key, svalue );
- }else{
- // if it's not a list, assume it's
- // a String. Create a List collection
- // add the current value and the pased
- // in value to the list and then put
- // the List in the Map associated with
- // the key.
- List list = new LinkedList();
- list.add( svalue );
- list.add( value );
- return super.put( key, list );
}
}
// key doesn't already exist so just add
--- 182,196 ----
((List)svalue).add( value );
return super.put( key, svalue );
}
+ // if it's not a list, assume it's
+ // a String. Create a List collection
+ // add the current value and the pased
+ // in value to the list and then put
+ // the List in the Map associated with
+ // the key.
+ List list = new LinkedList();
+ list.add( svalue );
+ list.add( value );
+ return super.put( key, list );
}
// key doesn't already exist so just add
More information about the jsword-svn
mailing list