You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-dev@jakarta.apache.org by vm...@apache.org on 2003/10/29 19:05:15 UTC
cvs commit: jakarta-cactus/integration/maven/sample/src/java/org/apache/maven/cactus/sample SampleServlet.java
vmassol 2003/10/29 10:05:15
Modified: integration/maven/sample/src/java/org/apache/maven/cactus/sample/util
FilterServletOutputStream.java
integration/maven/sample/src/java/org/apache/maven/cactus/sample
SampleServlet.java
Log:
Fixed bugs introduced by previous commit
Revision Changes Path
1.3 +2 -2 jakarta-cactus/integration/maven/sample/src/java/org/apache/maven/cactus/sample/util/FilterServletOutputStream.java
Index: FilterServletOutputStream.java
===================================================================
RCS file: /home/cvs/jakarta-cactus/integration/maven/sample/src/java/org/apache/maven/cactus/sample/util/FilterServletOutputStream.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- FilterServletOutputStream.java 29 Oct 2003 17:46:25 -0000 1.2
+++ FilterServletOutputStream.java 29 Oct 2003 18:05:15 -0000 1.3
@@ -119,6 +119,6 @@
public void write(byte[] theByte, int theOffset, int theLength)
throws IOException
{
- stream.write(b, off, len);
+ stream.write(theByte, theOffset, theLength);
}
}
1.3 +2 -2 jakarta-cactus/integration/maven/sample/src/java/org/apache/maven/cactus/sample/SampleServlet.java
Index: SampleServlet.java
===================================================================
RCS file: /home/cvs/jakarta-cactus/integration/maven/sample/src/java/org/apache/maven/cactus/sample/SampleServlet.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- SampleServlet.java 29 Oct 2003 17:46:25 -0000 1.2
+++ SampleServlet.java 29 Oct 2003 18:05:15 -0000 1.3
@@ -92,6 +92,6 @@
String authenticationAttribute =
(String) session.getAttribute("authenticated");
- return Boolean.valueOf(authenticationAttribute);
+ return Boolean.valueOf(authenticationAttribute).booleanValue();
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org