jericho 2002/10/26 08:50:38
Modified: httpclient/src/java/org/apache/commons/httpclient URI.java
Log:
- minor javadoc change
Revision Changes Path
1.9 +12 -12
jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/URI.java
Index: URI.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/URI.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- URI.java 26 Oct 2002 15:34:32 -0000 1.8
+++ URI.java 26 Oct 2002 15:50:37 -0000 1.9
@@ -614,7 +614,7 @@
protected static final BitSet digit = new BitSet(256);
// Static initializer for digit
static {
- for(int i='0';i<='9';i++) {
+ for(int i = '0'; i <= '9'; i++) {
digit.set(i);
}
}
@@ -629,10 +629,10 @@
protected static final BitSet alpha = new BitSet(256);
// Static initializer for alpha
static {
- for (int i = 'a'; i <= 'z';i++) {
+ for (int i = 'a'; i <= 'z'; i++) {
alpha.set(i);
}
- for (int i = 'A'; i <= 'Z';i++) {
+ for (int i = 'A'; i <= 'Z'; i++) {
alpha.set(i);
}
}
@@ -663,10 +663,10 @@
// Static initializer for hex
static {
hex.or(digit);
- for(int i='a';i<='f';i++) {
+ for(int i = 'a'; i <= 'f'; i++) {
hex.set(i);
}
- for(int i='A';i<='F';i++) {
+ for(int i = 'A'; i <= 'F'; i++) {
hex.set(i);
}
}
@@ -783,7 +783,7 @@
* BitSet for pchar.
* <p><blockquote><pre>
* pchar = unreserved | escaped |
- * ":" | "@" | "&" | "=" | "+" | "$" | ","
+ * ":" | "@" | "&" | "=" | "+" | "$" | ","
* </pre></blockquote><p>
*/
protected static final BitSet pchar = new BitSet(256);
@@ -1118,7 +1118,7 @@
* BitSet for rel_segment.
* <p><blockquote><pre>
* rel_segment = 1*( unreserved | escaped |
- * ";" | "@" | "&" | "=" | "+" | "$" | "," )
+ * ";" | "@" | "&" | "=" | "+" | "$" | "," )
* </pre></blockquote><p>
*/
protected static final BitSet rel_segment = new BitSet(256);
@@ -1355,7 +1355,7 @@
/**
- * Those characters that are for within the IPv6reference component.
+ * Those characters that are allowed for the IPv6reference component.
* The characters '[', ']' in IPv6reference should be excluded.
*/
public static final BitSet allowed_IPv6reference = new BitSet(256);
--
To unsubscribe, e-mail: <mailto:commons-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@;jakarta.apache.org>