diff --git a/platform/platform-impl/src/com/intellij/openapi/vfs/impl/local/LocalFileSystemImpl.java b/platform/platform-impl/src/com/intellij/openapi/vfs/impl/local/LocalFileSystemImpl.java index fc25cc78b99f..10c098936fe0 100644 --- a/platform/platform-impl/src/com/intellij/openapi/vfs/impl/local/LocalFileSystemImpl.java +++ b/platform/platform-impl/src/com/intellij/openapi/vfs/impl/local/LocalFileSystemImpl.java @@ -229,14 +229,14 @@ public final class LocalFileSystemImpl extends LocalFileSystemBase implements Ap } } - public void markSuspicousFilesDirty(List files) { + public void markSuspiciousFilesDirty(List files) { storeRefreshStatusToFiles(); if (myWatcher.isOperational()) { for (String root : myWatcher.getManualWatchRoots()) { - final VirtualFile suspicousRoot = findFileByPathIfCached(root); - if (suspicousRoot != null) { - ((NewVirtualFile)suspicousRoot).markDirtyRecursively(); + final VirtualFile suspiciousRoot = findFileByPathIfCached(root); + if (suspiciousRoot != null) { + ((NewVirtualFile)suspiciousRoot).markDirtyRecursively(); } } } diff --git a/platform/platform-impl/src/com/intellij/openapi/vfs/newvfs/RefreshSessionImpl.java b/platform/platform-impl/src/com/intellij/openapi/vfs/newvfs/RefreshSessionImpl.java index 51960ce66391..9bc2b617623e 100644 --- a/platform/platform-impl/src/com/intellij/openapi/vfs/newvfs/RefreshSessionImpl.java +++ b/platform/platform-impl/src/com/intellij/openapi/vfs/newvfs/RefreshSessionImpl.java @@ -45,9 +45,8 @@ public class RefreshSessionImpl extends RefreshSession { private final Semaphore mySemaphore = new Semaphore(); private volatile boolean iHaveEventsToFire; - public RefreshSessionImpl(final boolean isAsync, boolean reqursively, - final Runnable finishRunnable) { - myIsRecursive = reqursively; + public RefreshSessionImpl(final boolean isAsync, final boolean recursively, final Runnable finishRunnable) { + myIsRecursive = recursively; myFinishRunnable = finishRunnable; myIsAsync = isAsync; } @@ -83,7 +82,7 @@ public class RefreshSessionImpl extends RefreshSession { boolean hasEventsToFire = myFinishRunnable != null || !myEvents.isEmpty(); if (!workQueue.isEmpty()) { - ((LocalFileSystemImpl)LocalFileSystem.getInstance()).markSuspicousFilesDirty(workQueue); + ((LocalFileSystemImpl)LocalFileSystem.getInstance()).markSuspiciousFilesDirty(workQueue); for (VirtualFile file : workQueue) { final NewVirtualFile nvf = (NewVirtualFile)file;