List of usage examples for org.eclipse.jgit.transport WalkRemoteObjectDatabase close
abstract void close();
From source file:it.com.atlassian.labs.speakeasy.util.jgit.WalkFetchConnection.java
License:Eclipse Distribution License
@Override public void close() { inserter.release();/*w w w . jav a2s. c o m*/ reader.release(); for (final RemotePack p : unfetchedPacks) { if (p.tmpIdx != null) p.tmpIdx.delete(); } for (final WalkRemoteObjectDatabase r : remotes) r.close(); }