summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Rosenberg <robin.rosenberg@dewire.com>2010-09-04 23:58:50 +0200
committerRobin Rosenberg <robin.rosenberg@dewire.com>2010-09-05 00:00:57 +0200
commit8145e402332a236dae6e5b4e669fa4851581ed64 (patch)
tree0bed9bf4db98c03a25dfba0be2d1b8563a8037d3
parent2aa4196f1fd02851976d2c214302d87ea26663d0 (diff)
downloadjgit-8145e402332a236dae6e5b4e669fa4851581ed64.tar.gz
jgit-8145e402332a236dae6e5b4e669fa4851581ed64.zip
cleanup: Remove unnecessary @SuppressWarnings
Change-Id: I1b239b587e1cc811bbd6e1513b07dc93a891a842 Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
-rw-r--r--org.eclipse.jgit.test/tst/org/eclipse/jgit/storage/file/AbbreviationTest.java1
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/storage/file/WindowCache.java1
2 files changed, 0 insertions, 2 deletions
diff --git a/org.eclipse.jgit.test/tst/org/eclipse/jgit/storage/file/AbbreviationTest.java b/org.eclipse.jgit.test/tst/org/eclipse/jgit/storage/file/AbbreviationTest.java
index 1a38a7deb9..25e7aa3a1a 100644
--- a/org.eclipse.jgit.test/tst/org/eclipse/jgit/storage/file/AbbreviationTest.java
+++ b/org.eclipse.jgit.test/tst/org/eclipse/jgit/storage/file/AbbreviationTest.java
@@ -144,7 +144,6 @@ public class AbbreviationTest extends LocalDiskRepositoryTestCase {
assertEquals(id, db.resolve(reader.abbreviate(id, 8).name()));
}
- @SuppressWarnings("unchecked")
public void testAbbreviateIsActuallyUnique() throws Exception {
// This test is far more difficult. We have to manually craft
// an input that contains collisions at a particular prefix,
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/storage/file/WindowCache.java b/org.eclipse.jgit/src/org/eclipse/jgit/storage/file/WindowCache.java
index 523e084845..68fa191203 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/storage/file/WindowCache.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/storage/file/WindowCache.java
@@ -518,7 +518,6 @@ public class WindowCache {
gc();
}
- @SuppressWarnings("unchecked")
private void gc() {
Ref r;
while ((r = (Ref) queue.poll()) != null) {