tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core StandardContext.java
Date Thu, 30 Jan 2003 20:12:13 GMT
remm        2003/01/30 12:12:12

  Modified:    catalina/src/share/org/apache/catalina/core
                        StandardContext.java
  Log:
  - Remove (useless IMO) sync on access to the MIME mappings.
  
  Revision  Changes    Path
  1.18      +5 -7      jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/StandardContext.java
  
  Index: StandardContext.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/StandardContext.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- StandardContext.java	30 Jan 2003 17:20:14 -0000	1.17
  +++ StandardContext.java	30 Jan 2003 20:12:12 -0000	1.18
  @@ -2251,9 +2251,7 @@
        */
       public String findMimeMapping(String extension) {
   
  -        synchronized (mimeMappings) {
  -            return ((String) mimeMappings.get(extension));
  -        }
  +        return ((String) mimeMappings.get(extension));
   
       }
   
  
  
  

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


Mime
View raw message