Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Hohenegger2015-09-10 04:25:27 -0400
committerMax Hohenegger2015-09-10 04:29:19 -0400
commit03f3f339162b5f2968ebba8e763a96a97d161728 (patch)
tree20c4dfbe732b8c73d145db506387fa58c3561c36
parent6197097ea5644bbe8706c4d4d711dcf5b6e342c6 (diff)
downloadegit-03f3f339162b5f2968ebba8e763a96a97d161728.tar.gz
egit-03f3f339162b5f2968ebba8e763a96a97d161728.tar.xz
egit-03f3f339162b5f2968ebba8e763a96a97d161728.zip
Fixed Findbugs warning: Usage of known null
- display SHA1 instead Change-Id: I8e561234a44988fd4bc4a449c8758df6255ef2b7 Signed-off-by: Max Hohenegger <eclipse@hohenegger.eu>
-rw-r--r--org.eclipse.egit.gitflow/src/org/eclipse/egit/gitflow/op/ReleaseStartOperation.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.egit.gitflow/src/org/eclipse/egit/gitflow/op/ReleaseStartOperation.java b/org.eclipse.egit.gitflow/src/org/eclipse/egit/gitflow/op/ReleaseStartOperation.java
index 9112f0bfc..20879eee5 100644
--- a/org.eclipse.egit.gitflow/src/org/eclipse/egit/gitflow/op/ReleaseStartOperation.java
+++ b/org.eclipse.egit.gitflow/src/org/eclipse/egit/gitflow/op/ReleaseStartOperation.java
@@ -87,7 +87,7 @@ public final class ReleaseStartOperation extends AbstractReleaseOperation {
RevCommit commit = repository.findCommit(startCommitSha1);
if (commit == null) {
- throw new IllegalStateException(NLS.bind(CoreText.ReleaseStartOperation_unableToFindCommit, commit));
+ throw new IllegalStateException(NLS.bind(CoreText.ReleaseStartOperation_unableToFindCommit, startCommitSha1));
}
start(monitor, branchName, commit);
}

Back to the top