[jsword-svn] common/java/core/org/crosswire/common/util s

jswordcvs at crosswire.org jswordcvs at crosswire.org
Sun Mar 6 13:22:01 MST 2005


Update of /cvs/jsword/common/java/core/org/crosswire/common/util
In directory www.crosswire.org:/tmp/cvs-serv26740/java/core/org/crosswire/common/util

Modified Files:
	NetUtil.java CWClassLoader.java CallContext.java 
	ReporterEvent.java SortedListSet.java Histogram.java 
Log Message:
Changes to satisfy CheckStyle

Index: CWClassLoader.java
===================================================================
RCS file: /cvs/jsword/common/java/core/org/crosswire/common/util/CWClassLoader.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** CWClassLoader.java	28 Nov 2004 21:36:31 -0000	1.6
--- CWClassLoader.java	6 Mar 2005 20:21:59 -0000	1.7
***************
*** 286,294 ****
       * The class to which the resources belong
       */
!     private Class owner = null;
  
      /**
       * Notion of a project's home from where additional resources can be found.
       */
!     private static URL home = null;
  }
--- 286,294 ----
       * The class to which the resources belong
       */
!     private Class owner;
  
      /**
       * Notion of a project's home from where additional resources can be found.
       */
!     private static URL home;
  }

Index: ReporterEvent.java
===================================================================
RCS file: /cvs/jsword/common/java/core/org/crosswire/common/util/ReporterEvent.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** ReporterEvent.java	28 Nov 2004 21:36:31 -0000	1.2
--- ReporterEvent.java	6 Mar 2005 20:21:59 -0000	1.3
***************
*** 29,33 ****
  public class ReporterEvent extends EventObject
  {
! 	/**
       * Constructs an CaptureEvent object.
       * @param source The event originator (typically <code>this</code>)
--- 29,33 ----
  public class ReporterEvent extends EventObject
  {
!     /**
       * Constructs an CaptureEvent object.
       * @param source The event originator (typically <code>this</code>)

Index: NetUtil.java
===================================================================
RCS file: /cvs/jsword/common/java/core/org/crosswire/common/util/NetUtil.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** NetUtil.java	15 Jan 2005 12:05:33 -0000	1.16
--- NetUtil.java	6 Mar 2005 20:21:59 -0000	1.17
***************
*** 686,690 ****
       * Where are temporary files cached.
       */
!     private static File cachedir = null;
  
      /**
--- 686,690 ----
       * Where are temporary files cached.
       */
!     private static File cachedir;
  
      /**

Index: SortedListSet.java
===================================================================
RCS file: /cvs/jsword/common/java/core/org/crosswire/common/util/SortedListSet.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** SortedListSet.java	25 Jan 2005 00:02:22 -0000	1.1
--- SortedListSet.java	6 Mar 2005 20:21:59 -0000	1.2
***************
*** 61,65 ****
          addAll(c);
      }
!     
      /* (non-Javadoc)
       * @see java.util.List#add(int, java.lang.Object)
--- 61,65 ----
          addAll(c);
      }
! 
      /* (non-Javadoc)
       * @see java.util.List#add(int, java.lang.Object)
***************
*** 81,85 ****
          if (pos < 0)
          {
!             super.add(-pos-1, o);
              return true;
          }
--- 81,85 ----
          if (pos < 0)
          {
!             super.add(-pos - 1, o);
              return true;
          }

Index: Histogram.java
===================================================================
RCS file: /cvs/jsword/common/java/core/org/crosswire/common/util/Histogram.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Histogram.java	28 Feb 2005 02:21:31 -0000	1.2
--- Histogram.java	6 Mar 2005 20:21:59 -0000	1.3
***************
*** 40,44 ****
      }
  
-     
      /**
       * note that this key has been seen one time more than before.
--- 40,43 ----
***************
*** 60,63 ****
--- 59,63 ----
          hist.clear();
      }
+ 
      /**
       * The format of the histogram is an unordered list
***************
*** 104,106 ****
      private Map hist;
  
! }
\ No newline at end of file
--- 104,106 ----
      private Map hist;
  
! }

Index: CallContext.java
===================================================================
RCS file: /cvs/jsword/common/java/core/org/crosswire/common/util/CallContext.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** CallContext.java	15 Jan 2005 12:05:33 -0000	1.3
--- CallContext.java	6 Mar 2005 20:21:59 -0000	1.4
***************
*** 95,98 ****
      private static final int CALL_CONTEXT_OFFSET = 3;
  
!     private static CallContext resolver = null;
  }
--- 95,98 ----
      private static final int CALL_CONTEXT_OFFSET = 3;
  
!     private static CallContext resolver;
  }



More information about the jsword-svn mailing list