diff --git a/src/main/java/org/kohsuke/github/GHRepository.java b/src/main/java/org/kohsuke/github/GHRepository.java index 67e1874c05..de8135d7a9 100644 --- a/src/main/java/org/kohsuke/github/GHRepository.java +++ b/src/main/java/org/kohsuke/github/GHRepository.java @@ -1458,6 +1458,7 @@ public PagedIterable listForks(final ForkSort sort) { * @return Newly forked repository that belong to you. * @throws IOException * the io exception + * @deprecated */ @Deprecated public GHRepository fork() throws IOException { @@ -1490,6 +1491,7 @@ public GHBranchSync sync(String branch) throws IOException { * @return Newly forked repository that belong to you. * @throws IOException * the io exception + * @deprecated */ @Deprecated public GHRepository forkTo(GHOrganization org) throws IOException {