Apollo Portal

##### Parent Project

- Apollo

##### Project Documentation

- Project Information
- Project Reports
  - Checkstyle
  - Cobertura Test Coverage

## Checkstyle Results

The following document contains the results of Checkstyle 6.18 with google_checks.xml ruleset.

## Summary

Files | Info | Warnings | Errors
--- | --- | --- | ---
65 | 0 | 461 | 0

## Files

File | I | W | E
--- | --- | --- | ---
com/ctrip/framework/apollo/portal/PortalApplication.java | 0 | 1 | 0
com/ctrip/framework/apollo/portal/PortalSettings.java | 0 | 18 | 0
com/ctrip/framework/apollo/portal/api/API.java | 0 | 6 | 0
com/ctrip/framework/apollo/portal/api/AdminServiceAPI.java | 0 | 48 | 0
com/ctrip/framework/apollo/portal/auth/CtripLogoutHandler.java | 0 | 2 | 0
com/ctrip/framework/apollo/portal/auth/CtripUserInfoHolder.java | 0 | 5 | 0
com/ctrip/framework/apollo/portal/auth/DefaultLogoutHandler.java | 0 | 2 | 0
com/ctrip/framework/apollo/portal/auth/DefaultUserInfoHolder.java | 0 | 2 | 0
com/ctrip/framework/apollo/portal/auth/PermissionValidator.java | 0 | 11 | 0
com/ctrip/framework/apollo/portal/auth/UserInfoHolder.java | 0 | 1 | 0
com/ctrip/framework/apollo/portal/configutation/AuthConfiguration.java | 0 | 25 | 0
com/ctrip/framework/apollo/portal/configutation/ServletContextConfiguration.java | 0 | 9 | 0
com/ctrip/framework/apollo/portal/constant/PermissionType.java | 0 | 3 | 0
com/ctrip/framework/apollo/portal/constant/RoleType.java | 0 | 1 | 0
com/ctrip/framework/apollo/portal/controller/AppController.java | 0 | 19 | 0
com/ctrip/framework/apollo/portal/controller/ConfigController.java | 0 | 33 | 0
com/ctrip/framework/apollo/portal/controller/EnvController.java | 0 | 1 | 0
com/ctrip/framework/apollo/portal/controller/NamespaceController.java | 0 | 8 | 0
com/ctrip/framework/apollo/portal/controller/PermissionController.java | 0 | 42 | 0
com/ctrip/framework/apollo/portal/controller/ServerConfigController.java | 0 | 6 | 0
com/ctrip/framework/apollo/portal/controller/UserInfoController.java | 0 | 1 | 0
com/ctrip/framework/apollo/portal/customize/BizLoggingCustomizer.java | 0 | 3 | 0
com/ctrip/framework/apollo/portal/entity/form/NamespaceSyncModel.java | 0 | 3 | 0
com/ctrip/framework/apollo/portal/entity/form/NamespaceTextModel.java | 0 | 2 | 0
com/ctrip/framework/apollo/portal/entity/vo/EnvClusterInfo.java | 0 | 1 | 0
com/ctrip/framework/apollo/portal/entity/vo/ItemDiffs.java | 0 | 2 | 0
com/ctrip/framework/apollo/portal/entity/vo/NamespaceIdentifer.java | 0 | 5 | 0
com/ctrip/framework/apollo/portal/entity/vo/NamespaceVO.java | 0 | 4 | 0
com/ctrip/framework/apollo/portal/listener/CreationListener.java | 0 | 9 | 0
com/ctrip/framework/apollo/portal/repository/AppNamespaceRepository.java | 0 | 2 | 0
com/ctrip/framework/apollo/portal/repository/PermissionRepository.java | 0 | 5 | 0
com/ctrip/framework/apollo/portal/repository/RolePermissionRepository.java | 0 | 1 | 0
com/ctrip/framework/apollo/portal/repository/RoleRepository.java | 0 | 3 | 0
com/ctrip/framework/apollo/portal/repository/UserRoleRepository.java | 0 | 10 | 0
com/ctrip/framework/apollo/portal/service/AppService.java | 0 | 23 | 0
com/ctrip/framework/apollo/portal/service/ClusterService.java | 0 | 3 | 0
com/ctrip/framework/apollo/portal/service/ConfigService.java | 0 | 44 | 0
com/ctrip/framework/apollo/portal/service/NamespaceService.java | 0 | 25 | 0
com/ctrip/framework/apollo/portal/service/RoleInitializationService.java | 0 | 8 | 0
com/ctrip/framework/apollo/portal/service/RolePermissionService.java | 0 | 8 | 0
com/ctrip/framework/apollo/portal/service/ServiceLocator.java | 0 | 21 | 0
com/ctrip/framework/apollo/portal/service/txtresolver/PropertyResolver.java | 0 | 21 | 0
com/ctrip/framework/apollo/portal/util/RequestPrecondition.java | 0 | 3 | 0
com/ctrip/framework/apollo/portal/util/RoleUtils.java | 0 | 11 | 0

