db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject cvs commit: db-ojb/src/java/org/apache/ojb/broker/util GUIDFactory.java GUID.java
Date Sat, 31 Dec 2005 18:42:47 GMT
arminw      2005/12/31 10:42:47

  Modified:    src/java/org/apache/ojb/broker/util Tag: OJB_1_0_RELEASE
                        GUID.java
  Added:       src/java/org/apache/ojb/broker/util Tag: OJB_1_0_RELEASE
                        GUIDFactory.java
  Log:
  performance improvement, deprecate the old GUID class and add a new one (which is at least
four times faster)
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.7.2.2   +5 -2      db-ojb/src/java/org/apache/ojb/broker/util/GUID.java
  
  Index: GUID.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/util/GUID.java,v
  retrieving revision 1.7.2.1
  retrieving revision 1.7.2.2
  diff -u -r1.7.2.1 -r1.7.2.2
  --- GUID.java	21 Dec 2005 22:27:47 -0000	1.7.2.1
  +++ GUID.java	31 Dec 2005 18:42:46 -0000	1.7.2.2
  @@ -26,12 +26,15 @@
    * 1. The IP-Address of the local machine.
    * 2. A java.rmi.server.UID
    *
  + * @deprecated will be replaced by {@link GUIDFactory}.
    * @author Thomas Mahler
    * @version $Id$
    */
   public class GUID implements Serializable
   {
  -	static final long serialVersionUID = -6163239155380515945L;    /**
  +	static final long serialVersionUID = -6163239155380515945L;
  +
  +    /**
        * holds the hostname of the local machine.
        */
       private static String localIPAddress;
  
  
  
  No                   revision
  
  Index: GUID.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/util/GUID.java,v
  retrieving revision 1.7.2.1
  retrieving revision 1.7.2.2
  diff -u -r1.7.2.1 -r1.7.2.2
  --- GUID.java	21 Dec 2005 22:27:47 -0000	1.7.2.1
  +++ GUID.java	31 Dec 2005 18:42:46 -0000	1.7.2.2
  @@ -26,12 +26,15 @@
    * 1. The IP-Address of the local machine.
    * 2. A java.rmi.server.UID
    *
  + * @deprecated will be replaced by {@link GUIDFactory}.
    * @author Thomas Mahler
    * @version $Id$
    */
   public class GUID implements Serializable
   {
  -	static final long serialVersionUID = -6163239155380515945L;    /**
  +	static final long serialVersionUID = -6163239155380515945L;
  +
  +    /**
        * holds the hostname of the local machine.
        */
       private static String localIPAddress;
  
  
  
  No                   revision
  
  Index: GUID.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/util/GUID.java,v
  retrieving revision 1.7.2.1
  retrieving revision 1.7.2.2
  diff -u -r1.7.2.1 -r1.7.2.2
  --- GUID.java	21 Dec 2005 22:27:47 -0000	1.7.2.1
  +++ GUID.java	31 Dec 2005 18:42:46 -0000	1.7.2.2
  @@ -26,12 +26,15 @@
    * 1. The IP-Address of the local machine.
    * 2. A java.rmi.server.UID
    *
  + * @deprecated will be replaced by {@link GUIDFactory}.
    * @author Thomas Mahler
    * @version $Id$
    */
   public class GUID implements Serializable
   {
  -	static final long serialVersionUID = -6163239155380515945L;    /**
  +	static final long serialVersionUID = -6163239155380515945L;
  +
  +    /**
        * holds the hostname of the local machine.
        */
       private static String localIPAddress;
  
  
  
  1.1.2.1   +118 -0    db-ojb/src/java/org/apache/ojb/broker/util/Attic/GUIDFactory.java
  
  
  
  

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


Mime
View raw message