From f961ac3b281711853b11861952a9da75a4283eee Mon Sep 17 00:00:00 2001 From: gounthar Date: Tue, 10 Dec 2024 13:58:30 +0100 Subject: [PATCH] fix(fork): Add @deprecated Javadoc tag to deprecated method. --- src/main/java/org/kohsuke/github/GHRepository.java | 2 ++ 1 file changed, 2 insertions(+) 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 {