## Rules

Category | Rule | Violations | Severity
--- | --- | --- | ---
coding | MultipleVariableDeclarations | 1 | Warning
| OverloadMethodsDeclarationOrder | 1 | Warning
| VariableDeclarationUsageDistance | 2 | Warning
imports | CustomImportOrder sortImportsInGroupAlphabetically: `"true"` specialImportsRegExp: `"com.google"` customImportOrderRules: `"STATIC###SPECIAL_IMPORTS###THIRD_PARTY_PACKAGE###STANDARD_JAVA_PACKAGE"` | 85 | Warning
indentation | Indentation throwsIndent: `"4"` arrayInitIndent: `"2"` caseIndent: `"2"` basicOffset: `"2"` braceAdjustment: `"0"` lineWrappingIndentation: `"4"` | 1 | Warning
javadoc | JavadocMethod scope: `"public"` allowMissingThrowsTags: `"true"` allowThrowsTagsForSubclasses: `"true"` allowMissingReturnTag: `"true"` allowMissingParamTags: `"true"` minLineCount: `"2"` allowedAnnotations: `"Override, Test"` | 60 | Warning
| JavadocParagraph | 1 | Warning
| NonEmptyAtclauseDescription | 12 | Warning
| SummaryJavadoc forbiddenSummaryFragments: `"^@return the *|^This method returns |^A [{]@code [a-zA-Z0-9]+[}]( is a )"` | 27 | Warning
misc | UpperEll | 5 | Warning
naming | AbbreviationAsWordInName ignoreFinal: `"false"` allowedAbbreviationLength: `"1"` | 39 | Warning
| CatchParameterName format: `"^[a-z][a-z0-9][a-zA-Z0-9]*$"` | 18 | Warning
sizes | LineLength max: `"100"` ignorePattern: `"^package.*|^import.*|a href|href|http://|https://|ftp://"` | 103 | Warning
whitespace | EmptyLineSeparator allowNoEmptyLineBetweenFields: `"true"` | 4 | Warning
| GenericWhitespace | 1 | Warning
| OperatorWrap tokens: `"BAND, BOR, BSR, BXOR, DIV, EQUAL, GE, GT, LAND, LE, LITERAL_INSTANCEOF, LOR, LT, MINUS, MOD, NOT_EQUAL, PLUS, QUESTION, SL, SR, STAR "` option: `"NL"` | 6 | Warning
| SeparatorWrap tokens: `"COMMA"` option: `"EOL"` | 1 | Warning
| SeparatorWrap tokens: `"DOT"` option: `"nl"` | 1 | Warning
| WhitespaceAround allowEmptyConstructors: `"true"` allowEmptyMethods: `"true"` allowEmptyLoops: `"true"` allowEmptyTypes: `"true"` | 94 | Warning

## Details

### com/ctrip/framework/apollo/portal/PortalApplication.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 25

### com/ctrip/framework/apollo/portal/PortalSettings.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Import statement for 'org.slf4j.Logger' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 17
Warning | imports | CustomImportOrder | Import statement for 'org.slf4j.LoggerFactory' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 18
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.beans.factory.annotation.Autowired' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 19
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.beans.factory.annotation.Value' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 20
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.boot.actuate.health.Health' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 21
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.context.ApplicationContext' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 22
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.stereotype.Component' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 23
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.framework.apollo.core.enums.Env' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 25
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.framework.apollo.portal.api.AdminServiceAPI' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 26
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.framework.apollo.portal.entity.po.ServerConfig' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 27
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.framework.apollo.portal.repository.ServerConfigRepository' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 28
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 60
Warning | sizes | LineLength | Line is longer than 100 characters (found 101). | 77
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 82
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'healthAPI' must contain no more than '1' capital letters. | 104
Warning | misc | UpperEll | Should use uppercase 'L'. | 109
Warning | misc | UpperEll | Should use uppercase 'L'. | 121
Warning | naming | CatchParameterName | Catch parameter name 'e' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 129

### com/ctrip/framework/apollo/portal/api/API.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.beans.factory.annotation.Autowired' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 5
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.web.client.RestTemplate' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 6
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.framework.apollo.common.auth.RestTemplateFactory' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 8
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.framework.apollo.core.enums.Env' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 9
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.framework.apollo.portal.service.ServiceLocator' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 10
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'API' must contain no more than '1' capital letters. | 12

