FINERACT-821 Added and Enforced LocalVariableName Checkstyle

This commit is contained in:
Manthan Surkar
2020-07-19 15:47:35 +02:00
committed by Michael Vorburger ⛑️
parent 55b44dbf12
commit ec9513c3c7
10 changed files with 212 additions and 212 deletions
@@ -46,9 +46,9 @@ public class WebFrontEndConfiguration implements WebMvcConfigurer {
LOG.info("Found Swagger UI at {}", fullPathToSwaggerUiJs);
String fullPathToSwaggerUi = fullPathToSwaggerUiJs.substring(0, fullPathToSwaggerUiJs.lastIndexOf("/") + 1);
String[] SWAGGER_RESOURCE_LOCATIONS = { "classpath:/static/swagger-ui/", "classpath:" + fullPathToSwaggerUi };
final String[] swaggerResourceLocations = { "classpath:/static/swagger-ui/", "classpath:" + fullPathToSwaggerUi };
registry.addResourceHandler("/swagger-ui/**").addResourceLocations(SWAGGER_RESOURCE_LOCATIONS);
registry.addResourceHandler("/swagger-ui/**").addResourceLocations(swaggerResourceLocations);
}
@Override