From 3eb1b0eadb30c2d75259171ba9037601ba00b81e Mon Sep 17 00:00:00 2001 From: Michael Keppler Date: Thu, 4 Jul 2019 07:17:27 +0200 Subject: 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 --- .../src/org/eclipse/egit/github/core/client/IGitHubConstants.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'org.eclipse.egit.github.core') 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$ /** */ -- cgit v1.2.3