Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Keppler2019-07-04 05:17:27 +0000
committerMichael Keppler2019-07-06 05:42:45 +0000
commit3eb1b0eadb30c2d75259171ba9037601ba00b81e (patch)
tree5b5536901720a278416366c6f8055b105410e7f0 /org.eclipse.egit.github.core
parentb63c233bb460629b0ce018b2c79e0c388b1ea889 (diff)
downloadegit-github-3eb1b0eadb30c2d75259171ba9037601ba00b81e.tar.gz
egit-github-3eb1b0eadb30c2d75259171ba9037601ba00b81e.tar.xz
egit-github-3eb1b0eadb30c2d75259171ba9037601ba00b81e.zip
Use not deprecated hook test URL
The singular "/test" is deprecated according to https://developer.github.com/v3/repos/hooks/#test-a-push-hook. That segment is not used anywhere else, so it can be changed without having a copy of the singular version. Bug:548762 Change-Id: Iecd00e422544d4a851e665330c876f2c1cf9ec8c Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
Diffstat (limited to 'org.eclipse.egit.github.core')
-rw-r--r--org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/client/IGitHubConstants.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/client/IGitHubConstants.java b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/client/IGitHubConstants.java
index 41dc50af..e159bbd8 100644
--- a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/client/IGitHubConstants.java
+++ b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/client/IGitHubConstants.java
@@ -178,8 +178,9 @@ public interface IGitHubConstants {
String SEGMENT_TAGS = "/tags"; //$NON-NLS-1$
/** */
String SEGMENT_TEAMS = "/teams"; //$NON-NLS-1$
- /** */
- String SEGMENT_TEST = "/test"; //$NON-NLS-1$
+
+ /** previously singular, now plural */
+ String SEGMENT_TEST = "/tests"; //$NON-NLS-1$
/** */
String SEGMENT_TREES = "/trees"; //$NON-NLS-1$
/** */

Back to the top