Cleanup (pointless annotation)
authorRoman Shevchenko <roman.shevchenko@jetbrains.com>
Wed, 29 Oct 2014 18:22:17 +0000 (19:22 +0100)
committerRoman Shevchenko <roman.shevchenko@jetbrains.com>
Wed, 29 Oct 2014 18:22:17 +0000 (19:22 +0100)
jps/jps-builders/src/org/jetbrains/jps/incremental/artifacts/ArtifactOutputToSourceMapping.java
jps/jps-builders/src/org/jetbrains/jps/incremental/storage/AbstractStateStorage.java
jps/jps-builders/src/org/jetbrains/jps/incremental/storage/OutputToTargetRegistry.java

index 8d9596ddde7885cc1dbcbe28f97ec3f211c80689..08f8a8cb44c209cd529cc3a5a848f10944893262 100644 (file)
@@ -19,7 +19,6 @@ import com.intellij.openapi.util.io.FileUtil;
 import com.intellij.util.SmartList;
 import com.intellij.util.io.DataExternalizer;
 import com.intellij.util.io.IOUtil;
-import org.jetbrains.annotations.NonNls;
 import org.jetbrains.annotations.NotNull;
 import org.jetbrains.annotations.Nullable;
 import org.jetbrains.jps.incremental.storage.AbstractStateStorage;
@@ -35,7 +34,7 @@ import java.util.List;
  * @author nik
  */
 public class ArtifactOutputToSourceMapping extends AbstractStateStorage<String, List<ArtifactOutputToSourceMapping.SourcePathAndRootIndex>> {
-  public ArtifactOutputToSourceMapping(@NonNls File storePath) throws IOException {
+  public ArtifactOutputToSourceMapping(File storePath) throws IOException {
     super(storePath, new PathStringDescriptor(), new SourcePathListExternalizer());
   }
 
index 71f097fdd9cf8a28ad7dc39417a0ca42b39d5f11..f233a4ce2ccd98e5551e81cd7468705dde68de0c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2012 JetBrains s.r.o.
+ * Copyright 2000-2014 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -19,7 +19,6 @@ import com.intellij.openapi.util.io.FileUtil;
 import com.intellij.util.io.DataExternalizer;
 import com.intellij.util.io.KeyDescriptor;
 import com.intellij.util.io.PersistentHashMap;
-import org.jetbrains.annotations.NonNls;
 import org.jetbrains.annotations.Nullable;
 
 import java.io.DataOutput;
@@ -35,7 +34,7 @@ public abstract class AbstractStateStorage<Key, T> implements StorageOwner {
   private final DataExternalizer<T> myStateExternalizer;
   protected final Object myDataLock = new Object();
 
-  public AbstractStateStorage(@NonNls File storePath, KeyDescriptor<Key> keyDescriptor, DataExternalizer<T> stateExternalizer) throws IOException {
+  public AbstractStateStorage(File storePath, KeyDescriptor<Key> keyDescriptor, DataExternalizer<T> stateExternalizer) throws IOException {
     myBaseFile = storePath;
     myKeyDescriptor = keyDescriptor;
     myStateExternalizer = stateExternalizer;
index 7f1f1e48d28ee9807c64abfff7d292d5124b51ad..3072ea29b3b749446d4134a319f279b237f3f50c 100644 (file)
@@ -21,7 +21,6 @@ import com.intellij.util.io.DataExternalizer;
 import com.intellij.util.io.IntInlineKeyDescriptor;
 import gnu.trove.TIntHashSet;
 import gnu.trove.TIntProcedure;
-import org.jetbrains.annotations.NonNls;
 import org.jetbrains.annotations.NotNull;
 
 import java.io.*;
@@ -65,7 +64,7 @@ public class OutputToTargetRegistry extends AbstractStateStorage<Integer, TIntHa
     }
   };
   
-  OutputToTargetRegistry(@NonNls File storePath) throws IOException {
+  OutputToTargetRegistry(File storePath) throws IOException {
     super(storePath, new IntInlineKeyDescriptor(), DATA_EXTERNALIZER);
   }