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

Method popParams

java/org/apache/tomcat/util/digester/Digester.java:2016–2026  ·  view source on GitHub ↗

Pop the top object off of the parameters stack, and return it. If there are no objects on the stack, return null . The parameters stack is used to store CallMethodRule parameters. See #params. @return the top object on the parameters stack

()

Source from the content-addressed store, hash-verified

2014 * @return the top object on the parameters stack
2015 */
2016 public Object popParams() {
2017 try {
2018 if (log.isTraceEnabled()) {
2019 log.trace("Popping params");
2020 }
2021 return params.pop();
2022 } catch (EmptyStackException e) {
2023 log.warn(sm.getString("digester.emptyStack"));
2024 return null;
2025 }
2026 }
2027
2028
2029 /**

Callers 2

endMethod · 0.80
endMethod · 0.80

Calls 5

isTraceEnabledMethod · 0.65
traceMethod · 0.65
warnMethod · 0.65
getStringMethod · 0.65
popMethod · 0.45

Tested by

no test coverage detected