Author: markt
Date: Sun Sep 13 20:38:52 2015
New Revision: 1702822

URL: http://svn.apache.org/r1702822
Log:
Clean-up comments

Modified:
    tomcat/tc8.0.x/trunk/java/org/apache/tomcat/util/http/HttpMessages.java

Modified: 
tomcat/tc8.0.x/trunk/java/org/apache/tomcat/util/http/HttpMessages.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc8.0.x/trunk/java/org/apache/tomcat/util/http/HttpMessages.java?rev=1702822&r1=1702821&r2=1702822&view=diff
==============================================================================
--- tomcat/tc8.0.x/trunk/java/org/apache/tomcat/util/http/HttpMessages.java 
(original)
+++ tomcat/tc8.0.x/trunk/java/org/apache/tomcat/util/http/HttpMessages.java Sun 
Sep 13 20:38:52 2015
@@ -36,12 +36,12 @@ public class HttpMessages {
     private static final Map<Locale,HttpMessages> instances =
             new ConcurrentHashMap<>();
 
+    // Keep this in separate package from standard i18n messages
     private static final HttpMessages DEFAULT = new HttpMessages(
             StringManager.getManager("org.apache.tomcat.util.http.res",
                     Locale.getDefault()));
 
 
-    // XXX move message resources in this package
     private final StringManager sm;
 
     private String st_200 = null;
@@ -64,10 +64,6 @@ public class HttpMessages {
      *         HTTP specification
      */
     public String getMessage(int status) {
-        // method from Response.
-
-        // Does HTTP requires/allow international messages or
-        // are pre-defined? The user doesn't see them most of the time
         switch( status ) {
         case 200: {
             String s = st_200;



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to