Skip to content

Commit

Permalink
Polishing
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrannen committed Apr 28, 2024
1 parent a662f5e commit fc3ddda
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Expand Up @@ -483,7 +483,7 @@ static class BirdsIndexAccessor implements IndexAccessor {

@Override
public Class<?>[] getSpecificTargetClasses() {
return new Class[] { Birds.class };
return new Class<?>[] { Birds.class };
}

@Override
Expand Down Expand Up @@ -751,7 +751,7 @@ static class BirdNameToColorMappingsIndexAccessor implements IndexAccessor {

@Override
public Class<?>[] getSpecificTargetClasses() {
return new Class[] { BirdNameToColorMappings.class };
return new Class<?>[] { BirdNameToColorMappings.class };
}

@Override
Expand Down Expand Up @@ -791,7 +791,7 @@ private static class JacksonArrayNodeIndexAccessor implements IndexAccessor {

@Override
public Class<?>[] getSpecificTargetClasses() {
return new Class[] { ArrayNode.class };
return new Class<?>[] { ArrayNode.class };
}

@Override
Expand Down
Expand Up @@ -5644,7 +5644,7 @@ void mixingItUp_propertyAccessIndexerOpLtTernaryRootNull() {
void variantGetter() {
Payload2Holder holder = new Payload2Holder();
StandardEvaluationContext ctx = new StandardEvaluationContext();
ctx.addPropertyAccessor(new MyAccessor());
ctx.addPropertyAccessor(new MyPropertyAccessor());
expression = parser.parseExpression("payload2.var1");
Object v = expression.getValue(ctx,holder);
assertThat(v).isEqualTo("abc");
Expand Down Expand Up @@ -6296,7 +6296,7 @@ public T getPayload() {
}


static class MyAccessor implements CompilablePropertyAccessor {
static class MyPropertyAccessor implements CompilablePropertyAccessor {

private Method method;

Expand Down Expand Up @@ -7268,7 +7268,7 @@ public ReflectiveIndexAccessor(Class<?> targetType, Class<?> indexType, String r

@Override
public Class<?>[] getSpecificTargetClasses() {
return new Class[] { this.targetType };
return new Class<?>[] { this.targetType };
}

@Override
Expand Down Expand Up @@ -7421,7 +7421,7 @@ private static class FruitsIndexAccessor implements CompilableIndexAccessor {

@Override
public Class<?>[] getSpecificTargetClasses() {
return new Class[] { this.targetType };
return new Class<?>[] { this.targetType };
}

@Override
Expand Down

0 comments on commit fc3ddda

Please sign in to comment.