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;
* @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());
}
/*
- * 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.
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;
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;
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.*;
}
};
- OutputToTargetRegistry(@NonNls File storePath) throws IOException {
+ OutputToTargetRegistry(File storePath) throws IOException {
super(storePath, new IntInlineKeyDescriptor(), DATA_EXTERNALIZER);
}