### com/ctrip/framework/apollo/portal/api/AdminServiceAPI.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.core.dto.AppDTO' import. Should be before 'com.ctrip.framework.apollo.core.enums.Env'. | 6
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.core.dto.ClusterDTO' import. Should be before 'com.ctrip.framework.apollo.core.enums.Env'. | 7
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.core.dto.ItemChangeSets' import. Should be before 'com.ctrip.framework.apollo.core.enums.Env'. | 8
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.core.dto.ItemDTO' import. Should be before 'com.ctrip.framework.apollo.core.enums.Env'. | 9
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.core.dto.NamespaceDTO' import. Should be before 'com.ctrip.framework.apollo.core.enums.Env'. | 10
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.core.dto.ReleaseDTO' import. Should be before 'com.ctrip.framework.apollo.core.enums.Env'. | 11
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'AdminServiceAPI' must contain no more than '1' capital letters. | 27
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'HealthAPI' must contain no more than '1' capital letters. | 30
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'AppAPI' must contain no more than '1' capital letters. | 38
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 40
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'appDTOs' must contain no more than '1' capital letters. | 41
Warning | sizes | LineLength | Line is longer than 100 characters (found 109). | 47
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'NamespaceAPI' must contain no more than '1' capital letters. | 58
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 60
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'namespaceDTOs' must contain no more than '1' capital letters. | 61
Warning | sizes | LineLength | Line is longer than 100 characters (found 119). | 61
Warning | sizes | LineLength | Line is longer than 100 characters (found 117). | 62
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 67
Warning | sizes | LineLength | Line is longer than 100 characters (found 124). | 69
Warning | sizes | LineLength | Line is longer than 100 characters (found 105). | 70
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 75
Warning | sizes | LineLength | Line is longer than 100 characters (found 112). | 77
Warning | sizes | LineLength | Line is longer than 100 characters (found 111). | 78
Warning | sizes | LineLength | Line is longer than 100 characters (found 113). | 82
Warning | sizes | LineLength | Line is longer than 100 characters (found 101). | 83
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'ItemAPI' must contain no more than '1' capital letters. | 89
Warning | sizes | LineLength | Line is longer than 100 characters (found 101). | 91
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 91
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'itemDTOs' must contain no more than '1' capital letters. | 92
Warning | sizes | LineLength | Line is longer than 100 characters (found 106). | 94
Warning | sizes | LineLength | Line is longer than 100 characters (found 113). | 102
Warning | sizes | LineLength | Line is longer than 100 characters (found 114). | 103
Warning | sizes | LineLength | Line is longer than 100 characters (found 114). | 106
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 106
Warning | sizes | LineLength | Line is longer than 100 characters (found 118). | 107
Warning | sizes | LineLength | Line is longer than 100 characters (found 117). | 108
Warning | sizes | LineLength | Line is longer than 100 characters (found 115). | 114
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'ClusterAPI' must contain no more than '1' capital letters. | 119
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 121
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'clusterDTOs' must contain no more than '1' capital letters. | 122
Warning | sizes | LineLength | Line is longer than 100 characters (found 110). | 122
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'ReleaseAPI' must contain no more than '1' capital letters. | 129
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 131
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'releaseDTO' must contain no more than '1' capital letters. | 134
Warning | sizes | LineLength | Line is longer than 100 characters (found 116). | 136
Warning | sizes | LineLength | Line is longer than 100 characters (found 103). | 137
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 141
Warning | sizes | LineLength | Line is longer than 100 characters (found 118). | 153

### com/ctrip/framework/apollo/portal/auth/CtripLogoutHandler.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 13
Warning | naming | CatchParameterName | Catch parameter name 'e' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 35

### com/ctrip/framework/apollo/portal/auth/CtripUserInfoHolder.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 7
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 10
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 17
Warning | naming | CatchParameterName | Catch parameter name 'e' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 23
Warning | naming | CatchParameterName | Catch parameter name 'e' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 42

### com/ctrip/framework/apollo/portal/auth/DefaultLogoutHandler.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 8
Warning | naming | CatchParameterName | Catch parameter name 'e' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 14

### com/ctrip/framework/apollo/portal/auth/DefaultUserInfoHolder.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 5
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 8

### com/ctrip/framework/apollo/portal/auth/PermissionValidator.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 18
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 18
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 25
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 25
Warning | sizes | LineLength | Line is longer than 100 characters (found 107). | 28
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 32
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 32
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 38
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 38
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 45
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 45

### com/ctrip/framework/apollo/portal/auth/UserInfoHolder.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 5

### com/ctrip/framework/apollo/portal/configutation/AuthConfiguration.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 45
Warning | sizes | LineLength | Line is longer than 100 characters (found 101). | 46
Warning | sizes | LineLength | Line is longer than 100 characters (found 106). | 47
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 52
Warning | sizes | LineLength | Line is longer than 100 characters (found 111). | 53
Warning | sizes | LineLength | Line is longer than 100 characters (found 126). | 54
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 59
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 67
Warning | coding | VariableDeclarationUsageDistance | Distance between variable 'casFilter' declaration and its first usage is 4, but allowed 3. Consider to make that variable as final if you still need to store its value in advance (before method calls that might do side effect on original value). | 68
Warning | sizes | LineLength | Line is longer than 100 characters (found 113). | 73
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 83
Warning | coding | VariableDeclarationUsageDistance | Distance between variable 'casValidationFilter' declaration and its first usage is 6, but allowed 3. Consider to make that variable as final if you still need to store its value in advance (before method calls that might do side effect on original value). | 84
Warning | sizes | LineLength | Line is longer than 100 characters (found 115). | 86
Warning | sizes | LineLength | Line is longer than 100 characters (found 121). | 92
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 103
Warning | sizes | LineLength | Line is longer than 100 characters (found 102). | 106
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 113
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 118
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 122
Warning | naming | CatchParameterName | Catch parameter name 'e' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 128
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 134
Warning | naming | CatchParameterName | Catch parameter name 'e' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 140
Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 146
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 154
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 160

