Skip to content

Commit

Permalink
fix(fork): Add @deprecated reason and replacement information
Browse files Browse the repository at this point in the history
  • Loading branch information
gounthar committed Dec 10, 2024
1 parent 97eabee commit abfaa1c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/java/org/kohsuke/github/GHRepository.java
Original file line number Diff line number Diff line change
Expand Up @@ -1458,9 +1458,9 @@ public PagedIterable<GHRepository> listForks(final ForkSort sort) {
* @return Newly forked repository that belong to you.
* @throws IOException
* the io exception
* @deprecated
* @deprecated Use {@link #createFork(String, String, boolean)} instead
*/
@Deprecated
@Deprecated(forRemoval = true)
public GHRepository fork() throws IOException {
return createFork(null, null, false);
}
Expand Down Expand Up @@ -1491,9 +1491,9 @@ public GHBranchSync sync(String branch) throws IOException {
* @return Newly forked repository that belong to you.
* @throws IOException
* the io exception
* @deprecated
* @deprecated Use {@link #createFork(String, String, boolean)} instead
*/
@Deprecated
@Deprecated(forRemoval = true)
public GHRepository forkTo(GHOrganization org) throws IOException {
return createFork(org.getLogin(), null, false);
}
Expand Down

0 comments on commit abfaa1c

Please sign in to comment.