Formatting

This commit is contained in:
Phillip Webb
2014-12-03 09:12:28 -08:00
parent 509201907c
commit ba67e16258
5 changed files with 25 additions and 19 deletions

View File

@@ -34,7 +34,8 @@ class ExpressionTree extends ReflectionWrapper {
private final Class<?> newArrayTreeType = findClass("com.sun.source.tree.NewArrayTree");
private final Method arrayValueMethod = findMethod(this.newArrayTreeType, "getInitializers");
private final Method arrayValueMethod = findMethod(this.newArrayTreeType,
"getInitializers");
public ExpressionTree(Object instance) {
super(instance);

View File

@@ -115,7 +115,8 @@ public class JavaCompilerFieldValuesParser implements FieldValuesParser {
return defaultValue;
}
private Object getValue(ExpressionTree expression, Object defaultValue) throws Exception {
private Object getValue(ExpressionTree expression, Object defaultValue)
throws Exception {
Object literalValue = expression.getLiteralValue();
if (literalValue != null) {
return literalValue;