From d623417ace4105b5df51cd4c83537fe8e1f8909e Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Fri, 14 Oct 2011 09:16:53 +0200 Subject: [PATCH] typo --- .../openapi/vfs/impl/jar/JarFileSystemImpl.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/platform/platform-impl/src/com/intellij/openapi/vfs/impl/jar/JarFileSystemImpl.java b/platform/platform-impl/src/com/intellij/openapi/vfs/impl/jar/JarFileSystemImpl.java index 86b7a1dfd285..0885c9283ee5 100644 --- a/platform/platform-impl/src/com/intellij/openapi/vfs/impl/jar/JarFileSystemImpl.java +++ b/platform/platform-impl/src/com/intellij/openapi/vfs/impl/jar/JarFileSystemImpl.java @@ -174,24 +174,24 @@ public class JarFileSystemImpl extends JarFileSystem implements ApplicationCompo final String jarRootPath = extractRootPath(entryVFile.getPath()); JarHandler handler; - final JarHandler freshHanlder; + final JarHandler freshHandler; synchronized (LOCK) { handler = myHandlers.get(jarRootPath); if (handler == null) { - freshHanlder = handler = new JarHandler(this, jarRootPath.substring(0, jarRootPath.length() - JAR_SEPARATOR.length())); + freshHandler = handler = new JarHandler(this, jarRootPath.substring(0, jarRootPath.length() - JAR_SEPARATOR.length())); myHandlers.put(jarRootPath, handler); } else { - freshHanlder = null; + freshHandler = null; } } - if (freshHanlder != null) { + if (freshHandler != null) { // Refresh must be outside of the lock, since it potentially requires write action. ApplicationManager.getApplication().invokeLater(new Runnable() { public void run() { - freshHanlder.refreshLocalFileForJar(); + freshHandler.refreshLocalFileForJar(); } }, ModalityState.defaultModalityState()); }