ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1468420 - /ace/trunk/org.apache.ace.obr/src/org/apache/ace/obr/servlet/BundleServlet.java
Date Tue, 16 Apr 2013 13:55:25 GMT
Author: marrs
Date: Tue Apr 16 13:55:24 2013
New Revision: 1468420

URL: http://svn.apache.org/r1468420
Log:
ACE-317 Fixed another typo.

Modified:
    ace/trunk/org.apache.ace.obr/src/org/apache/ace/obr/servlet/BundleServlet.java

Modified: ace/trunk/org.apache.ace.obr/src/org/apache/ace/obr/servlet/BundleServlet.java
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.obr/src/org/apache/ace/obr/servlet/BundleServlet.java?rev=1468420&r1=1468419&r2=1468420&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.obr/src/org/apache/ace/obr/servlet/BundleServlet.java (original)
+++ ace/trunk/org.apache.ace.obr/src/org/apache/ace/obr/servlet/BundleServlet.java Tue Apr
16 13:55:24 2013
@@ -325,13 +325,13 @@ public class BundleServlet extends HttpS
 
     // send a created response with location header
     private void sendCreated(HttpServletRequest request, HttpServletResponse response, String
relativePath) {
-        StringBuilder locationBuiler = new StringBuilder(request.getScheme()).append("://").append(request.getServerName());
+        StringBuilder locationBuilder = new StringBuilder(request.getScheme()).append("://").append(request.getServerName());
         boolean ignorePort = (request.getScheme().equals("http") && request.getServerPort()
== 80) | (request.getScheme().equals("https") && request.getServerPort() == 443);
         if(!ignorePort){
-            locationBuiler.append(":" + request.getServerPort());
+            locationBuilder.append(":" + request.getServerPort());
         }
-        locationBuiler.append(m_servletEndpoint).append(relativePath);
-        response.setHeader("Location", locationBuiler.toString());
+        locationBuilder.append(m_servletEndpoint).append(relativePath);
+        response.setHeader("Location", locationBuilder.toString());
         response.setStatus(SC_CREATED);
     }
 



Mime
View raw message