Restore static final formatting

Restore static final constants to upper case formatting.

See gh-10457
This commit is contained in:
Phillip Webb
2017-12-13 11:27:17 -08:00
parent 6a55623910
commit 2c429ba77d
10 changed files with 58 additions and 46 deletions

View File

@@ -123,7 +123,7 @@ public final class Layouts {
*/
public static class War implements Layout {
private static final Map<LibraryScope, String> scopeDestinations;
private static final Map<LibraryScope, String> SCOPE_DESTINATIONS;
static {
Map<LibraryScope, String> map = new HashMap<LibraryScope, String>();
@@ -131,7 +131,7 @@ public final class Layouts {
map.put(LibraryScope.CUSTOM, "WEB-INF/lib/");
map.put(LibraryScope.RUNTIME, "WEB-INF/lib/");
map.put(LibraryScope.PROVIDED, "WEB-INF/lib-provided/");
scopeDestinations = Collections.unmodifiableMap(map);
SCOPE_DESTINATIONS = Collections.unmodifiableMap(map);
}
@Override
@@ -141,7 +141,7 @@ public final class Layouts {
@Override
public String getLibraryDestination(String libraryName, LibraryScope scope) {
return scopeDestinations.get(scope);
return SCOPE_DESTINATIONS.get(scope);
}
@Override