src/main/java/net/dontdrinkandroot/gitki/wicket/page/file/edit/MarkdownEditPage.java
/**
     * Creates default content for a new file.
     *
     * @return The content.
     */
Creates default content for a new file.
@return The content.
Creates default content for a new file . @return The content .
protected String createDefaultContent()
    {
        String name = this.getModelObject().getNameWithoutExtension();
        String content = name;
        content += "\n";
        content += String.join("", Collections.nCopies(name.length(), "="));
        content += "\n\n";
        return content;
    }
protected String createDefaultContent ( ) { String name = this . getModelObject ( ) . getNameWithoutExtension ( ) ; String content = name ; content += "\n" ; content += String . join ( "" , Collections . nCopies ( name . length ( ) , "=" ) ) ; content += "\n\n" ; return content ; }
Creates default content for a new file.
Creates default content for a new file .