TSK-1146: added ConstantNameCheck to checkstyle
This commit is contained in:
parent
38c085ff91
commit
5770ddd63e
|
@ -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"/>
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue