MCPcopy Index your code
hub / github.com/OpenFeign/feign / stripBraces

Method stripBraces

core/src/main/java/feign/template/Expressions.java:118–126  ·  view source on GitHub ↗
(String expression)

Source from the content-addressed store, hash-verified

116 }
117
118 private static String stripBraces(String expression) {
119 if (expression == null) {
120 return null;
121 }
122 if (expression.startsWith("{") && expression.endsWith("}")) {
123 return expression.substring(1, expression.length() - 1);
124 }
125 return expression;
126 }
127
128 /**
129 * Expression that adheres to Simple String Expansion as outlined in <a

Callers 1

createMethod · 0.95

Calls 1

lengthMethod · 0.65

Tested by

no test coverage detected