Java tutorial
//package com.java2s; public class Main { public static void appendHelper(StringBuilder sb, String tag, String val) { if (val != null) sb.append("\n" + tag + ": " + val); } }