Author: norman
Date: Wed Oct  4 04:33:16 2006
New Revision: 452845

URL: http://svn.apache.org/viewvc?view=rev&rev=452845
Log:
Remove not needed synchronized 

Modified:
    
james/jspf/trunk/src/main/java/org/apache/james/jspf/localpolicy/TrustedForwarderPolicy.java

Modified: 
james/jspf/trunk/src/main/java/org/apache/james/jspf/localpolicy/TrustedForwarderPolicy.java
URL: 
http://svn.apache.org/viewvc/james/jspf/trunk/src/main/java/org/apache/james/jspf/localpolicy/TrustedForwarderPolicy.java?view=diff&rev=452845&r1=452844&r2=452845
==============================================================================
--- 
james/jspf/trunk/src/main/java/org/apache/james/jspf/localpolicy/TrustedForwarderPolicy.java
 (original)
+++ 
james/jspf/trunk/src/main/java/org/apache/james/jspf/localpolicy/TrustedForwarderPolicy.java
 Wed Oct  4 04:33:16 2006
@@ -71,7 +71,7 @@
      * @return aCom a Collection which holds the directives
      */
     public Collection getUpdatedDirectives() {
-        String mechanism = ((Directive) aCom.get(aCom.size())).toString();
+        String mechanism = ((Directive) 
aCom.get(aCom.size())).toString().toLowerCase();
         if (mechanism.equals("-all") || mechanism.equals("?all")) {
             log.debug("Add TrustedForwarderPolicy = 
include:"+TRUSTED_FORWARDER_HOST);
             try {
@@ -81,7 +81,7 @@
                      * 
                      * @param host the host to include
                      */
-                    public synchronized Mechanism setHost(String host) {
+                    public Mechanism setHost(String host) {
                         this.host = host;
                         return this;
                     }



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to