stephan 2003/07/18 13:58:06
Modified: src/test/org/apache/cocoon/environment/mock MockRequest.java
Log:
Change order of methods.
Revision Changes Path
1.7 +11 -11
cocoon-2.1/src/test/org/apache/cocoon/environment/mock/MockRequest.java
Index: MockRequest.java
===================================================================
RCS file:
/home/cvs/cocoon-2.1/src/test/org/apache/cocoon/environment/mock/MockRequest.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- MockRequest.java 6 Jul 2003 20:37:48 -0000 1.6
+++ MockRequest.java 18 Jul 2003 20:58:06 -0000 1.7
@@ -110,6 +110,17 @@
return attributes.keys();
}
+ public void setAttribute(String name, Object o) {
+ if (o == null)
+ attributes.remove(name);
+ else
+ attributes.put(name, o);
+ }
+
+ public void removeAttribute(String name) {
+ attributes.remove(name);
+ }
+
public String getAuthType() {
return authType;
}
@@ -177,17 +188,6 @@
public String getRemoteHost() {
return remoteHost;
- }
-
- public void setAttribute(String name, Object o) {
- if (o == null)
- attributes.remove(name);
- else
- attributes.put(name, o);
- }
-
- public void removeAttribute(String name) {
- attributes.remove(name);
}
public Locale getLocale() {