commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scolebou...@apache.org
Subject cvs commit: jakarta-commons/lang/src/java/org/apache/commons/lang ObjectUtils.java
Date Sat, 22 Feb 2003 20:19:16 GMT
scolebourne    2003/02/22 12:19:16

  Modified:    lang/src/java/org/apache/commons/lang ObjectUtils.java
  Log:
  Use more appropriate scoping for inner class
  from Gary Gregory
  
  Revision  Changes    Path
  1.8       +6 -3      jakarta-commons/lang/src/java/org/apache/commons/lang/ObjectUtils.java
  
  Index: ObjectUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/ObjectUtils.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- ObjectUtils.java	2 Feb 2003 04:12:32 -0000	1.7
  +++ ObjectUtils.java	22 Feb 2003 20:19:16 -0000	1.8
  @@ -1,7 +1,7 @@
   /* ====================================================================
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 2002 The Apache Software Foundation.  All rights
  + * Copyright (c) 2002-2003 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -162,10 +162,13 @@
        * cannot be stored.</p>
        */
       public static class Null implements Serializable {
  +        // declare serialization compatability with Commons Lang 1.0
  +        private static final long serialVersionUID = 7092611880189329093L;
  +        
           /**
            * Restricted constructor - singleton
            */
  -        private Null() {
  +        Null() {
           }
           
           /**
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message