The ternaty expression can be simplified to `value` since "%s" wil print "null" when value is null (see http://docs.oracle.com/javase/7/docs/api/java/util/Formatter.html#syntax).