Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Sawicki2011-12-18 19:42:45 +0000
committerKevin Sawicki2011-12-18 19:42:45 +0000
commit98ea512f8ca3b27237d9856e48d56585ac92767e (patch)
tree92cf801d7daeb4842c8ede250830c2aab18250d8 /org.eclipse.mylyn.github.core
parent5a524967d785f1a74e4180f368fd135cc34a0beb (diff)
downloadegit-github-98ea512f8ca3b27237d9856e48d56585ac92767e.tar.gz
egit-github-98ea512f8ca3b27237d9856e48d56585ac92767e.tar.xz
egit-github-98ea512f8ca3b27237d9856e48d56585ac92767e.zip
Bump user agent versions to 1.3.0
Diffstat (limited to 'org.eclipse.mylyn.github.core')
-rw-r--r--org.eclipse.mylyn.github.core/src/org/eclipse/mylyn/internal/github/core/GitHub.java34
1 files changed, 17 insertions, 17 deletions
diff --git a/org.eclipse.mylyn.github.core/src/org/eclipse/mylyn/internal/github/core/GitHub.java b/org.eclipse.mylyn.github.core/src/org/eclipse/mylyn/internal/github/core/GitHub.java
index 0793fe95..426e491b 100644
--- a/org.eclipse.mylyn.github.core/src/org/eclipse/mylyn/internal/github/core/GitHub.java
+++ b/org.eclipse.mylyn.github.core/src/org/eclipse/mylyn/internal/github/core/GitHub.java
@@ -49,14 +49,14 @@ public class GitHub {
+ Pattern.quote(HTTP_GITHUB_COM) + ")/([^/]+)/([^/]+)"); //$NON-NLS-1$
/** USER_AGENT */
- public static final String USER_AGENT = "GitHubEclipse/1.2.0"; //$NON-NLS-1$
+ public static final String USER_AGENT = "GitHubEclipse/1.3.0"; //$NON-NLS-1$
/** REPOSITORY_SEGMENTS */
public static final String REPOSITORY_SEGMENTS = "/user/repository"; //$NON-NLS-1$
/**
* Configure client with standard configuration
- *
+ *
* @param client
* @return given client
*/
@@ -66,7 +66,7 @@ public class GitHub {
/**
* Set credentials on client from task repository
- *
+ *
* @param client
* @param repository
* @return specified client
@@ -83,7 +83,7 @@ public class GitHub {
/**
* Create status of severity with message
- *
+ *
* @param severity
* @param message
* @return status
@@ -94,7 +94,7 @@ public class GitHub {
/**
* Create status of severity with message and throwable
- *
+ *
* @param severity
* @param message
* @param e
@@ -106,7 +106,7 @@ public class GitHub {
/**
* Create error status from message
- *
+ *
* @param message
* @return status
*/
@@ -116,7 +116,7 @@ public class GitHub {
/**
* Create error status from message and throwable
- *
+ *
* @param message
* @param t
* @return status
@@ -127,7 +127,7 @@ public class GitHub {
/**
* Create error status from throwable
- *
+ *
* @param e
* @return status
*/
@@ -139,7 +139,7 @@ public class GitHub {
/**
* Create error status from {@link IOException} that wraps it in a
* {@link GitHubException} if it is a {@link RequestException}
- *
+ *
* @param e
* @return status
*/
@@ -149,7 +149,7 @@ public class GitHub {
/**
* Get log
- *
+ *
* @return log
*/
public static ILog getLog() {
@@ -158,7 +158,7 @@ public class GitHub {
/**
* Log message and throwable as error status
- *
+ *
* @param message
* @param t
*/
@@ -168,7 +168,7 @@ public class GitHub {
/**
* Log throwable as error status
- *
+ *
* @param t
*/
public static void logError(Throwable t) {
@@ -177,7 +177,7 @@ public class GitHub {
/**
* Get repository for url
- *
+ *
* @param repositoryUrl
* @return repository or null if not present in url
*/
@@ -187,11 +187,11 @@ public class GitHub {
/**
* Create url with github.com host
- *
+ *
* @param user
* @param project
* @return url
- *
+ *
* @see #createGitHubUrlAlternate(String, String)
*/
public static String createGitHubUrl(String user, String project) {
@@ -200,11 +200,11 @@ public class GitHub {
/**
* Create url with github.org host
- *
+ *
* @param user
* @param project
* @return url
- *
+ *
* @see #createGitHubUrl(String, String)
*/
public static String createGitHubUrlAlternate(String user, String project) {

Back to the top