Fixed a bug in the databinding of the 'private' field.

Luca pointed out this bug in
ae7a616e92
This commit is contained in:
Kohsuke Kawaguchi
2014-03-28 09:47:27 -07:00
parent d4b3166036
commit 6a903d65a7
2 changed files with 6 additions and 4 deletions

View File

@@ -7,7 +7,6 @@ import java.util.Arrays;
*/
public class Foo {
public static void main(String[] args) throws Exception {
System.out.println(GitHub.connect().createToken(
Arrays.asList("user", "repo", "delete_repo", "notifications", "gist"), "GitHub API", null).getToken());
System.out.println(GitHub.connect().getOrganization("cloudbees").getRepository("grandcentral").isPrivate());
}
}