Skip to content

Commit

Permalink
Merge pull request #25456 from qmonmert/redundantnewexpressioninconst…
Browse files Browse the repository at this point in the history
…antarraycreation

Clean code: Redundant new expression in constant array creation
  • Loading branch information
DanielFran authored Mar 10, 2024
2 parents f4fd0db + 13b17e5 commit 595adc9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ import java.util.concurrent.TimeUnit;
@Profile({JHipsterConstants.SPRING_PROFILE_PRODUCTION})
public class StaticResourcesWebConfiguration implements WebMvcConfigurer {

protected static final String[] RESOURCE_LOCATIONS = new String[]{"classpath:/static/", "classpath:/static/content/", "classpath:/static/i18n/"};
protected static final String[] RESOURCE_PATHS = new String[]{"/*.js", "/*.css", "/*.svg", "/*.png", "*.ico", "/content/**", "/i18n/*"};
protected static final String[] RESOURCE_LOCATIONS = {"classpath:/static/", "classpath:/static/content/", "classpath:/static/i18n/"};
protected static final String[] RESOURCE_PATHS = {"/*.js", "/*.css", "/*.svg", "/*.png", "*.ico", "/content/**", "/i18n/*"};

private final JHipsterProperties jhipsterProperties;

Expand Down

0 comments on commit 595adc9

Please sign in to comment.