[jsword-svn] r1266 - in trunk: bibledesktop/src/main/java/org/crosswire/bibledesktop/desktop bibledesktop/src/main/java/org/crosswire/bibledesktop/display/textpane common/src/main/java/org/crosswire/common/util common-swing/src/main/java/org/crosswire/common/swing

dmsmith at www.crosswire.org dmsmith at www.crosswire.org
Fri Mar 30 13:07:07 MST 2007


Author: dmsmith
Date: 2007-03-30 13:07:06 -0700 (Fri, 30 Mar 2007)
New Revision: 1266

Modified:
   trunk/bibledesktop/src/main/java/org/crosswire/bibledesktop/desktop/Desktop.java
   trunk/bibledesktop/src/main/java/org/crosswire/bibledesktop/display/textpane/TextPaneBookDataDisplay.java
   trunk/common-swing/src/main/java/org/crosswire/common/swing/FixedSplitPane.java
   trunk/common/src/main/java/org/crosswire/common/util/Logger.java
Log:
More 1.0.6 release changes.

Modified: trunk/bibledesktop/src/main/java/org/crosswire/bibledesktop/desktop/Desktop.java
===================================================================
--- trunk/bibledesktop/src/main/java/org/crosswire/bibledesktop/desktop/Desktop.java	2007-03-30 18:18:55 UTC (rev 1265)
+++ trunk/bibledesktop/src/main/java/org/crosswire/bibledesktop/desktop/Desktop.java	2007-03-30 20:07:06 UTC (rev 1266)
@@ -113,11 +113,11 @@
 {
     // This must be the first static in the program.
     // To ensure this we place it at the top of the class!
-    // Calling Project.instance() will set up the project's home directory
+    // Calling Project.instance() will set up the PROJECT's home directory
     //     ~/.jsword
     // This will set it as a place to look for overrides for
     // ResourceBundles, properties and other resources
-    private static final Project project = Project.instance();
+    private static final Project PROJECT = Project.instance();
 
     /**
      * Central start point.
@@ -182,7 +182,7 @@
         Reporter.grabAWTExecptions(true);
 
         // Splash screen
-        URL predicturl = project.getWritablePropertiesURL(SPLASH_PROPS);
+        URL predicturl = PROJECT.getWritablePropertiesURL(SPLASH_PROPS);
         Progress startJob = JobManager.createJob(Msg.STARTUP_TITLE.toString(), predicturl, true);
 
         //startJob.setProgress(Msg.STARTUP_CONFIG.toString());

Modified: trunk/bibledesktop/src/main/java/org/crosswire/bibledesktop/display/textpane/TextPaneBookDataDisplay.java
===================================================================
--- trunk/bibledesktop/src/main/java/org/crosswire/bibledesktop/display/textpane/TextPaneBookDataDisplay.java	2007-03-30 18:18:55 UTC (rev 1265)
+++ trunk/bibledesktop/src/main/java/org/crosswire/bibledesktop/display/textpane/TextPaneBookDataDisplay.java	2007-03-30 20:07:06 UTC (rev 1266)
@@ -151,7 +151,7 @@
                 String javaVersion = System.getProperty("java.specification.version"); //$NON-NLS-1$
                 if (javaVersion == null || "1.5".compareTo(javaVersion) > 0) //$NON-NLS-1$
                 {
-                    text = text.substring(0,32760) + "..."; //$NON-NLS-1$
+                    text = text.substring(0, 32760) + "..."; //$NON-NLS-1$
                 }
             }
             txtView.setText(text);

Modified: trunk/common/src/main/java/org/crosswire/common/util/Logger.java
===================================================================
--- trunk/common/src/main/java/org/crosswire/common/util/Logger.java	2007-03-30 18:18:55 UTC (rev 1265)
+++ trunk/common/src/main/java/org/crosswire/common/util/Logger.java	2007-03-30 20:07:06 UTC (rev 1266)
@@ -171,7 +171,7 @@
         String className = null;
         String methodName = null;
         int lineNumber = -1;
- 
+
         // Get the stack trace.
         StackTraceElement[] stack = (new Throwable()).getStackTrace();
 
@@ -223,9 +223,9 @@
         // If we don't have a logger, create one now.
         if (logger == null)
         {
-            logger = java.util.logging.Logger.getLogger(clazz.getName());            
+            logger = java.util.logging.Logger.getLogger(clazz.getName());
         }
-    
+
         // If there was a request to change the mimimum level of logging
         // handle it now.
         if (level != null)

Modified: trunk/common-swing/src/main/java/org/crosswire/common/swing/FixedSplitPane.java
===================================================================
--- trunk/common-swing/src/main/java/org/crosswire/common/swing/FixedSplitPane.java	2007-03-30 18:18:55 UTC (rev 1265)
+++ trunk/common-swing/src/main/java/org/crosswire/common/swing/FixedSplitPane.java	2007-03-30 20:07:06 UTC (rev 1266)
@@ -62,9 +62,10 @@
  *      The copyright to this program is held by it's authors.
  * @author DM Smith [dmsmith555 at yahoo dot com]
  */
-/* BUG_PARADE(DMS): many bugs here */
 public class FixedSplitPane extends JSplitPane
 {
+    /* BUG_PARADE(DMS): many bugs here */
+
     /**
      * Constructor for FixedSplitPane
      */




More information about the jsword-svn mailing list