jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Reilly" <tim.rei...@consultant.com>
Subject RepositoryImpl's UUID constants
Date Sat, 05 Feb 2005 05:30:32 GMT
I noticed this the other day (or more):

Modified:
incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/RepositoryImp
l.java
...
+    private static final String SYSTEM_ROOT_NODE_UUID =
"deadbeef-cafe-babe-cafe-babecafebabe";
+    private static final String VERSION_STORAGE_NODE_UUID =
"deadbeef-face-babe-cafe-babecafebabe";
+

I think real UUID's should be used. Preferably version 1 (time based.) On
one hand these would never conflict with a version 1 or version 4 uuid since
the version and variant fields appear to be invalid, but on the other hand
if a uuid implementation were going to try to validate those fields it would
cause an issue. How big of a deal would it be to change them at this point?
Maybe it's not a big a deal? Then again, if it's not too big a deal to
change...


Thanks,
-TR


Two candidate replacements if needed:
 9fbcb710-7734-11d9-914f-0010afec213c
 af5af9c0-7734-11d9-914f-0010afec213c




Mime
View raw message