List of usage examples for org.apache.commons.lang3 StringUtils defaultString
public static String defaultString(final String str)
Returns either the passed in String, or if the String is null , an empty String ("").
StringUtils.defaultString(null) = "" StringUtils.defaultString("") = "" StringUtils.defaultString("bat") = "bat"
From source file:org.glom.web.server.Log.java
public static void warn(final String message) { com.allen_sauer.gwt.log.client.Log.warn(getServletMethodName() + StringUtils.defaultString(message)); }
From source file:org.glom.web.server.Log.java
public static void warn(final String documentID, final String tableName, final String message, final Throwable e) { com.allen_sauer.gwt.log.client.Log.warn(getServletMethodName() + StringUtils.defaultString(documentID) + " - " + StringUtils.defaultString(tableName) + ": " + StringUtils.defaultString(message), e); }
From source file:org.glom.web.server.Log.java
public static void warn(final String documentID, final String tableName, final String message) { com.allen_sauer.gwt.log.client.Log.warn(getServletMethodName() + StringUtils.defaultString(documentID) + " - " + StringUtils.defaultString(tableName) + ": " + StringUtils.defaultString(message)); }
From source file:org.glom.web.server.Log.java
public static void warn(final String documentID, final String message, final Throwable e) { com.allen_sauer.gwt.log.client.Log.warn(getServletMethodName() + StringUtils.defaultString(documentID) + ": " + StringUtils.defaultString(message), e); }
From source file:org.glom.web.server.Log.java
public static void warn(final String documentID, final String message) { com.allen_sauer.gwt.log.client.Log.warn(getServletMethodName() + StringUtils.defaultString(documentID) + ": " + StringUtils.defaultString(message)); }
From source file:org.glom.web.server.Log.java
public static void info(final String message, final Throwable e) { com.allen_sauer.gwt.log.client.Log.info(getServletMethodName() + StringUtils.defaultString(message), e); }