package com.intellij.lang.ant.misc;

import com.intellij.util.containers.StringInterner;

public class AntStringInterner {

  private static final StringInterner ourInterner = new StringInterner();

  public static String intern(final String str) {
    synchronized(ourInterner) {
      return ourInterner.intern(str);
    }
  }

  private AntStringInterner() {
  }
}

@@ -246,42 +246,8 @@
 ) %7B%0A
-    synchronized(ourInterner) %7B%0A  
     
@@ -282,14 +282,8 @@
 r);%0A
-    %7D%0A
   %7D%0A

remove unneeded synchronized in AntStringInterner (there is already higher-level synchronization on the global PsiLock)