summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/utils/JGitUtils.java
diff options
context:
space:
mode:
authorFlorian Zschocke <2362065+flaix@users.noreply.github.com>2023-10-15 13:30:08 +0200
committerGitHub <noreply@github.com>2023-10-15 13:30:08 +0200
commitc1b2aec79fe6cba69b8af839ce8c33c58bce2bfd (patch)
tree5eb3d2ae6711fee0539716713245d19038bcce44 /src/main/java/com/gitblit/utils/JGitUtils.java
parentd9f496de093b64b2d701ea5d9cc6f7088ef6e4ac (diff)
parent8be99bb2b38331b42677134462267da5e60e0386 (diff)
downloadgitblit-c1b2aec79fe6cba69b8af839ce8c33c58bce2bfd.tar.gz
gitblit-c1b2aec79fe6cba69b8af839ce8c33c58bce2bfd.zip
Merge pull request #1455 from losiki/message-format
Fix single quotes in MessageFormat patterns.
Diffstat (limited to 'src/main/java/com/gitblit/utils/JGitUtils.java')
-rw-r--r--src/main/java/com/gitblit/utils/JGitUtils.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/com/gitblit/utils/JGitUtils.java b/src/main/java/com/gitblit/utils/JGitUtils.java
index e70b4f99..cd74569b 100644
--- a/src/main/java/com/gitblit/utils/JGitUtils.java
+++ b/src/main/java/com/gitblit/utils/JGitUtils.java
@@ -795,7 +795,7 @@ public class JGitUtils {
}
} catch (Throwable t) {
if (throwError) {
- error(t, repository, "{0} can't find {1} in tree {2}", path, tree.name());
+ error(t, repository, "{0} can''t find {1} in tree {2}", path, tree.name());
}
} finally {
rw.dispose();
@@ -837,7 +837,7 @@ public class JGitUtils {
ObjectLoader ldr = repository.open(blob.getId(), Constants.OBJ_BLOB);
content = ldr.getCachedBytes();
} catch (Throwable t) {
- error(t, repository, "{0} can't find blob {1}", objectId);
+ error(t, repository, "{0} can''t find blob {1}", objectId);
} finally {
rw.dispose();
}
@@ -2117,7 +2117,7 @@ public class JGitUtils {
}
}
} catch (Throwable t) {
- error(t, repository, "{0} can't find {1} in commit {2}", path, commit.name());
+ error(t, repository, "{0} can''t find {1} in commit {2}", path, commit.name());
} finally {
rw.dispose();
tw.close();