public boolean matches(GHRepository repo) throws IOException {
        return userName.equals(repo.getOwner().getLogin()) // TODO: use getOwnerName
                && repositoryName.equals(repo.getName())
                && host.equals(repo.getHtmlUrl().getHost());
    }
public boolean matches ( GHRepository repo ) throws IOException { return userName . equals ( repo . getOwner ( ) . getLogin ( ) ) && repositoryName . equals ( repo . getName ( ) ) && host . equals ( repo . getHtmlUrl ( ) . getHost ( ) ) ; }
Does this repository match the repository referenced in the given {@link GHCommitPointer}?