diff options
author | Philipe Mulet | 2001-08-22 16:58:58 +0000 |
---|---|---|
committer | Philipe Mulet | 2001-08-22 16:58:58 +0000 |
commit | 44855522f87e615f1ca0bfcda268b074e4443dfe (patch) | |
tree | 711e4866d9299fcfee8f95337cdea48cb90ec823 /org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/DiskCache.java | |
parent | ba238895da0e9d116073a555bfb1c09f876bedf2 (diff) | |
download | eclipse.jdt.core-44855522f87e615f1ca0bfcda268b074e4443dfe.tar.gz eclipse.jdt.core-44855522f87e615f1ca0bfcda268b074e4443dfe.tar.xz eclipse.jdt.core-44855522f87e615f1ca0bfcda268b074e4443dfe.zip |
*** empty log message ***
Diffstat (limited to 'org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/DiskCache.java')
-rw-r--r-- | org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/DiskCache.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/DiskCache.java b/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/DiskCache.java index 7213985e80..ad02b6f058 100644 --- a/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/DiskCache.java +++ b/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/DiskCache.java @@ -171,9 +171,9 @@ public class DiskCache { EntryCache fEntryCache;
- static final String CONTENTS_FILE_NAME = "contents"/*nonNLS*/;
- static final String TEMP_CONTENTS_FILE_NAME = "tempcont"/*nonNLS*/;
- static final String CONTENTS_VERSION = "DiskCache.V1.0"/*nonNLS*/;
+ static final String CONTENTS_FILE_NAME = "contents"; //$NON-NLS-1$
+ static final String TEMP_CONTENTS_FILE_NAME = "tempcont"; //$NON-NLS-1$
+ static final String CONTENTS_VERSION = "DiskCache.V1.0"; //$NON-NLS-1$
/**
* Set to true when cache is modified, cleared when saved.
@@ -217,7 +217,7 @@ public DiskCache(File directory, int spaceLimit) { */
public OutputStream add(final String key, int size, byte[] extraInfo) throws IOException {
if (size > fSpaceLimit*1024) {
- throw new IOException("Entry size greater than cache size"/*nonNLS*/);
+ throw new IOException("Entry size greater than cache size"); //$NON-NLS-1$
}
final File file;
OutputStream output;
@@ -518,7 +518,7 @@ public int getNumberOfFilesToBeDeleted() { int spaceUsed = in.readInt(); /* Ignored -- updated as entries are read */
int numEntries = in.readInt();
if (!sig.equals(CONTENTS_VERSION)) {
- throw new IOException(Util.bind("file.badFormat"/*nonNLS*/));
+ throw new IOException(Util.bind("file.badFormat")); //$NON-NLS-1$
}
/* Read to a temp. array of entries. The entries are in most- to
@@ -736,7 +736,7 @@ public synchronized void removeAll(Vector keys) { }
}
};
- fPeriodicSaveThread.setName("DiskCache periodic save"/*nonNLS*/);
+ fPeriodicSaveThread.setName("DiskCache periodic save"); //$NON-NLS-1$
fPeriodicSaveThread.start();
}
|