Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Gastaldi2019-03-14 11:09:54 -0400
committerGeorge Gastaldi2019-03-14 11:16:24 -0400
commit198d3e4b0f516247943ae074b3c6b124b2a87149 (patch)
treeca9c9e308e323d224d10ada2fbb0df7ca9bf30f0
parente7db487413056711702fa26cc0b6424496bdf978 (diff)
downloadegit-github-198d3e4b0f516247943ae074b3c6b124b2a87149.tar.gz
egit-github-198d3e4b0f516247943ae074b3c6b124b2a87149.tar.xz
egit-github-198d3e4b0f516247943ae074b3c6b124b2a87149.zip
hookId must be long according to RepositoryHook#getId
Change-Id: I0d2d59cfa141dba7e58bb5d2d8bba606fd739b18 Signed-off-by: George Gastaldi <gegastaldi@gmail.com>
-rw-r--r--org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/service/RepositoryService.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/service/RepositoryService.java b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/service/RepositoryService.java
index f51748ce..f9dad445 100644
--- a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/service/RepositoryService.java
+++ b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/service/RepositoryService.java
@@ -900,7 +900,7 @@ public class RepositoryService extends GitHubService {
* @return repository hook
* @throws IOException
*/
- public RepositoryHook getHook(IRepositoryIdProvider repository, int hookId)
+ public RepositoryHook getHook(IRepositoryIdProvider repository, long hookId)
throws IOException {
String id = getId(repository);
StringBuilder uri = new StringBuilder(SEGMENT_REPOS);
@@ -958,7 +958,7 @@ public class RepositoryService extends GitHubService {
* @param hookId
* @throws IOException
*/
- public void deleteHook(IRepositoryIdProvider repository, int hookId)
+ public void deleteHook(IRepositoryIdProvider repository, long hookId)
throws IOException {
String id = getId(repository);
StringBuilder uri = new StringBuilder(SEGMENT_REPOS);
@@ -976,7 +976,7 @@ public class RepositoryService extends GitHubService {
* @param hookId
* @throws IOException
*/
- public void testHook(IRepositoryIdProvider repository, int hookId)
+ public void testHook(IRepositoryIdProvider repository, long hookId)
throws IOException {
String id = getId(repository);
StringBuilder uri = new StringBuilder(SEGMENT_REPOS);

Back to the top