}
if (currentList != null) {
- if(bindingArguments != null) {
+ if (bindingArguments != null) {
bindingArguments.add(currentList.getBindingPathArgument(null));
}
return currentList;
final Codec<Object, Object> casted = (Codec) instanceIdentifierCodec;
return casted;
} else if (Boolean.class.equals(valueType)) {
- if(instantiatedType instanceof EmptyTypeDefinition) {
+ if (instantiatedType instanceof EmptyTypeDefinition) {
return ValueTypeCodec.EMPTY_CODEC;
}
} else if (BindingReflections.isBindingClass(valueType)) {
} catch (final Exception e) {
throw new IllegalStateException("Unable to load codec for " + valueType, e);
}
- } else if(rootType instanceof LeafrefTypeDefinition) {
+ } else if (rootType instanceof LeafrefTypeDefinition) {
final Entry<GeneratedType, Object> typeWithSchema = context.getTypeWithSchema(valueType);
final Object schema = typeWithSchema.getValue();
Preconditions.checkState(schema instanceof TypeDefinition<?>);