You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by jv...@apache.org on 2001/06/25 09:30:49 UTC
cvs commit: jakarta-turbine/src/java/org/apache/turbine/services/db/util UUIdGenerator.java
jvanzyl 01/06/25 00:30:49
Modified: src/java/org/apache/turbine/services/db/util
UUIdGenerator.java
Log:
- more decoupling from turbine
Revision Changes Path
1.2 +4 -4 jakarta-turbine/src/java/org/apache/turbine/services/db/util/UUIdGenerator.java
Index: UUIdGenerator.java
===================================================================
RCS file: /home/cvs/jakarta-turbine/src/java/org/apache/turbine/services/db/util/UUIdGenerator.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- UUIdGenerator.java 2001/06/25 05:13:09 1.1
+++ UUIdGenerator.java 2001/06/25 07:30:47 1.2
@@ -62,9 +62,7 @@
import org.apache.java.lang.Bytes;
-//!! All 3 of these imports are not good
-import org.apache.turbine.services.resources.TurbineResources;
-import org.apache.turbine.util.Log;
+//!! Replace this with a FulcrumException
import org.apache.turbine.util.TurbineException;
/**
@@ -91,7 +89,7 @@
* TurbineResources.properties file.</p>
*
* @author <a href="mailto:jmcnally@collab.net">John D. McNally</a>
- * @version $Id: UUIdGenerator.java,v 1.1 2001/06/25 05:13:09 jvanzyl Exp $
+ * @version $Id: UUIdGenerator.java,v 1.2 2001/06/25 07:30:47 jvanzyl Exp $
*/
public class UUIdGenerator
{
@@ -112,12 +110,14 @@
//String addr = TurbineResources.getString("uuid.address");
if ( addr == null )
{
+ /*
Log.info("UUIdGenerator is using a random number as the " +
"base for id's. This is not the best method for many " +
"purposes, but may be adequate in some circumstances." +
" Consider using an IP or ethernet (MAC) address if " +
"available. Edit TurbineResources.properties file and " +
"add a uuid.address= property.");
+ */
for ( int i=0; i<6; i++ )
{
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org