Skip to content

Commit

Permalink
removed unused throws statement
Browse files Browse the repository at this point in the history
  • Loading branch information
janinko committed Aug 28, 2012
1 parent 58d10df commit c268a5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/kohsuke/github/GitHub.java
Original file line number Diff line number Diff line change
Expand Up @@ -129,11 +129,11 @@ public static GitHub connect() throws IOException {
return new GitHub(props.getProperty("login"),props.getProperty("token"),props.getProperty("password"));
}

public static GitHub connect(String login, String apiToken) throws IOException {
public static GitHub connect(String login, String apiToken){
return new GitHub(login,apiToken,null);
}

public static GitHub connect(String login, String apiToken, String password) throws IOException {
public static GitHub connect(String login, String apiToken, String password){
return new GitHub(login,apiToken,password);
}

Expand Down

0 comments on commit c268a5d

Please sign in to comment.