[jsword-svn] bibledesktop/java/main/org/crosswire/bibledesktop/desktop s

jswordcvs at crosswire.org jswordcvs at crosswire.org
Sun Mar 6 13:21:38 MST 2005


Update of /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/desktop
In directory www.crosswire.org:/tmp/cvs-serv26420/java/main/org/crosswire/bibledesktop/desktop

Modified Files:
	DesktopActions.java StatusBar.java Desktop.java Splash.java 
	AboutPane.java DebugPane.java XSLTProperty.java 
Log Message:
Changes to satisfy CheckStyle

Index: XSLTProperty.java
===================================================================
RCS file: /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/desktop/XSLTProperty.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** XSLTProperty.java	6 Mar 2005 04:55:44 -0000	1.1
--- XSLTProperty.java	6 Mar 2005 20:21:36 -0000	1.2
***************
*** 4,7 ****
--- 4,31 ----
  
  
+ /**
+  * Defines properties that control the behavior of translating OSIS to HTML.
+  * 
+  * <p><table border='1' cellPadding='3' cellSpacing='0'>
+  * <tr><td bgColor='white' class='TableRowColor'><font size='-7'>
+  *
+  * Distribution Licence:<br />
+  * JSword is free software; you can redistribute it
+  * and/or modify it under the terms of the GNU General Public License,
+  * version 2 as published by the Free Software Foundation.<br />
+  * This program is distributed in the hope that it will be useful,
+  * but WITHOUT ANY WARRANTY; without even the implied warranty of
+  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+  * General Public License for more details.<br />
+  * The License is available on the internet
+  * <a href='http://www.gnu.org/copyleft/gpl.html'>here</a>, or by writing to:
+  * Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+  * MA 02111-1307, USA<br />
+  * The copyright to this program is held by it's authors.
+  * </font></td></tr></table>
+  * @see gnu.gpl.Licence
+  * @author DM Smith [ dmsmith555 at hotmail dot com]
+  * @version $Id$
+  */
  public class XSLTProperty implements Serializable
  {
***************
*** 59,63 ****
          return defaultState; //$NON-NLS-1$
      }
!     
      public boolean getState()
      {
--- 83,87 ----
          return defaultState; //$NON-NLS-1$
      }
! 
      public boolean getState()
      {
***************
*** 69,73 ****
          state = newState;
      }
!     
      /**
       * Lookup method to convert from a String
--- 93,97 ----
          state = newState;
      }
! 
      /**
       * Lookup method to convert from a String
***************
*** 158,161 ****
       * Serialization ID
       */
!     private static final long serialVersionUID = 3257567325749326905L;    
  }
--- 182,185 ----
       * Serialization ID
       */
!     private static final long serialVersionUID = 3257567325749326905L;
  }

Index: AboutPane.java
===================================================================
RCS file: /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/desktop/AboutPane.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** AboutPane.java	28 Nov 2004 21:36:04 -0000	1.8
--- AboutPane.java	6 Mar 2005 20:21:36 -0000	1.9
***************
*** 199,204 ****
      private static final String ABOUT_OK = "AboutOK"; //$NON-NLS-1$
  
!     private static boolean advanced = false;
!     private JDialog dlgMain = null;
!     private JPanel pnlMain = null;
  }
--- 199,204 ----
      private static final String ABOUT_OK = "AboutOK"; //$NON-NLS-1$
  
!     private static boolean advanced;
!     private JDialog dlgMain;
!     private JPanel pnlMain;
  }

Index: DesktopActions.java
===================================================================
RCS file: /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/desktop/DesktopActions.java,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** DesktopActions.java	6 Mar 2005 04:55:44 -0000	1.19
--- DesktopActions.java	6 Mar 2005 20:21:36 -0000	1.20
***************
*** 228,232 ****
          da.getBookDataDisplay().refresh();
      }
!     
      public void doVLine(ActionEvent ev)
      {
--- 228,232 ----
          da.getBookDataDisplay().refresh();
      }
! 
      public void doVLine(ActionEvent ev)
      {
***************
*** 237,241 ****
          da.getBookDataDisplay().refresh();
      }
