Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Sawicki2012-09-22 12:33:05 -0400
committerKevin Sawicki2012-09-22 12:33:05 -0400
commitab3a1ac5be4860f6dcb1e79b7d938d7e056a4e2c (patch)
tree54dd7f3062525483522083979beea715302fab3c
parentdd6352a5ac8d828940d936d11eb994bb22a26141 (diff)
downloadegit-github-ab3a1ac5be4860f6dcb1e79b7d938d7e056a4e2c.tar.gz
egit-github-ab3a1ac5be4860f6dcb1e79b7d938d7e056a4e2c.tar.xz
egit-github-ab3a1ac5be4860f6dcb1e79b7d938d7e056a4e2c.zip
Use char instead of string of length 1
-rw-r--r--org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/client/GitHubClient.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/client/GitHubClient.java b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/client/GitHubClient.java
index 37d0eb8d..ec8382cf 100644
--- a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/client/GitHubClient.java
+++ b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/client/GitHubClient.java
@@ -515,9 +515,9 @@ public class GitHubClient {
}
String message;
if (status != null && status.length() > 0)
- message = status + " (" + code + ")"; //$NON-NLS-1$ //$NON-NLS-2$
+ message = status + " (" + code + ')'; //$NON-NLS-1$
else
- message = "Unknown error occurred (" + code + ")"; //$NON-NLS-1$ //$NON-NLS-2$
+ message = "Unknown error occurred (" + code + ')'; //$NON-NLS-1$
return new IOException(message);
}

Back to the top