### com/ctrip/framework/apollo/portal/configutation/ServletContextConfiguration.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 22
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 23
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'loggingServerIP' must contain no more than '1' capital letters. | 29
Warning | sizes | LineLength | Line is longer than 100 characters (found 117). | 32
Warning | whitespace | WhitespaceAround | WhitespaceAround: ':' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) | 32
Warning | sizes | LineLength | Line is longer than 100 characters (found 123). | 33
Warning | whitespace | WhitespaceAround | WhitespaceAround: ':' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) | 33
Warning | sizes | LineLength | Line is longer than 100 characters (found 120). | 34
Warning | whitespace | WhitespaceAround | WhitespaceAround: ':' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) | 34

### com/ctrip/framework/apollo/portal/constant/PermissionType.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 5
Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 11
Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 16

### com/ctrip/framework/apollo/portal/constant/RoleType.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | sizes | LineLength | Line is longer than 100 characters (found 110). | 12

### com/ctrip/framework/apollo/portal/controller/AppController.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.common.entity.App' import. Should be before 'org.springframework.web.client.HttpClientErrorException'. | 15
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.common.http.MultiResponseEntity' import. Should be before 'org.springframework.web.client.HttpClientErrorException'. | 16
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.common.http.RichResponseEntity' import. Should be before 'org.springframework.web.client.HttpClientErrorException'. | 17
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.core.enums.Env' import. Should be before 'org.springframework.web.client.HttpClientErrorException'. | 18
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.portal.PortalSettings' import. Should be before 'org.springframework.web.client.HttpClientErrorException'. | 19
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.portal.entity.vo.EnvClusterInfo' import. Should be before 'org.springframework.web.client.HttpClientErrorException'. | 20
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.portal.listener.AppCreationEvent' import. Should be before 'org.springframework.web.client.HttpClientErrorException'. | 21
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.portal.service.AppService' import. Should be before 'org.springframework.web.client.HttpClientErrorException'. | 22
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.framework.apollo.portal.util.RequestPrecondition.checkArgument' is in the wrong order. Should be in the 'STATIC' group, expecting not assigned imports on this line. | 26
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 46
Warning | naming | CatchParameterName | Catch parameter name 'e' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 54
Warning | sizes | LineLength | Line is longer than 100 characters (found 108). | 56
Warning | javadoc | JavadocParagraph | Empty line should be followed by <p> tag on the next line. | 65
Warning | sizes | LineLength | Line is longer than 100 characters (found 102). | 81
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 81
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 97
Warning | naming | CatchParameterName | Catch parameter name 'e' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 104
Warning | whitespace | OperatorWrap | '&&' should be on a new line. | 105
Warning | sizes | LineLength | Line is longer than 100 characters (found 123). | 110

### com/ctrip/framework/apollo/portal/controller/ConfigController.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.core.dto.ReleaseDTO' import. Should be before 'com.ctrip.framework.apollo.core.enums.Env'. | 7
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.portal.entity.form.NamespaceSyncModel' import. Should be before 'com.ctrip.framework.apollo.portal.entity.vo.ItemDiffs'. | 11
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.portal.entity.form.NamespaceTextModel' import. Should be before 'com.ctrip.framework.apollo.portal.entity.vo.ItemDiffs'. | 12
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.portal.entity.form.NamespaceReleaseModel' import. Should be before 'com.ctrip.framework.apollo.portal.entity.vo.ItemDiffs'. | 13
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.framework.apollo.portal.util.RequestPrecondition.checkModel' is in the wrong order. Should be in the 'STATIC' group, expecting not assigned imports on this line. | 28
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 37
Warning | sizes | LineLength | Line is longer than 100 characters (found 150). | 38
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 55
Warning | sizes | LineLength | Line is longer than 100 characters (found 137). | 56
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 59
Warning | sizes | LineLength | Line is longer than 100 characters (found 103). | 62
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 65
Warning | sizes | LineLength | Line is longer than 100 characters (found 136). | 66
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 69
Warning | sizes | LineLength | Line is longer than 100 characters (found 103). | 72
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 76
Warning | sizes | LineLength | Line is longer than 100 characters (found 149). | 77
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 80
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 81
Warning | sizes | LineLength | Line is longer than 100 characters (found 101). | 87
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 87
Warning | sizes | LineLength | Line is longer than 100 characters (found 153). | 88
Warning | sizes | LineLength | Line is longer than 100 characters (found 113). | 92
Warning | sizes | LineLength | Line is longer than 100 characters (found 109). | 104
Warning | sizes | LineLength | Line is longer than 100 characters (found 103). | 106
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 106
Warning | sizes | LineLength | Line is longer than 100 characters (found 103). | 111
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 111
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 113
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 119
Warning | sizes | LineLength | Line is longer than 100 characters (found 116). | 120
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 123
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 130

