commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject svn commit: r1432465 - in /commons/proper/logging/trunk/src/java/org/apache/commons/logging: ./ impl/
Date Sat, 12 Jan 2013 16:24:19 GMT
Author: tn
Date: Sat Jan 12 16:24:19 2013
New Revision: 1432465

URL: http://svn.apache.org/viewvc?rev=1432465&view=rev
Log:
Add serialVersionUID where needed, some javadoc fixes.

Modified:
    commons/proper/logging/trunk/src/java/org/apache/commons/logging/LogConfigurationException.java
    commons/proper/logging/trunk/src/java/org/apache/commons/logging/LogSource.java
    commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/Jdk13LumberjackLogger.java
    commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/Jdk14Logger.java
    commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/Log4JLogger.java
    commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/LogKitLogger.java
    commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/NoOpLog.java
    commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/SimpleLog.java
    commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/WeakHashtable.java

Modified: commons/proper/logging/trunk/src/java/org/apache/commons/logging/LogConfigurationException.java
URL: http://svn.apache.org/viewvc/commons/proper/logging/trunk/src/java/org/apache/commons/logging/LogConfigurationException.java?rev=1432465&r1=1432464&r2=1432465&view=diff
==============================================================================
--- commons/proper/logging/trunk/src/java/org/apache/commons/logging/LogConfigurationException.java
(original)
+++ commons/proper/logging/trunk/src/java/org/apache/commons/logging/LogConfigurationException.java
Sat Jan 12 16:24:19 2013
@@ -27,6 +27,9 @@ package org.apache.commons.logging;
  */
 public class LogConfigurationException extends RuntimeException {
 
+    /** Serializable version identifier. */
+    private static final long serialVersionUID = 8486587136871052495L;
+
     /**
      * Construct a new exception with <code>null</code> as its detail message.
      */

Modified: commons/proper/logging/trunk/src/java/org/apache/commons/logging/LogSource.java
URL: http://svn.apache.org/viewvc/commons/proper/logging/trunk/src/java/org/apache/commons/logging/LogSource.java?rev=1432465&r1=1432464&r2=1432465&view=diff
==============================================================================
--- commons/proper/logging/trunk/src/java/org/apache/commons/logging/LogSource.java (original)
+++ commons/proper/logging/trunk/src/java/org/apache/commons/logging/LogSource.java Sat Jan
12 16:24:19 2013
@@ -23,12 +23,12 @@ import java.util.Hashtable;
 import org.apache.commons.logging.impl.NoOpLog;
 
 /**
- * <p>Factory for creating {@link Log} instances.  Applications should call
+ * Factory for creating {@link Log} instances.  Applications should call
  * the <code>makeNewLogInstance()</code> method to instantiate new instances
- * of the configured {@link Log} implementation class.</p>
- *
- * <p>By default, calling <code>getInstance()</code> will use the following
- * algorithm:</p>
+ * of the configured {@link Log} implementation class.
+ * <p>
+ * By default, calling <code>getInstance()</code> will use the following
+ * algorithm:
  * <ul>
  * <li>If Log4J is available, return an instance of
  *     <code>org.apache.commons.logging.impl.Log4JLogger</code>.</li>
@@ -37,8 +37,8 @@ import org.apache.commons.logging.impl.N
  * <li>Otherwise, return an instance of
  *     <code>org.apache.commons.logging.impl.NoOpLog</code>.</li>
  * </ul>
- *
- * <p>You can change the default behavior in one of two ways:</p>
+ * <p>
+ * You can change the default behavior in one of two ways:
  * <ul>
  * <li>On the startup command line, set the system property
  *     <code>org.apache.commons.logging.log</code> to the name of the

Modified: commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/Jdk13LumberjackLogger.java
URL: http://svn.apache.org/viewvc/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/Jdk13LumberjackLogger.java?rev=1432465&r1=1432464&r2=1432465&view=diff
==============================================================================
--- commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/Jdk13LumberjackLogger.java
(original)
+++ commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/Jdk13LumberjackLogger.java
Sat Jan 12 16:24:19 2013
@@ -41,6 +41,9 @@ import org.apache.commons.logging.Log;
  */
 public class Jdk13LumberjackLogger implements Log, Serializable {
 
+    /** Serializable version identifier. */
+    private static final long serialVersionUID = -8649807923527610591L;
+
     // ----------------------------------------------------- Instance Variables
 
     /**

Modified: commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/Jdk14Logger.java
URL: http://svn.apache.org/viewvc/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/Jdk14Logger.java?rev=1432465&r1=1432464&r2=1432465&view=diff
==============================================================================
--- commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/Jdk14Logger.java
(original)
+++ commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/Jdk14Logger.java
Sat Jan 12 16:24:19 2013
@@ -35,6 +35,9 @@ import org.apache.commons.logging.Log;
  */
 public class Jdk14Logger implements Log, Serializable {
 
+    /** Serializable version identifier. */
+    private static final long serialVersionUID = 4784713551416303804L;
+
     /**
      * This member variable simply ensures that any attempt to initialise
      * this class in a pre-1.4 JVM will result in an ExceptionInInitializerError.

Modified: commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/Log4JLogger.java
URL: http://svn.apache.org/viewvc/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/Log4JLogger.java?rev=1432465&r1=1432464&r2=1432465&view=diff
==============================================================================
--- commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/Log4JLogger.java
(original)
+++ commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/Log4JLogger.java
Sat Jan 12 16:24:19 2013
@@ -47,6 +47,9 @@ import org.apache.log4j.Level;
  */
 public class Log4JLogger implements Log, Serializable {
 
+    /** Serializable version identifier. */
+    private static final long serialVersionUID = 5160705895411730424L;
+
     // ------------------------------------------------------------- Attributes
 
     /** The fully qualified name of the Log4JLogger class. */

Modified: commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/LogKitLogger.java
URL: http://svn.apache.org/viewvc/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/LogKitLogger.java?rev=1432465&r1=1432464&r2=1432465&view=diff
==============================================================================
--- commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/LogKitLogger.java
(original)
+++ commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/LogKitLogger.java
Sat Jan 12 16:24:19 2013
@@ -37,6 +37,9 @@ import org.apache.commons.logging.Log;
  */
 public class LogKitLogger implements Log, Serializable {
 
+    /** Serializable version identifier. */
+    private static final long serialVersionUID = 3768538055836059519L;
+
     // ------------------------------------------------------------- Attributes
 
     /** Logging goes to this <code>LogKit</code> logger */

Modified: commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/NoOpLog.java
URL: http://svn.apache.org/viewvc/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/NoOpLog.java?rev=1432465&r1=1432464&r2=1432465&view=diff
==============================================================================
--- commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/NoOpLog.java (original)
+++ commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/NoOpLog.java Sat
Jan 12 16:24:19 2013
@@ -30,6 +30,9 @@ import org.apache.commons.logging.Log;
  */
 public class NoOpLog implements Log, Serializable {
 
+    /** Serializable version identifier. */
+    private static final long serialVersionUID = 561423906191706148L;
+
     /** Convenience constructor */
     public NoOpLog() { }
     /** Base constructor */

Modified: commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/SimpleLog.java
URL: http://svn.apache.org/viewvc/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/SimpleLog.java?rev=1432465&r1=1432464&r2=1432465&view=diff
==============================================================================
--- commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/SimpleLog.java (original)
+++ commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/SimpleLog.java Sat
Jan 12 16:24:19 2013
@@ -74,6 +74,9 @@ import org.apache.commons.logging.LogCon
  */
 public class SimpleLog implements Log, Serializable {
 
+    /** Serializable version identifier. */
+    private static final long serialVersionUID = 136942970684951178L;
+
     // ------------------------------------------------------- Class Attributes
 
     /** All system properties used by <code>SimpleLog</code> start with this
*/

Modified: commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/WeakHashtable.java
URL: http://svn.apache.org/viewvc/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/WeakHashtable.java?rev=1432465&r1=1432464&r2=1432465&view=diff
==============================================================================
--- commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/WeakHashtable.java
(original)
+++ commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/WeakHashtable.java
Sat Jan 12 16:24:19 2013
@@ -117,6 +117,9 @@ import java.util.Set;
  */
 public final class WeakHashtable extends Hashtable {
 
+    /** Serializable version identifier. */
+    private static final long serialVersionUID = -1546036869799732453L;
+
     /** 
      * The maximum number of times put() or remove() can be called before
      * the map will be purged of all cleared entries.



Mime
View raw message