!     
      public void doVNum(ActionEvent ev)
      {
--- 237,241 ----
          da.getBookDataDisplay().refresh();
      }
! 
      public void doVNum(ActionEvent ev)
      {
***************
*** 246,250 ****
          da.getBookDataDisplay().refresh();
      }
!     
      public void doTinyVNum(ActionEvent ev)
      {
--- 246,250 ----
          da.getBookDataDisplay().refresh();
      }
! 
      public void doTinyVNum(ActionEvent ev)
      {
***************
*** 255,259 ****
          da.getBookDataDisplay().refresh();
      }
!     
      public void doNotes(ActionEvent ev)
      {
--- 255,259 ----
          da.getBookDataDisplay().refresh();
      }
! 
      public void doNotes(ActionEvent ev)
      {
***************
*** 264,268 ****
          da.getBookDataDisplay().refresh();
      }
!     
      public void doXRef(ActionEvent ev)
      {
--- 264,268 ----
          da.getBookDataDisplay().refresh();
      }
! 
      public void doXRef(ActionEvent ev)
      {

Index: Splash.java
===================================================================
RCS file: /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/desktop/Splash.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** Splash.java	28 Nov 2004 21:36:04 -0000	1.10
--- Splash.java	6 Mar 2005 20:21:36 -0000	1.11
***************
*** 58,62 ****
  public class Splash extends JWindow
  {
! 	/**
       * Create a splash window
       */
--- 58,62 ----
  public class Splash extends JWindow
  {
!     /**
       * Create a splash window
       */

Index: StatusBar.java
===================================================================
RCS file: /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/desktop/StatusBar.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** StatusBar.java	28 Nov 2004 21:36:04 -0000	1.5
--- StatusBar.java	6 Mar 2005 20:21:36 -0000	1.6
***************
*** 52,56 ****
  public class StatusBar extends JComponent implements MouseListener, URLEventListener
  {
! 	/**
       * Create a new StatusBar
       */
--- 52,56 ----
  public class StatusBar extends JComponent implements MouseListener, URLEventListener
  {
!     /**
       * Create a new StatusBar
       */

Index: DebugPane.java
===================================================================
RCS file: /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/desktop/DebugPane.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** DebugPane.java	28 Nov 2004 21:36:04 -0000	1.8
--- DebugPane.java	6 Mar 2005 20:21:36 -0000	1.9
***************
*** 55,59 ****
  public class DebugPane extends JPanel
  {
! 	/**
       * Simple ctor
       */
--- 55,59 ----
  public class DebugPane extends JPanel
  {
!     /**
       * Simple ctor
       */
***************
*** 264,268 ****
      private static final class CustomListCellRenderer extends DefaultListCellRenderer
      {
! 		/* (non-Javadoc)
           * @see javax.swing.ListCellRenderer#getListCellRendererComponent(javax.swing.JList, java.lang.Object, int, boolean, boolean)
           */
--- 264,268 ----
      private static final class CustomListCellRenderer extends DefaultListCellRenderer
      {
!         /* (non-Javadoc)
           * @see javax.swing.ListCellRenderer#getListCellRendererComponent(javax.swing.JList, java.lang.Object, int, boolean, boolean)
           */

Index: Desktop.java
===================================================================
RCS file: /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/desktop/Desktop.java,v
retrieving revision 1.35
retrieving revision 1.36
diff -C2 -d -r1.35 -r1.36
*** Desktop.java	6 Mar 2005 04:55:44 -0000	1.35
--- Desktop.java	6 Mar 2005 20:21:36 -0000	1.36
***************
*** 106,110 ****
  public class Desktop extends JFrame implements URLEventListener, ViewEventListener, ViewGenerator
  {
! 	/**
       * Central start point.
       * @param args The command line arguments
--- 106,110 ----
  public class Desktop extends JFrame implements URLEventListener, ViewEventListener, ViewGenerator
  {
!     /**
       * Central start point.
       * @param args The command line arguments
***************
*** 772,776 ****
      }
  
!     private int refBooks = 0;
  
      // Strings for the names of property files.
--- 772,776 ----
      }
  
!     private int refBooks;
  
      // Strings for the names of property files.



More information about the jsword-svn mailing list