### com/ctrip/framework/apollo/portal/controller/EnvController.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 21

### com/ctrip/framework/apollo/portal/controller/NamespaceController.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.framework.apollo.portal.util.RequestPrecondition.checkArgument' is in the wrong order. Should be in the 'STATIC' group, expecting not assigned imports on this line. | 28
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.framework.apollo.portal.util.RequestPrecondition.checkModel' is in the wrong order. Should be in the 'STATIC' group, expecting not assigned imports on this line. | 29
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 48
Warning | sizes | LineLength | Line is longer than 100 characters (found 125). | 50
Warning | sizes | LineLength | Line is longer than 100 characters (found 116). | 57
Warning | naming | CatchParameterName | Catch parameter name 'e' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 62
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 69
Warning | sizes | LineLength | Line is longer than 100 characters (found 102). | 70

### com/ctrip/framework/apollo/portal/controller/PermissionController.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.framework.apollo.portal.util.RequestPrecondition.checkArgument' is in the wrong order. Should be in the 'STATIC' group, expecting not assigned imports on this line. | 27
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 38
Warning | sizes | LineLength | Line is longer than 100 characters (found 125). | 39
Warning | sizes | LineLength | Line is longer than 100 characters (found 110). | 43
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 48
Warning | sizes | LineLength | Line is longer than 100 characters (found 122). | 49
Warning | sizes | LineLength | Line is longer than 100 characters (found 101). | 54
Warning | sizes | LineLength | Line is longer than 100 characters (found 105). | 55
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 61
Warning | sizes | LineLength | Line is longer than 100 characters (found 119). | 62
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 62
Warning | sizes | LineLength | Line is longer than 100 characters (found 112). | 69
Warning | sizes | LineLength | Line is longer than 100 characters (found 111). | 73
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 79
Warning | sizes | LineLength | Line is longer than 100 characters (found 115). | 80
Warning | sizes | LineLength | Line is longer than 100 characters (found 119). | 81
Warning | sizes | LineLength | Line is longer than 100 characters (found 113). | 82
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 82
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 86
Warning | sizes | LineLength | Line is longer than 100 characters (found 109). | 89
Warning | sizes | LineLength | Line is longer than 100 characters (found 105). | 90
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 95
Warning | sizes | LineLength | Line is longer than 100 characters (found 117). | 96
Warning | sizes | LineLength | Line is longer than 100 characters (found 121). | 97
Warning | sizes | LineLength | Line is longer than 100 characters (found 107). | 98
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 98
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 101
Warning | sizes | LineLength | Line is longer than 100 characters (found 111). | 104
Warning | sizes | LineLength | Line is longer than 100 characters (found 107). | 105
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 109
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 110
Warning | sizes | LineLength | Line is longer than 100 characters (found 114). | 114
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 120
Warning | sizes | LineLength | Line is longer than 100 characters (found 108). | 122
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 123
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 127
Warning | sizes | LineLength | Line is longer than 100 characters (found 105). | 131
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 136
Warning | sizes | LineLength | Line is longer than 100 characters (found 110). | 138
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 139
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 142
Warning | sizes | LineLength | Line is longer than 100 characters (found 107). | 146

### com/ctrip/framework/apollo/portal/controller/ServerConfigController.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.framework.apollo.portal.util.RequestPrecondition.checkArgument' is in the wrong order. Should be in the 'STATIC' group, expecting not assigned imports on this line. | 15
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.framework.apollo.portal.util.RequestPrecondition.checkModel' is in the wrong order. Should be in the 'STATIC' group, expecting not assigned imports on this line. | 16
Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 18
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 29
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) | 39
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) | 43

### com/ctrip/framework/apollo/portal/controller/UserInfoController.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | indentation | Indentation | 'method def' child have incorrect indentation level 6, expected level should be 4. | 26

### com/ctrip/framework/apollo/portal/customize/BizLoggingCustomizer.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 12
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 25
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 33

### com/ctrip/framework/apollo/portal/entity/form/NamespaceSyncModel.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 17
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 20
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 21

### com/ctrip/framework/apollo/portal/entity/form/NamespaceTextModel.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 18
Warning | whitespace | EmptyLineSeparator | 'METHOD_DEF' should be separated from previous statement. | 21

