Skip to content

Instantly share code, notes, and snippets.

<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.2//EN"
"http://www.puppycrawl.com/dtds/configuration_1_2.dtd"><!-- Generated by Sonar -->
<module name="Checker">
<module name="SuppressionCommentFilter"/>
<module name="SuppressWarningsFilter"/>
<module name="FileTabCharacter">
<property name="severity" value="error"/>
</module>
<module name="NewlineAtEndOfFile">
<property name="severity" value="error"/>
@smilix
smilix / toString_template.vm
Last active April 28, 2016 13:53
IntelliJ toString template (uses String.format)
public java.lang.String toString() {
return String.format(
"$classname [##
#set ($i = 0)
#foreach ($member in $members)
#if ($i != 0)
, ##
#end
$member.name=%s##
#set ($i = $i + 1)