aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2024-02-13 15:49:54 +0100
committerMatthias Sohn <matthias.sohn@sap.com>2024-02-13 15:49:54 +0100
commit86ef2d5311d99fe1b2f4961608ec1ec5fd0ae3ea (patch)
tree9c3864721a4d9ad78c9ce92dae61a61fad68cc87
parent29c89d1f02e84d0395e12f55204bd129e61c43bf (diff)
downloadjgit-86ef2d5311d99fe1b2f4961608ec1ec5fd0ae3ea.tar.gz
jgit-86ef2d5311d99fe1b2f4961608ec1ec5fd0ae3ea.zip
Add missing javadoc description for declared exception
Change-Id: I16305bc15d2ddff1ce055772a711658ef81858e2
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/SnapshottingRefDirectory.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/SnapshottingRefDirectory.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/SnapshottingRefDirectory.java
index b973aeb8ef..eaa26ed4f3 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/SnapshottingRefDirectory.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/SnapshottingRefDirectory.java
@@ -125,6 +125,7 @@ class SnapshottingRefDirectory extends RefDirectory {
* threads use this snapshot.
*
* @throws IOException
+ * if an IO error occurred
*/
private synchronized void refreshSnapshot() throws IOException {
compareAndSetPackedRefs(packedRefs.get(), refDb.getPackedRefs());