### com/ctrip/framework/apollo/portal/entity/vo/EnvClusterInfo.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 12

### com/ctrip/framework/apollo/portal/entity/vo/ItemDiffs.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 9
Warning | whitespace | EmptyLineSeparator | 'METHOD_DEF' should be separated from previous statement. | 12

### com/ctrip/framework/apollo/portal/entity/vo/NamespaceIdentifer.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | whitespace | OperatorWrap | '+' should be on a new line. | 53
Warning | whitespace | OperatorWrap | '+' should be on a new line. | 54
Warning | whitespace | OperatorWrap | '+' should be on a new line. | 55
Warning | whitespace | OperatorWrap | '+' should be on a new line. | 56
Warning | whitespace | OperatorWrap | '+' should be on a new line. | 57

### com/ctrip/framework/apollo/portal/entity/vo/NamespaceVO.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | whitespace | EmptyLineSeparator | 'import' should be separated from previous statement. | 2
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'NamespaceVO' must contain no more than '1' capital letters. | 7
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'ItemVO' must contain no more than '1' capital letters. | 37
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 37

### com/ctrip/framework/apollo/portal/listener/CreationListener.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'appAPI' must contain no more than '1' capital letters. | 28
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'namespaceAPI' must contain no more than '1' capital letters. | 30
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 32
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'appDTO' must contain no more than '1' capital letters. | 34
Warning | naming | CatchParameterName | Catch parameter name 'e' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 39
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 45
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 46
Warning | naming | CatchParameterName | Catch parameter name 'e' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 52
Warning | sizes | LineLength | Line is longer than 100 characters (found 115). | 53

### com/ctrip/framework/apollo/portal/repository/AppNamespaceRepository.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | whitespace | GenericWhitespace | GenericWhitespace '>' should followed by whitespace. | 9
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 9

### com/ctrip/framework/apollo/portal/repository/PermissionRepository.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 14
Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 19
Warning | javadoc | NonEmptyAtclauseDescription | At-clause should have a non-empty description. | 21
Warning | javadoc | NonEmptyAtclauseDescription | At-clause should have a non-empty description. | 22
Warning | javadoc | NonEmptyAtclauseDescription | At-clause should have a non-empty description. | 23

### com/ctrip/framework/apollo/portal/repository/RolePermissionRepository.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 15

### com/ctrip/framework/apollo/portal/repository/RoleRepository.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 11
Warning | javadoc | NonEmptyAtclauseDescription | At-clause should have a non-empty description. | 13
Warning | javadoc | NonEmptyAtclauseDescription | At-clause should have a non-empty description. | 14

### com/ctrip/framework/apollo/portal/repository/UserRoleRepository.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 15
Warning | javadoc | NonEmptyAtclauseDescription | At-clause should have a non-empty description. | 17
Warning | javadoc | NonEmptyAtclauseDescription | At-clause should have a non-empty description. | 18
Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 22
Warning | javadoc | NonEmptyAtclauseDescription | At-clause should have a non-empty description. | 24
Warning | javadoc | NonEmptyAtclauseDescription | At-clause should have a non-empty description. | 25
Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 29
Warning | javadoc | NonEmptyAtclauseDescription | At-clause should have a non-empty description. | 31
Warning | javadoc | NonEmptyAtclauseDescription | At-clause should have a non-empty description. | 32
Warning | javadoc | NonEmptyAtclauseDescription | At-clause should have a non-empty description. | 33

### com/ctrip/framework/apollo/portal/service/AppService.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Import statement for 'java.util.Collections' is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group, expecting group 'THIRD_PARTY_PACKAGE' on this line. | 5
Warning | imports | CustomImportOrder | Import statement for 'java.util.List' is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group, expecting group 'THIRD_PARTY_PACKAGE' on this line. | 6
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.common.entity.App' import. Should be before 'org.springframework.web.client.HttpStatusCodeException'. | 16
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.common.utils.BeanUtils' import. Should be before 'org.springframework.web.client.HttpStatusCodeException'. | 17
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.common.utils.ExceptionUtils' import. Should be before 'org.springframework.web.client.HttpStatusCodeException'. | 18
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.core.dto.AppDTO' import. Should be before 'org.springframework.web.client.HttpStatusCodeException'. | 19
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.core.enums.Env' import. Should be before 'org.springframework.web.client.HttpStatusCodeException'. | 20
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.core.exception.BadRequestException' import. Should be before 'org.springframework.web.client.HttpStatusCodeException'. | 21
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.portal.api.AdminServiceAPI' import. Should be before 'org.springframework.web.client.HttpStatusCodeException'. | 22
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.portal.auth.UserInfoHolder' import. Should be before 'org.springframework.web.client.HttpStatusCodeException'. | 23
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.portal.entity.vo.EnvClusterInfo' import. Should be before 'org.springframework.web.client.HttpStatusCodeException'. | 24
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.portal.listener.AppCreationEvent' import. Should be before 'org.springframework.web.client.HttpStatusCodeException'. | 25
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.portal.repository.AppRepository' import. Should be before 'org.springframework.web.client.HttpStatusCodeException'. | 26
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'appAPI' must contain no more than '1' capital letters. | 43
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 51
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 59
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 61
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 71
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'appDTO' must contain no more than '1' capital letters. | 74
Warning | naming | CatchParameterName | Catch parameter name 'e' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 76
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 82
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 89
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 106

