]> source.dussan.org Git - jgit.git/commit
Remove a bit of repetition and casting in PackFileTest 23/27323/1
authorRoberto Tyley <roberto.tyley@gmail.com>
Sun, 25 May 2014 18:34:24 +0000 (19:34 +0100)
committerRoberto Tyley <roberto.tyley@gmail.com>
Mon, 26 May 2014 10:09:22 +0000 (11:09 +0100)
commit568df19845bdb736642e723444362028523afab8
tree1a364f2b8c666d085de3af0ce0128e02489b3f65
parentfbef8eb3fa102d493450e4001f5b51a5365f6fec
Remove a bit of repetition and casting in PackFileTest

PackFileTest lives in o.e.j.internal.storage.file, so I think it's OK for
it to acknowledge the existence of FileRepository in order to avoid some
unnecessary casting, and probably nicer to avoid the repetition too.

Change-Id: I0de592a32f6178e6d6bf114848101e185b3111a1
Signed-off-by: Roberto Tyley <roberto.tyley@gmail.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/file/PackFileTest.java