cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From reinh...@apache.org
Subject svn commit: r754664 - in /cocoon/trunk/subprojects/cocoon-servlet-service/cocoon-servlet-service-impl/src/main/java/org/apache/cocoon/servletservice: AbstractServletConnection.java ServletConnection.java
Date Sun, 15 Mar 2009 13:27:23 GMT
Author: reinhard
Date: Sun Mar 15 13:27:22 2009
New Revision: 754664

URL: http://svn.apache.org/viewvc?rev=754664&view=rev
Log:
don't rename getHeaderField()

Modified:
    cocoon/trunk/subprojects/cocoon-servlet-service/cocoon-servlet-service-impl/src/main/java/org/apache/cocoon/servletservice/AbstractServletConnection.java
    cocoon/trunk/subprojects/cocoon-servlet-service/cocoon-servlet-service-impl/src/main/java/org/apache/cocoon/servletservice/ServletConnection.java

Modified: cocoon/trunk/subprojects/cocoon-servlet-service/cocoon-servlet-service-impl/src/main/java/org/apache/cocoon/servletservice/AbstractServletConnection.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/subprojects/cocoon-servlet-service/cocoon-servlet-service-impl/src/main/java/org/apache/cocoon/servletservice/AbstractServletConnection.java?rev=754664&r1=754663&r2=754664&view=diff
==============================================================================
--- cocoon/trunk/subprojects/cocoon-servlet-service/cocoon-servlet-service-impl/src/main/java/org/apache/cocoon/servletservice/AbstractServletConnection.java
(original)
+++ cocoon/trunk/subprojects/cocoon-servlet-service/cocoon-servlet-service-impl/src/main/java/org/apache/cocoon/servletservice/AbstractServletConnection.java
Sun Mar 15 13:27:22 2009
@@ -118,7 +118,7 @@
     }
 
     public String getContentType() {
-        return this.getHeader("Content-Type");
+        return this.getHeaderField("Content-Type");
     }
 
     public long getDateHeader(String name, long defaultValue) {
@@ -131,7 +131,7 @@
         return defaultValue;
     }
 
-    public String getHeader(String name) {
+    public String getHeaderField(String name) {
         try {
             this.connect();
         } catch (Exception e) {

Modified: cocoon/trunk/subprojects/cocoon-servlet-service/cocoon-servlet-service-impl/src/main/java/org/apache/cocoon/servletservice/ServletConnection.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/subprojects/cocoon-servlet-service/cocoon-servlet-service-impl/src/main/java/org/apache/cocoon/servletservice/ServletConnection.java?rev=754664&r1=754663&r2=754664&view=diff
==============================================================================
--- cocoon/trunk/subprojects/cocoon-servlet-service/cocoon-servlet-service-impl/src/main/java/org/apache/cocoon/servletservice/ServletConnection.java
(original)
+++ cocoon/trunk/subprojects/cocoon-servlet-service/cocoon-servlet-service-impl/src/main/java/org/apache/cocoon/servletservice/ServletConnection.java
Sun Mar 15 13:27:22 2009
@@ -114,7 +114,7 @@
      * @param name The name of the header parameter
      * @return The value of the header parameter
      */
-    String getHeader(String name);
+    String getHeaderField(String name);
 
     /**
      * Get all response header fields.



Mime
View raw message