### com/ctrip/framework/apollo/portal/service/ClusterService.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.core.dto.ClusterDTO' import. Should be before 'com.ctrip.framework.apollo.core.enums.Env'. | 4
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'clusterAPI' must contain no more than '1' capital letters. | 16
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 18

### com/ctrip/framework/apollo/portal/service/ConfigService.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.common.utils.BeanUtils' import. Should be before 'org.springframework.web.client.HttpClientErrorException'. | 11
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.core.enums.Env' import. Should be before 'org.springframework.web.client.HttpClientErrorException'. | 12
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.core.dto.ItemChangeSets' import. Should be before 'org.springframework.web.client.HttpClientErrorException'. | 13
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.core.dto.ItemDTO' import. Should be before 'org.springframework.web.client.HttpClientErrorException'. | 14
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.core.dto.NamespaceDTO' import. Should be before 'org.springframework.web.client.HttpClientErrorException'. | 15
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.core.dto.ReleaseDTO' import. Should be before 'org.springframework.web.client.HttpClientErrorException'. | 16
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.core.exception.BadRequestException' import. Should be before 'org.springframework.web.client.HttpClientErrorException'. | 17
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.core.exception.NotFoundException' import. Should be before 'org.springframework.web.client.HttpClientErrorException'. | 18
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.core.exception.ServiceException' import. Should be before 'org.springframework.web.client.HttpClientErrorException'. | 19
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.core.utils.StringUtils' import. Should be before 'org.springframework.web.client.HttpClientErrorException'. | 20
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.portal.api.AdminServiceAPI' import. Should be before 'org.springframework.web.client.HttpClientErrorException'. | 21
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.portal.auth.UserInfoHolder' import. Should be before 'org.springframework.web.client.HttpClientErrorException'. | 22
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.portal.entity.vo.ItemDiffs' import. Should be before 'org.springframework.web.client.HttpClientErrorException'. | 23
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.portal.entity.vo.NamespaceIdentifer' import. Should be before 'org.springframework.web.client.HttpClientErrorException'. | 24
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.portal.entity.form.NamespaceTextModel' import. Should be before 'org.springframework.web.client.HttpClientErrorException'. | 25
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.portal.entity.form.NamespaceReleaseModel' import. Should be before 'org.springframework.web.client.HttpClientErrorException'. | 26
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.portal.service.txtresolver.ConfigTextResolver' import. Should be before 'org.springframework.web.client.HttpClientErrorException'. | 27
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'namespaceAPI' must contain no more than '1' capital letters. | 41
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'itemAPI' must contain no more than '1' capital letters. | 43
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'releaseAPI' must contain no more than '1' capital letters. | 45
Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 50
Warning | javadoc | JavadocMethod | Unused Javadoc tag. | 53
Warning | sizes | LineLength | Line is longer than 100 characters (found 108). | 64
Warning | naming | CatchParameterName | Catch parameter name 'e' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 72
Warning | sizes | LineLength | Line is longer than 100 characters (found 120). | 73
Warning | sizes | LineLength | Line is longer than 100 characters (found 116). | 80
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 80
Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 99
Warning | sizes | LineLength | Line is longer than 100 characters (found 103). | 104
Warning | whitespace | SeparatorWrap | ',' should be on the previous line. | 105
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 112
Warning | naming | CatchParameterName | Catch parameter name 'e' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 123
Warning | sizes | LineLength | Line is longer than 100 characters (found 120). | 125
Warning | sizes | LineLength | Line is longer than 100 characters (found 106). | 131
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 131
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'namespaceDTO' must contain no more than '1' capital letters. | 150
Warning | naming | CatchParameterName | Catch parameter name 'e' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 153
Warning | sizes | LineLength | Line is longer than 100 characters (found 117). | 154
Warning | sizes | LineLength | Line is longer than 100 characters (found 109). | 157
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) | 172
Warning | coding | MultipleVariableDeclarations | Each variable declaration must be in its own statement. | 179
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) | 188
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) | 193
Warning | sizes | LineLength | Line is longer than 100 characters (found 114). | 222

