MCPcopy Index your code
hub / github.com/apache/tomcat / quote

Method quote

java/org/apache/catalina/util/Strftime.java:217–223  ·  view source on GitHub ↗

Quotes a string literal for use in a SimpleDateFormat pattern if it is not already inside quotes. @param str the string to quote @param insideQuotes whether the current position is inside quotes @return the quoted string

(String str, boolean insideQuotes)

Source from the content-addressed store, hash-verified

215 * @return the quoted string
216 */
217 protected String quote(String str, boolean insideQuotes) {
218 String retVal = str;
219 if (!insideQuotes) {
220 retVal = '\'' + retVal + '\'';
221 }
222 return retVal;
223 }
224
225 /**
226 * Try to get the Java Date/Time formatting associated with the C standard provided.

Callers 15

translateCommandMethod · 0.95
parsePoolPropertiesMethod · 0.45
requestMBeanNamesMethod · 0.45
connectorMBeanNamesMethod · 0.45
registerJmxMethod · 0.45
UriUtilClass · 0.45
getNameMethod · 0.45
createObjectNameMethod · 0.45
getONameForUpgradeMethod · 0.45
registerMemberMethod · 0.45
createObjectNameMethod · 0.45

Calls

no outgoing calls

Tested by 3

requestMBeanNamesMethod · 0.36
connectorMBeanNamesMethod · 0.36