Reformat code
This commit is contained in:
@@ -138,18 +138,18 @@ public class ConfigurationMetadata {
|
||||
it.remove();
|
||||
}
|
||||
}
|
||||
if (candidates.size() == 1) {
|
||||
if (candidates.size() == 1) {
|
||||
return candidates.get(0);
|
||||
}
|
||||
for (ItemMetadata candidate : candidates) {
|
||||
if (ObjectUtils.nullSafeEquals(candidate.getSourceType(), metadata.getSourceType())) {
|
||||
if (ObjectUtils.nullSafeEquals(candidate.getSourceType(),
|
||||
metadata.getSourceType())) {
|
||||
return candidate;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
public static String nestedPrefix(String prefix, String name) {
|
||||
String nestedPrefix = (prefix == null ? "" : prefix);
|
||||
String dashedName = toDashedCase(name);
|
||||
|
||||
@@ -79,7 +79,7 @@ public class ItemHint implements Comparable<ItemHint> {
|
||||
|
||||
public static ItemHint newHint(String name, ValueHint... values) {
|
||||
return new ItemHint(name, Arrays.asList(values),
|
||||
Collections.<ValueProvider> emptyList());
|
||||
Collections.<ValueProvider>emptyList());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user