the attribute is fixed-size
authorpeter <peter@jetbrains.com>
Tue, 24 Jan 2012 13:28:49 +0000 (14:28 +0100)
committerpeter <peter@jetbrains.com>
Tue, 24 Jan 2012 13:30:29 +0000 (14:30 +0100)
platform/vcs-impl/src/com/intellij/openapi/vcs/changes/LastUnchangedContentTracker.java

index f94da588ca6b22a39a85d46efa9b8f3d2acf8f43..636d85ee0f75fb96057a1e52be419065e4078d71 100644 (file)
@@ -36,7 +36,7 @@ public class LastUnchangedContentTracker {
   private static final Logger LOG = Logger.getInstance("#com.intellij.openapi.vcs.changes.LastUnchangedContentTracker");
   private static final Key<Long> LAST_TS_KEY = Key.create("LAST_TS_KEY");
   private static final FileAttribute LAST_TS_ATTR = new FileAttribute("LAST_TS_ATTR", 0, true);
-  private static final FileAttribute ACQUIRED_CONTENT_ATTR = new FileAttribute("ACQUIRED_CONTENT_ATTR", 0, false);
+  private static final FileAttribute ACQUIRED_CONTENT_ATTR = new FileAttribute("ACQUIRED_CONTENT_ATTR", 1, true);
 
   public static void updateLastUnchangedContent(@NotNull VirtualFile file) {
     Long lastTs = getLastSavedStamp(file);