Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Sawicki2012-06-25 18:29:10 +0000
committerKevin Sawicki2012-06-25 18:29:10 +0000
commit5bf04afbf04992bf92a5ac4b1693d7311d2f8fed (patch)
treeadbda5e31101533826812fdcca410725c77ef01c
parentd604f8f603fc53c4c18d8c7a961ff3ae75b2e9b1 (diff)
downloadegit-github-5bf04afbf04992bf92a5ac4b1693d7311d2f8fed.tar.gz
egit-github-5bf04afbf04992bf92a5ac4b1693d7311d2f8fed.tar.xz
egit-github-5bf04afbf04992bf92a5ac4b1693d7311d2f8fed.zip
Set default value of user agent field
This will be the value of the USER_AGENT constant which contains the API client version Change-Id: Ibb2d4f5a33e55f3f0f1f109fcb77be6f586aeac9
-rw-r--r--org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/client/GitHubClient.java2
1 files changed, 1 insertions, 1 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 824a6eb6..37d0eb8d 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
@@ -141,7 +141,7 @@ public class GitHubClient {
private String credentials;
- private String userAgent;
+ private String userAgent = USER_AGENT;
private int bufferSize = 8192;

Back to the top