Factor out duplicate Inflater setup in WindowCursor
commit9c4d42e94dbf199a9cef46a4b9286552c8633f4f
authorShawn O. Pearce <spearce@spearce.org>
Sat, 15 May 2010 23:18:44 +0000 (15 16:18 -0700)
committerShawn O. Pearce <spearce@spearce.org>
Sat, 15 May 2010 23:18:44 +0000 (15 16:18 -0700)
tree37d4d5caaa895863153da095649416b406e2ce7b
parentd8f20745bfe781116acd42c53c6a974439abde80
Factor out duplicate Inflater setup in WindowCursor

Since we use this code twice, pull it into a private method.  Let
the compiler/JIT worry about whether or not this logic should be
inlined into the call sites.

Change-Id: Ia44fb01e0328485bcdfd7af96835d62b227a0fb1
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.eclipse.jgit/src/org/eclipse/jgit/lib/WindowCursor.java