### com/ctrip/framework/apollo/portal/service/NamespaceService.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'itemAPI' must contain no more than '1' capital letters. | 47
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'releaseAPI' must contain no more than '1' capital letters. | 49
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'namespaceAPI' must contain no more than '1' capital letters. | 51
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 66
Warning | sizes | LineLength | Line is longer than 100 characters (found 101). | 73
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 77
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 93
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 99
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 102
Warning | sizes | LineLength | Line is longer than 100 characters (found 130). | 105
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 107
Warning | whitespace | WhitespaceAround | WhitespaceAround: 'else' is not preceded with whitespace. | 110
Warning | whitespace | WhitespaceAround | WhitespaceAround: '}' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) | 110
Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 115
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'namespaceVO' must contain no more than '1' capital letters. | 128
Warning | naming | CatchParameterName | Catch parameter name 'e' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 132
Warning | sizes | LineLength | Line is longer than 100 characters (found 105). | 143
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'namespaceVO' must contain no more than '1' capital letters. | 144
Warning | naming | CatchParameterName | Catch parameter name 'e' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 158
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'itemDTO' must contain no more than '1' capital letters. | 169
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'itemVO' must contain no more than '1' capital letters. | 171
Warning | sizes | LineLength | Line is longer than 100 characters (found 114). | 190
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'itemDTO' must contain no more than '1' capital letters. | 214
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'parseItemVO' must contain no more than '1' capital letters. | 214
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'itemVO' must contain no more than '1' capital letters. | 216

### com/ctrip/framework/apollo/portal/service/RoleInitializationService.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 29
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 36
Warning | sizes | LineLength | Line is longer than 100 characters (found 104). | 45
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 52
Warning | sizes | LineLength | Line is longer than 100 characters (found 104). | 71
Warning | sizes | LineLength | Line is longer than 100 characters (found 103). | 76
Warning | sizes | LineLength | Line is longer than 100 characters (found 119). | 103
Warning | sizes | LineLength | Line is longer than 100 characters (found 116). | 108

### com/ctrip/framework/apollo/portal/service/RolePermissionService.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 47
Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 73
Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 100
Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 120
Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 141
Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 148
Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 179
Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 194

### com/ctrip/framework/apollo/portal/service/ServiceLocator.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Import statement for 'org.slf4j.Logger' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 10
Warning | imports | CustomImportOrder | Import statement for 'org.slf4j.LoggerFactory' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 11
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.beans.factory.annotation.Autowired' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 12
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.boot.autoconfigure.web.HttpMessageConverters' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 13
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.http.client.HttpComponentsClientHttpRequestFactory' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 14
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.http.client.SimpleClientHttpRequestFactory' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 15
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.stereotype.Service' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 16
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.web.client.RestTemplate' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 17
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.framework.apollo.core.MetaDomainConsts' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 19
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.framework.apollo.core.dto.ServiceDTO' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 20
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.framework.apollo.core.enums.Env' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 21
Warning | imports | CustomImportOrder | Import statement for 'com.ctrip.framework.apollo.core.exception.ServiceException' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 22
Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 24
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 66
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'serviceDTOs' must contain no more than '1' capital letters. | 72
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 73
Warning | whitespace | WhitespaceAround | WhitespaceAround: 'else' is not preceded with whitespace. | 75
Warning | whitespace | WhitespaceAround | WhitespaceAround: '}' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) | 75
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) | 75
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 83
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 113

### com/ctrip/framework/apollo/portal/service/txtresolver/PropertyResolver.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.common.utils.BeanUtils' import. Should be before 'com.ctrip.framework.apollo.core.exception.BadRequestException'. | 6
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 38
Warning | sizes | LineLength | Line is longer than 100 characters (found 115). | 43
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 74
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 78
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 79
Warning | whitespace | WhitespaceAround | WhitespaceAround: 'else' is not preceded with whitespace. | 84
Warning | whitespace | WhitespaceAround | WhitespaceAround: '}' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) | 84
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 94
Warning | sizes | LineLength | Line is longer than 100 characters (found 135). | 106
Warning | misc | UpperEll | Should use uppercase 'L'. | 110
Warning | sizes | LineLength | Line is longer than 100 characters (found 111). | 114
Warning | misc | UpperEll | Should use uppercase 'L'. | 116
Warning | sizes | LineLength | Line is longer than 100 characters (found 101). | 120
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) | 134
Warning | misc | UpperEll | Should use uppercase 'L'. | 135
Warning | sizes | LineLength | Line is longer than 100 characters (found 105). | 136
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 136
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) | 136
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'deleteNormalKVItem' must contain no more than '1' capital letters. | 161
Warning | sizes | LineLength | Line is longer than 100 characters (found 117). | 194

### com/ctrip/framework/apollo/portal/util/RequestPrecondition.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 17
Warning | coding | OverloadMethodsDeclarationOrder | Overload methods should not be split. Previous overloaded method located at line '13'. | 21
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 21

### com/ctrip/framework/apollo/portal/util/RoleUtils.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 12
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 16
Warning | whitespace | EmptyLineSeparator | 'METHOD_DEF' should be separated from previous statement. | 19
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 19
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 23
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 27
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 31
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 35
Warning | sizes | LineLength | Line is longer than 100 characters (found 101). | 36
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 39
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 43