You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by js...@apache.org on 2003/01/27 16:57:56 UTC
cvs commit: jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/cookie RFC2109Spec.java
jsdever 2003/01/27 07:57:55
Modified: httpclient/src/java/org/apache/commons/httpclient
ChunkedInputStream.java ChunkedOutputStream.java
httpclient/src/java/org/apache/commons/httpclient/cookie
RFC2109Spec.java
Log:
Minor checkstyle fixups.
Revision Changes Path
1.11 +6 -6 jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/ChunkedInputStream.java
Index: ChunkedInputStream.java
===================================================================
RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/ChunkedInputStream.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- ChunkedInputStream.java 27 Jan 2003 15:25:45 -0000 1.10
+++ ChunkedInputStream.java 27 Jan 2003 15:57:54 -0000 1.11
@@ -7,12 +7,12 @@
*
* The Apache Software License, Version 1.1
*
+ * Copyright (c) 2002-2003 The Apache Software Foundation. All rights
+ * reserved.
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
- *
- * Copyright (c) 2002-2003 The Apache Software Foundation. All rights
- * reserved.
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
1.6 +5 -5 jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/ChunkedOutputStream.java
Index: ChunkedOutputStream.java
===================================================================
RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/ChunkedOutputStream.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ChunkedOutputStream.java 27 Jan 2003 15:25:45 -0000 1.5
+++ ChunkedOutputStream.java 27 Jan 2003 15:57:54 -0000 1.6
@@ -7,7 +7,7 @@
*
* The Apache Software License, Version 1.1
*
- * Copyright (c) 1999-2003 The Apache Software Foundation. All rights
+ * Copyright (c) 2002-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
1.7 +4 -4 jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/cookie/RFC2109Spec.java
Index: RFC2109Spec.java
===================================================================
RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/cookie/RFC2109Spec.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- RFC2109Spec.java 27 Jan 2003 15:25:47 -0000 1.6
+++ RFC2109Spec.java 27 Jan 2003 15:57:55 -0000 1.7
@@ -164,7 +164,7 @@
}
// domain must have at least one embedded dot
int dotIndex = cookie.getDomain().indexOf('.', 1);
- if(dotIndex < 0 || dotIndex == cookie.getDomain().length() - 1) {
+ if (dotIndex < 0 || dotIndex == cookie.getDomain().length() - 1) {
throw new MalformedCookieException("Domain attribute \""
+ cookie.getDomain()
+ "\" violates RFC 2109: domain must contain an "
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>