<classpathentry kind="lib" path="ext/tracwiki-core-1.4.jar" sourcepath="ext/src/tracwiki-core-1.4.jar" />
<classpathentry kind="lib" path="ext/mediawiki-core-1.4.jar" sourcepath="ext/src/mediawiki-core-1.4.jar" />
<classpathentry kind="lib" path="ext/confluence-core-1.4.jar" sourcepath="ext/src/confluence-core-1.4.jar" />
- <classpathentry kind="lib" path="ext/org.eclipse.jgit-3.7.0.201502260915-r.jar" sourcepath="ext/src/org.eclipse.jgit-3.7.0.201502260915-r.jar" />
- <classpathentry kind="lib" path="ext/jsch-0.1.50.jar" sourcepath="ext/src/jsch-0.1.50.jar" />
+ <classpathentry kind="lib" path="ext/org.eclipse.jgit-4.0.0.201506090130-r.jar" sourcepath="ext/src/org.eclipse.jgit-4.0.0.201506090130-r.jar" />
+ <classpathentry kind="lib" path="ext/jsch-0.1.51.jar" sourcepath="ext/src/jsch-0.1.51.jar" />
<classpathentry kind="lib" path="ext/JavaEWAH-0.7.9.jar" sourcepath="ext/src/JavaEWAH-0.7.9.jar" />
<classpathentry kind="lib" path="ext/httpclient-4.1.3.jar" sourcepath="ext/src/httpclient-4.1.3.jar" />
<classpathentry kind="lib" path="ext/httpcore-4.1.4.jar" sourcepath="ext/src/httpcore-4.1.4.jar" />
<classpathentry kind="lib" path="ext/commons-logging-1.1.1.jar" sourcepath="ext/src/commons-logging-1.1.1.jar" />
<classpathentry kind="lib" path="ext/commons-codec-1.7.jar" sourcepath="ext/src/commons-codec-1.7.jar" />
- <classpathentry kind="lib" path="ext/org.eclipse.jgit.http.server-3.7.0.201502260915-r.jar" sourcepath="ext/src/org.eclipse.jgit.http.server-3.7.0.201502260915-r.jar" />
+ <classpathentry kind="lib" path="ext/org.eclipse.jgit.http.server-4.0.0.201506090130-r.jar" sourcepath="ext/src/org.eclipse.jgit.http.server-4.0.0.201506090130-r.jar" />
<classpathentry kind="lib" path="ext/bcprov-jdk15on-1.51.jar" sourcepath="ext/src/bcprov-jdk15on-1.51.jar" />
<classpathentry kind="lib" path="ext/bcmail-jdk15on-1.51.jar" sourcepath="ext/src/bcmail-jdk15on-1.51.jar" />
<classpathentry kind="lib" path="ext/bcpkix-jdk15on-1.51.jar" sourcepath="ext/src/bcpkix-jdk15on-1.51.jar" />
<classpathentry kind="lib" path="ext/selenium-api-2.28.0.jar" sourcepath="ext/src/selenium-api-2.28.0.jar" />
<classpathentry kind="lib" path="ext/commons-exec-1.1.jar" sourcepath="ext/src/commons-exec-1.1.jar" />
<classpathentry kind="lib" path="ext/platform-3.4.0.jar" sourcepath="ext/src/platform-3.4.0.jar" />
+ <classpathentry kind="lib" path="ext/mockito-core-1.10.19.jar" sourcepath="ext/src/mockito-core-1.10.19.jar" />
+ <classpathentry kind="lib" path="ext/objenesis-2.1.jar" sourcepath="ext/src/objenesis-2.1.jar" />
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER" />
<classpathentry kind="src" path="src/main/dagger">
<attributes>
slf4j.version : 1.7.10
wicket.version : 1.4.21
lucene.version : 4.10.0
- jgit.version : 3.7.0.201502260915-r
+ jgit.version : 4.0.0.201506090130-r
groovy.version : 2.4.1
bouncycastle.version : 1.51
selenium.version : 2.28.0
</library>
</orderEntry>
<orderEntry type="module-library">
- <library name="org.eclipse.jgit-3.7.0.201502260915-r.jar">
+ <library name="org.eclipse.jgit-4.0.0.201506090130-r.jar">
<CLASSES>
- <root url="jar://$MODULE_DIR$/ext/org.eclipse.jgit-3.7.0.201502260915-r.jar!/" />
+ <root url="jar://$MODULE_DIR$/ext/org.eclipse.jgit-4.0.0.201506090130-r.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
- <root url="jar://$MODULE_DIR$/ext/src/org.eclipse.jgit-3.7.0.201502260915-r.jar!/" />
+ <root url="jar://$MODULE_DIR$/ext/src/org.eclipse.jgit-4.0.0.201506090130-r.jar!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
- <library name="jsch-0.1.50.jar">
+ <library name="jsch-0.1.51.jar">
<CLASSES>
- <root url="jar://$MODULE_DIR$/ext/jsch-0.1.50.jar!/" />
+ <root url="jar://$MODULE_DIR$/ext/jsch-0.1.51.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
- <root url="jar://$MODULE_DIR$/ext/src/jsch-0.1.50.jar!/" />
+ <root url="jar://$MODULE_DIR$/ext/src/jsch-0.1.51.jar!/" />
</SOURCES>
</library>
</orderEntry>
</library>
</orderEntry>
<orderEntry type="module-library">
- <library name="org.eclipse.jgit.http.server-3.7.0.201502260915-r.jar">
+ <library name="org.eclipse.jgit.http.server-4.0.0.201506090130-r.jar">
<CLASSES>
- <root url="jar://$MODULE_DIR$/ext/org.eclipse.jgit.http.server-3.7.0.201502260915-r.jar!/" />
+ <root url="jar://$MODULE_DIR$/ext/org.eclipse.jgit.http.server-4.0.0.201506090130-r.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
- <root url="jar://$MODULE_DIR$/ext/src/org.eclipse.jgit.http.server-3.7.0.201502260915-r.jar!/" />
+ <root url="jar://$MODULE_DIR$/ext/src/org.eclipse.jgit.http.server-4.0.0.201506090130-r.jar!/" />
</SOURCES>
</library>
</orderEntry>
</SOURCES>
</library>
</orderEntry>
+ <orderEntry type="module-library" scope="TEST">
+ <library name="mockito-core-1.10.19.jar">
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/ext/mockito-core-1.10.19.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES>
+ <root url="jar://$MODULE_DIR$/ext/src/mockito-core-1.10.19.jar!/" />
+ </SOURCES>
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library" scope="TEST">
+ <library name="objenesis-2.1.jar">
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/ext/objenesis-2.1.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES>
+ <root url="jar://$MODULE_DIR$/ext/src/objenesis-2.1.jar!/" />
+ </SOURCES>
+ </library>
+ </orderEntry>
<orderEntry type="inheritedJdk" />
</component>
</module>
}
finally {
rw.dispose();
- tw.release();
+ tw.close();
}
if (content == null) {
// identified the missing object earlier before we got control.\r
LOGGER.error("failed to get commit count", e);\r
} finally {\r
- walk.release();\r
+ walk.close();\r
}\r
\r
sendError("");\r
LOGGER.error("failed to get commit count", e);\r
return 0;\r
} finally {\r
- walk.release();\r
+ walk.close();\r
}\r
return count;\r
}\r
}\r
\r
// finished\r
- reader.release();\r
+ reader.close();\r
\r
// commit all changes and reset the searcher\r
config.setInt(CONF_INDEX, null, CONF_VERSION, INDEX_VERSION);\r
served = true;
}
} finally {
- tw.release();
+ tw.close();
rw.dispose();
}
log.error("failed to read " + file, e);
} finally {
if (rw != null) {
- rw.release();
+ rw.close();
}
}
return null;
} catch (IOException e) {
log.error("", e);
} finally {
- inserter.release();
+ inserter.close();
}
}
} finally {
// release the treewalk
if (treeWalk != null) {
- treeWalk.release();
+ treeWalk.close();
}
}
} finally {
// finish the index
builder.finish();
} finally {
- inserter.release();
+ inserter.close();
}
return newIndex;
}
}
} finally {
if (tw != null) {
- tw.release();
+ tw.close();
}
}
return list;
rc));
}
} finally {
- revWalk.release();
+ revWalk.close();
}
} finally {
- odi.release();
+ odi.close();
}
return success;
}
} catch (IOException e) {\r
error(e, repository, "{0} failed to zip files from commit {1}", commit.getName());\r
} finally {\r
- tw.release();\r
+ tw.close();\r
rw.dispose();\r
}\r
return success;\r
} catch (IOException e) {\r
error(e, repository, "{0} failed to {1} stream files from commit {2}", algorithm, commit.getName());\r
} finally {\r
- tw.release();\r
+ tw.close();\r
rw.dispose();\r
}\r
return success;\r
}\r
} finally {\r
rw.dispose();\r
- tw.release();\r
+ tw.close();\r
}\r
return content;\r
}\r
} catch (IOException e) {\r
error(e, repository, "{0} failed to get files for commit {1}", commit.getName());\r
} finally {\r
- tw.release();\r
+ tw.close();\r
}\r
Collections.sort(list);\r
return list;\r
} catch (IOException e) {\r
error(e, repository, "{0} failed to get files for commit {1}", commit.getName());\r
} finally {\r
- tw.release();\r
+ tw.close();\r
}\r
Collections.sort(list);\r
return list;\r
.getRawMode(0), tw.getObjectId(0).getName(), commit.getId().getName(),\r
ChangeType.ADD));\r
}\r
- tw.release();\r
+ tw.close();\r
} else {\r
RevCommit parent = rw.parseCommit(commit.getParent(0).getId());\r
DiffStatFormatter df = new DiffStatFormatter(commit.getName());\r
RevCommit start = rw.parseCommit(startRange);\r
RevCommit end = rw.parseCommit(endRange);\r
list.addAll(getFilesInRange(repository, start, end));\r
- rw.release();\r
+ rw.close();\r
} catch (Throwable t) {\r
error(t, repository, "{0} failed to determine files in range {1}..{2}!", startCommit, endCommit);\r
}\r
} catch (IOException e) {\r
error(e, repository, "{0} failed to get documents for commit {1}", commit.getName());\r
} finally {\r
- tw.release();\r
+ tw.close();\r
}\r
Collections.sort(list);\r
return list;\r
error(t, repository, "{0} can't find {1} in commit {2}", path, commit.name());\r
} finally {\r
rw.dispose();\r
- tw.release();\r
+ tw.close();\r
}\r
return commitId;\r
}\r
success = false;\r
}\r
} finally {\r
- revWalk.release();\r
+ revWalk.close();\r
}\r
} finally {\r
- odi.release();\r
+ odi.close();\r
}\r
} catch (Throwable t) {\r
error(t, repository, "Failed to create orphan branch {1} in repository {0}", branchName);\r
LOGGER.error("Failed to determine canMerge", e);\r
} finally {\r
if (revWalk != null) {\r
- revWalk.release();\r
+ revWalk.close();\r
}\r
}\r
return MergeStatus.NOT_MERGEABLE;\r
// return the merge commit id\r
return new MergeResult(MergeStatus.MERGED, mergeCommitId.getName());\r
} finally {\r
- odi.release();\r
+ odi.close();\r
}\r
}\r
} catch (IOException e) {\r
LOGGER.error("Failed to merge", e);\r
} finally {\r
if (revWalk != null) {\r
- revWalk.release();\r
+ revWalk.close();\r
}\r
}\r
return new MergeResult(MergeStatus.FAILED, null);\r
rc));
}
} finally {
- revWalk.release();
+ revWalk.close();
}
} finally {
- odi.release();
+ odi.close();
}
} catch (Throwable t) {
error(t, repository, "Failed to commit reflog entry to {0}");
}
// release the treewalk
- treeWalk.release();
+ treeWalk.close();
// finish temporary in-core index used for this commit
dcBuilder.finish();
} finally {
- inserter.release();
+ inserter.close();
}
return inCoreIndex;
}
}\r
}\r
} finally {\r
- revWalk.release();\r
+ revWalk.close();\r
}\r
} catch (UnsupportedEncodingException e) {\r
logger().error(null, e);\r
} catch (IOException e) {\r
logger().error(null, e);\r
} finally {\r
- odi.release();\r
+ odi.close();\r
db.close();\r
}\r
return success;\r
}\r
} catch (Exception e) {\r
} finally {\r
- tw.release();\r
+ tw.close();\r
}\r
}\r
}\r