org.kohsuke.github.JsonUsersWithDetails Maven / Gradle / Ivy
package org.kohsuke.github;
import java.io.IOException;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
/**
* @author Kohsuke Kawaguchi
*/
class JsonUsersWithDetails {
public List users;
public Set toSet(GitHub root) throws IOException {
Set r = new HashSet();
for (GHUser u : users)
r.add(root.getUser(u));
return r;
}
}