Skip to content

Commit

Permalink
fix(fork): Add @deprecated Javadoc tag to deprecated method.
Browse files Browse the repository at this point in the history
  • Loading branch information
gounthar committed Dec 10, 2024
1 parent f750d99 commit f961ac3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/org/kohsuke/github/GHRepository.java
Original file line number Diff line number Diff line change
Expand Up @@ -1458,6 +1458,7 @@ public PagedIterable<GHRepository> listForks(final ForkSort sort) {
* @return Newly forked repository that belong to you.
* @throws IOException
* the io exception
* @deprecated
*/
@Deprecated
public GHRepository fork() throws IOException {
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit f961ac3

Please sign in to comment.