jodd-db/src/main/java/jodd/db/oom/DbMetaUtil.java
private static String quoteIfRequired(final String name, final boolean alwaysQuoteNames, final char quoteChar) {
		if (StringUtil.detectQuoteChar(name) != 0) {
			return name;   // already quoted
		}
		if (alwaysQuoteNames && quoteChar != 0) {
			return quoteChar + name + quoteChar;
		}
		return name;
	}
private static String quoteIfRequired(final String name, final boolean alwaysQuoteNames, final char quoteChar) {
		if (StringUtil.detectQuoteChar(name) != 0) {
			return name;   // already quoted
		}
		if (alwaysQuoteNames && quoteChar != 0) {
			return quoteChar + name + quoteChar;
		}
		return name;
	}
private static String quoteIfRequired ( final String name , final boolean alwaysQuoteNames , final char quoteChar ) { if ( StringUtil . detectQuoteChar ( name ) != 0 ) { return name ; // already quoted } if ( alwaysQuoteNames && quoteChar != 0 ) { return quoteChar + name + quoteChar ; } return name ; }
---------------------------------------------------------------- privates
---------------------------------------------------------------- privates