Skip to content

Commit fcb6a72

Browse files
committed
fix(fork): Spotless
1 parent f4b02f1 commit fcb6a72

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

src/main/java/org/kohsuke/github/GHRepository.java

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1501,13 +1501,18 @@ public GHRepository forkTo(GHOrganization org) throws IOException {
15011501
/**
15021502
* Creates a fork of this repository with optional parameters.
15031503
*
1504-
* @param organization the organization to fork to, or null to fork to the authenticated user's account
1505-
* @param name the name of the new repository, or null to use the same name as the original repository
1506-
* @param defaultBranchOnly whether to fork only the default branch
1504+
* @param organization
1505+
* the organization to fork to, or null to fork to the authenticated user's account
1506+
* @param name
1507+
* the name of the new repository, or null to use the same name as the original repository
1508+
* @param defaultBranchOnly
1509+
* whether to fork only the default branch
15071510
* @return the newly forked repository
1508-
* @throws IOException if an I/O error occurs
1511+
* @throws IOException
1512+
* if an I/O error occurs
15091513
*/
1510-
public GHRepository createFork(@Nullable String organization, @Nullable String name, boolean defaultBranchOnly) throws IOException {
1514+
public GHRepository createFork(@Nullable String organization, @Nullable String name, boolean defaultBranchOnly)
1515+
throws IOException {
15111516

15121517
if (organization != null && organization.isEmpty()) {
15131518
throw new IllegalArgumentException("Organization cannot be empty");

0 commit comments

Comments
 (0)