MCPcopy Index your code
hub / github.com/zaproxy/zaproxy / getSQL

Method getSQL

zap/src/main/java/org/zaproxy/zap/db/sql/DbSQL.java:160–167  ·  view source on GitHub ↗
(String key)

Source from the content-addressed store, hash-verified

158 }
159
160 public static String getSQL(String key) {
161 String str = sqlProperties.getProperty(key);
162 if (str != null) {
163 // trailing spaces can cause havoc ;)
164 str = str.trim();
165 }
166 return str;
167 }
168
169 public static String getSQL(String key, Object... params) {
170 String str = MessageFormat.format(getSQL(key), params);

Callers 15

SqlTableParamClass · 0.95
reconnectMethod · 0.95
SqlTableContextClass · 0.95
reconnectMethod · 0.95
SqlTableAlertTagClass · 0.95
reconnectMethod · 0.95
SqlTableSessionClass · 0.95
SqlTableAlertClass · 0.95
updateTableMethod · 0.95
SqlTableTagClass · 0.95
reconnectMethod · 0.95
getPreparedStatementMethod · 0.95

Calls 2

getPropertyMethod · 0.45
formatMethod · 0.45

Tested by

no test coverage detected