You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by tr...@apache.org on 2004/05/31 09:15:49 UTC
cvs commit: jakarta-commons-sandbox/id/src/test/org/apache/commons/id CustomIdentifierGeneratorFactory.java
treilly 2004/05/31 00:15:49
Modified: id/src/test/org/apache/commons/id
CustomIdentifierGeneratorFactory.java
Log:
added comments, whitespace reformats
Revision Changes Path
1.3 +6 -7 jakarta-commons-sandbox/id/src/test/org/apache/commons/id/CustomIdentifierGeneratorFactory.java
Index: CustomIdentifierGeneratorFactory.java
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/id/src/test/org/apache/commons/id/CustomIdentifierGeneratorFactory.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- CustomIdentifierGeneratorFactory.java 21 Feb 2004 21:44:20 -0000 1.2
+++ CustomIdentifierGeneratorFactory.java 31 May 2004 07:15:49 -0000 1.3
@@ -1,12 +1,12 @@
/*
* Copyright 2002-2004 The Apache Software Foundation.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -21,19 +21,19 @@
/**
* <p>A custom IdentifierGeneratorFactory used by {@link IdentifierGeneratorFactoryTest}.</p>
*
- * <p>Extends {@link DefaultIdentifierGeneratorFactory}, overriding the default
+ * <p>Extends {@link DefaultIdentifierGeneratorFactory}, overriding the default
* LongIdentifierGenerator method to return a generator that starts at 100 instead of 1.</p>
*
* @author Commons-Uid team
* @version $id$
*/
public class CustomIdentifierGeneratorFactory extends DefaultIdentifierGeneratorFactory {
-
+
/** Creates a new instance of CustomIdentifierGeneratorFactory */
public CustomIdentifierGeneratorFactory() {
super();
}
-
+
/**
* <p>Gets a new {@link LongIdentifierGenerator} that generates
* a sequence of Long objects increasing in value.</p>
@@ -46,5 +46,4 @@
public LongIdentifierGenerator longGenerator() {
return new LongGenerator(true, 100L);
}
-
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org