src/test/java/com/jcabi/github/RtHooksITCase.java
/**
     * Create a new hook in a repository.
     * @param repo Repository
     * @return Hook
     * @throws IOException If there is any I/O problem
     */
Create a new hook in a repository.
@param repo Repository
@return Hook
@throws IOException If there is any I/O problem
Create a new hook in a repository . @param repo Repository @return Hook @throws IOException If there is any I / O problem
private static Hook createHook(final Repo repo) throws IOException {
        return repo.hooks().create(
            "geocommit", Collections.<String, String>emptyMap()
        );
    }
private static Hook createHook ( final Repo repo ) throws IOException { return repo . hooks ( ) . create ( "geocommit" , Collections . < String , String > emptyMap ( ) ) ; }
Create a new hook in a repository.
Create a new hook in a repository .