[jsword-svn] r1909 - trunk/common-swing/src/main/java/org/crosswire/common/swing

dmsmith at www.crosswire.org dmsmith at www.crosswire.org
Fri Jul 25 12:00:36 MST 2008


Author: dmsmith
Date: 2008-07-25 12:00:36 -0700 (Fri, 25 Jul 2008)
New Revision: 1909

Modified:
   trunk/common-swing/src/main/java/org/crosswire/common/swing/AntiAliasedTextPane.java
   trunk/common-swing/src/main/java/org/crosswire/common/swing/ExceptionPane.java
   trunk/common-swing/src/main/java/org/crosswire/common/swing/FontStore.java
   trunk/common-swing/src/main/java/org/crosswire/common/swing/GuiUtil.java
Log:
QA changes: checkstyle, javadoc

Modified: trunk/common-swing/src/main/java/org/crosswire/common/swing/AntiAliasedTextPane.java
===================================================================
--- trunk/common-swing/src/main/java/org/crosswire/common/swing/AntiAliasedTextPane.java	2008-07-25 19:00:30 UTC (rev 1908)
+++ trunk/common-swing/src/main/java/org/crosswire/common/swing/AntiAliasedTextPane.java	2008-07-25 19:00:36 UTC (rev 1909)
@@ -46,7 +46,7 @@
         if (g instanceof Graphics2D)
         {
             Graphics2D g2 = (Graphics2D) g;
-    
+
             if (antiAliasing)
             {
                 g2.setRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING, RenderingHints.VALUE_TEXT_ANTIALIAS_ON);

Modified: trunk/common-swing/src/main/java/org/crosswire/common/swing/ExceptionPane.java
===================================================================
--- trunk/common-swing/src/main/java/org/crosswire/common/swing/ExceptionPane.java	2008-07-25 19:00:30 UTC (rev 1908)
+++ trunk/common-swing/src/main/java/org/crosswire/common/swing/ExceptionPane.java	2008-07-25 19:00:36 UTC (rev 1909)
@@ -262,7 +262,7 @@
 
     /**
      * Set whether the "details" check box should be shown.
-     * @param showDetails indicates the whether details should be available.
+     * @param detailShown indicates the whether details should be available.
      * @see #isDetailShown()
      */
     public static void setDetailShown(boolean detailShown)

Modified: trunk/common-swing/src/main/java/org/crosswire/common/swing/FontStore.java
===================================================================
--- trunk/common-swing/src/main/java/org/crosswire/common/swing/FontStore.java	2008-07-25 19:00:30 UTC (rev 1908)
+++ trunk/common-swing/src/main/java/org/crosswire/common/swing/FontStore.java	2008-07-25 19:00:36 UTC (rev 1909)
@@ -68,7 +68,6 @@
      * 
      * @param storeName The name of the store, used as a file name and as a label inside the
      *            fontStore.
-     * @param fontStore The name of the properties file.
      * @param fontDir The location where the fontStore can be stored.
      */
     public FontStore(String storeName, URI fontDir)
@@ -121,9 +120,9 @@
     }
 
     /**
-     * Store a font specification for the resource.
+     * Store a font specification for the language.
      * 
-     * @param resource the resource
+     * @param lang the language
      * @param font the font
      */
     public void setFont(Language lang, Font font)

Modified: trunk/common-swing/src/main/java/org/crosswire/common/swing/GuiUtil.java
===================================================================
--- trunk/common-swing/src/main/java/org/crosswire/common/swing/GuiUtil.java	2008-07-25 19:00:30 UTC (rev 1908)
+++ trunk/common-swing/src/main/java/org/crosswire/common/swing/GuiUtil.java	2008-07-25 19:00:36 UTC (rev 1909)
@@ -202,7 +202,7 @@
     {
         Component temp = com;
 
-        while ( !(temp instanceof Dialog))
+        while (!(temp instanceof Dialog))
         {
             temp = temp.getParent();
             if (temp == null)
@@ -304,7 +304,7 @@
     /**
      * Set the window size relative to the current screen size.
      * @param win The window to resize
-     * @percentOfScreen The amount of space that the window should take up
+     * @param percentOfScreen The amount of space that the window should take up
      */
     public static void setSize(Window win, float percentOfScreen)
     {




More information about the jsword-svn mailing list