[jsword-svn] jsword/java/jsword/org/crosswire/jsword/book/sword s
jswordcvs at crosswire.org
jswordcvs at crosswire.org
Sat Mar 19 19:34:47 MST 2005
Update of /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/sword
In directory www.crosswire.org:/tmp/cvs-serv8075/java/jsword/org/crosswire/jsword/book/sword
Modified Files:
SwordBookMetaData.java SwordBookDriver.java
Log Message:
Cleaning up checkstyle warnings.
Index: SwordBookDriver.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/sword/SwordBookDriver.java,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -d -r1.37 -r1.38
*** SwordBookDriver.java 19 Mar 2005 01:56:47 -0000 1.37
--- SwordBookDriver.java 20 Mar 2005 02:34:44 -0000 1.38
***************
*** 136,140 ****
File downloadDir = SwordBookDriver.getDownloadDir();
File confFile = new File(downloadDir, sbmd.getConfPath());
!
// We can only uninstall what we download into our download dir.
return confFile.exists();
--- 136,140 ----
File downloadDir = SwordBookDriver.getDownloadDir();
File confFile = new File(downloadDir, sbmd.getConfPath());
!
// We can only uninstall what we download into our download dir.
return confFile.exists();
***************
*** 149,153 ****
File downloadDir = SwordBookDriver.getDownloadDir();
File confFile = new File(downloadDir, sbmd.getConfPath());
!
// We can only uninstall what we download into our download dir.
if (!confFile.exists())
--- 149,153 ----
File downloadDir = SwordBookDriver.getDownloadDir();
File confFile = new File(downloadDir, sbmd.getConfPath());
!
// We can only uninstall what we download into our download dir.
if (!confFile.exists())
***************
*** 157,161 ****
File moduleDir = new File(downloadDir, sbmd.getModulePath());
!
// Delete the conf
List failures = FileUtil.delete(confFile);
--- 157,161 ----
File moduleDir = new File(downloadDir, sbmd.getModulePath());
!
// Delete the conf
List failures = FileUtil.delete(confFile);
Index: SwordBookMetaData.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/sword/SwordBookMetaData.java,v
retrieving revision 1.38
retrieving revision 1.39
diff -C2 -d -r1.38 -r1.39
*** SwordBookMetaData.java 19 Mar 2005 01:56:47 -0000 1.38
--- SwordBookMetaData.java 20 Mar 2005 02:34:44 -0000 1.39
***************
*** 148,153 ****
// files name, not a directory name.
// Lots of paths end with '/'
! if (getType() == BookType.DICTIONARY ||
! dataPath.charAt(dataPath.length() - 1) == '/')
{
dataPath = dataPath.substring(0, dataPath.lastIndexOf('/'));
--- 148,153 ----
// files name, not a directory name.
// Lots of paths end with '/'
! if (getType() == BookType.DICTIONARY
! || dataPath.charAt(dataPath.length() - 1) == '/')
{
dataPath = dataPath.substring(0, dataPath.lastIndexOf('/'));
More information about the jsword-svn
mailing list