/** * @deprecated * Use {@link #createRepository(String)} that uses a builder pattern to let you control every aspect. */ public GHRepository createRepository(String name, String description, String homepage, GHTeam team, boolean isPublic) throws IOException { if (team==null) throw new IllegalArgumentException("Invalid team"); return createRepository(name).description(description).homepage(homepage).private_(!isPublic).team(team).create(); }
/** * @deprecated * Use {@link #createRepository(String)} that uses a builder pattern to let you control every aspect. */ public GHRepository createRepository(String name, String description, String homepage, GHTeam team, boolean isPublic) throws IOException { if (team==null) throw new IllegalArgumentException("Invalid team"); return createRepository(name).description(description).homepage(homepage).private_(!isPublic).team(team).create(); }