[jsword-svn] common/java/config/org/crosswire/common/config/swing s

jswordcvs at crosswire.org jswordcvs at crosswire.org
Sun May 8 18:28:44 MST 2005


Update of /cvs/jsword/common/java/config/org/crosswire/common/config/swing
In directory www.crosswire.org:/tmp/cvs-serv5945/java/config/org/crosswire/common/config/swing

Modified Files:
	StringArrayField.java TreeConfigEditor.java 
	WizardConfigEditor.java ButtonPane.java ColorField.java 
	FieldMap.java PathField.java MapField.java 
Log Message:
Moved unused code to limbo.
Upgraded support-tools: checkstyle, pmd and findbugs to most recent.
Addressed over 100 issues reported by findbugs and checkstyle.
Resulted in major refactoring of GBFFilter.
Net result is that code size is significantly smaller.

Index: WizardConfigEditor.java
===================================================================
RCS file: /cvs/jsword/common/java/config/org/crosswire/common/config/swing/WizardConfigEditor.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** WizardConfigEditor.java	24 Jan 2005 23:22:06 -0000	1.7
--- WizardConfigEditor.java	9 May 2005 01:28:42 -0000	1.8
***************
*** 272,276 ****
      private static final String BACK = "WizardBack"; //$NON-NLS-1$
  
!     private ActionFactory actions;
  
      /**
--- 272,276 ----
      private static final String BACK = "WizardBack"; //$NON-NLS-1$
  
!     private transient ActionFactory actions;
  
      /**

Index: ButtonPane.java
===================================================================
RCS file: /cvs/jsword/common/java/config/org/crosswire/common/config/swing/ButtonPane.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** ButtonPane.java	24 Jan 2005 23:22:06 -0000	1.6
--- ButtonPane.java	9 May 2005 01:28:42 -0000	1.7
***************
*** 106,110 ****
       * The action factory for the buttons
       */
!     private static ActionFactory actions;
  
      /**
--- 106,110 ----
       * The action factory for the buttons
       */
!     private static transient ActionFactory actions;
  
      /**

Index: TreeConfigEditor.java
===================================================================
RCS file: /cvs/jsword/common/java/config/org/crosswire/common/config/swing/TreeConfigEditor.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** TreeConfigEditor.java	5 Apr 2005 00:33:23 -0000	1.7
--- TreeConfigEditor.java	9 May 2005 01:28:42 -0000	1.8
***************
*** 232,236 ****
       * The custom tree model for the tree
       */
!     protected ConfigureTreeModel ctm;
  
      /**
--- 232,236 ----
       * The custom tree model for the tree
       */
!     protected transient ConfigureTreeModel ctm;
  
      /**

Index: PathField.java
===================================================================
RCS file: /cvs/jsword/common/java/config/org/crosswire/common/config/swing/PathField.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** PathField.java	24 Jan 2005 23:22:06 -0000	1.6
--- PathField.java	9 May 2005 01:28:42 -0000	1.7
***************
*** 188,192 ****
      private static final String UPDATE = "UpdatePathEntry"; //$NON-NLS-1$
  
!     private ActionFactory actions;
  
      /**
--- 188,192 ----
      private static final String UPDATE = "UpdatePathEntry"; //$NON-NLS-1$
  
!     private transient ActionFactory actions;
  
      /**

Index: FieldMap.java
===================================================================
RCS file: /cvs/jsword/common/java/config/org/crosswire/common/config/swing/FieldMap.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** FieldMap.java	25 Jun 2004 15:02:17 -0000	1.2
--- FieldMap.java	9 May 2005 01:28:42 -0000	1.3
***************
*** 83,91 ****
              Reporter.informUser(type, ex);
  
!             if (field == null)
!             {
!                 log.warn("field type (" + type + ") unregistered."); //$NON-NLS-1$ //$NON-NLS-2$
!                 field = new TextField();
!             }
          }
  
--- 83,88 ----
              Reporter.informUser(type, ex);
  
!             log.warn("field type (" + type + ") unregistered."); //$NON-NLS-1$ //$NON-NLS-2$
!             field = new TextField();
          }
  

Index: ColorField.java
===================================================================
RCS file: /cvs/jsword/common/java/config/org/crosswire/common/config/swing/ColorField.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** ColorField.java	24 Jan 2005 23:22:06 -0000	1.5
--- ColorField.java	9 May 2005 01:28:42 -0000	1.6
***************
*** 103,107 ****
       * The action factory for the buttons
       */
!     private ActionFactory actions;
  
      /**
--- 103,107 ----
       * The action factory for the buttons
       */
!     private transient ActionFactory actions;
  
      /**

Index: MapField.java
===================================================================
RCS file: /cvs/jsword/common/java/config/org/crosswire/common/config/swing/MapField.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** MapField.java	6 Mar 2005 20:21:59 -0000	1.7
--- MapField.java	9 May 2005 01:28:42 -0000	1.8
***************
*** 304,308 ****
      private static final String UPDATE = "UpdateMapEntry"; //$NON-NLS-1$
  
!     private ActionFactory actions;
  
      /**
--- 304,308 ----
      private static final String UPDATE = "UpdateMapEntry"; //$NON-NLS-1$
  
!     private transient ActionFactory actions;
  
      /**

Index: StringArrayField.java
===================================================================
RCS file: /cvs/jsword/common/java/config/org/crosswire/common/config/swing/StringArrayField.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** StringArrayField.java	6 Mar 2005 20:21:59 -0000	1.6
--- StringArrayField.java	9 May 2005 01:28:42 -0000	1.7
***************
*** 227,231 ****
      private static final String SEPARATOR = "#"; //$NON-NLS-1$
  
!     private ActionFactory actions;
  
      /**
--- 227,231 ----
      private static final String SEPARATOR = "#"; //$NON-NLS-1$
  
!     private transient ActionFactory actions;
  
      /**



More information about the jsword-svn mailing list