TSK-1146: added ConstantNameCheck to checkstyle

This commit is contained in:
Mustapha Zorgati 2020-02-26 05:36:28 +01:00
parent 38c085ff91
commit 5770ddd63e
3 changed files with 3 additions and 2 deletions

View File

@ -201,6 +201,7 @@
<property name="lineWrappingIndentation" value="4"/>
<property name="arrayInitIndent" value="2"/>
</module>
<module name="ConstantName"/>
<module name="AbbreviationAsWordInName">
<property name="ignoreFinal" value="false"/>
<property name="allowedAbbreviationLength" value="1"/>

View File

@ -18,7 +18,7 @@ import org.springframework.web.util.UriComponentsBuilder;
@Component
public class RestHelper {
public static final RestTemplate template = getRestTemplate();
public static final RestTemplate TEMPLATE = getRestTemplate();
@Autowired Environment environment;
public String toUrl(String relativeUrl, Object... uriVariables) {

View File

@ -18,7 +18,7 @@ import org.springframework.web.util.UriComponentsBuilder;
@Component
public class RestHelper {
public static final RestTemplate template = getRestTemplate();
public static final RestTemplate TEMPLATE = getRestTemplate();
@Autowired Environment environment;
public String toUrl(String relativeUrl, Object... uriVariables) {