Apollo AdminService

##### 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
--- | --- | --- | ---
17 | 0 | 139 | 0

## Files

File | I | W | E
--- | --- | --- | ---
com/ctrip/framework/apollo/adminservice/AdminServiceApplication.java | 0 | 2 | 0
com/ctrip/framework/apollo/adminservice/AdminServiceHealthIndicator.java | 0 | 1 | 0
com/ctrip/framework/apollo/adminservice/aop/NamespaceLockAspect.java | 0 | 12 | 0
com/ctrip/framework/apollo/adminservice/aop/PreAcquireNamespaceLock.java | 0 | 1 | 0
com/ctrip/framework/apollo/adminservice/controller/AppController.java | 0 | 24 | 0
com/ctrip/framework/apollo/adminservice/controller/AppNamespaceController.java | 0 | 10 | 0
com/ctrip/framework/apollo/adminservice/controller/ClusterController.java | 0 | 21 | 0
com/ctrip/framework/apollo/adminservice/controller/CommitController.java | 0 | 2 | 0
com/ctrip/framework/apollo/adminservice/controller/ItemController.java | 0 | 28 | 0
com/ctrip/framework/apollo/adminservice/controller/ItemSetController.java | 0 | 6 | 0
com/ctrip/framework/apollo/adminservice/controller/NamespaceController.java | 0 | 26 | 0
com/ctrip/framework/apollo/adminservice/controller/NamespaceLockController.java | 0 | 2 | 0
com/ctrip/framework/apollo/adminservice/controller/ReleaseController.java | 0 | 4 | 0

## Rules

Category | Rule | Violations | Severity
--- | --- | --- | ---
blocks | NeedBraces | 7 | Warning
imports | CustomImportOrder sortImportsInGroupAlphabetically: `"true"` specialImportsRegExp: `"com.google"` customImportOrderRules: `"STATIC###SPECIAL_IMPORTS###THIRD_PARTY_PACKAGE###STANDARD_JAVA_PACKAGE"` | 71 | Warning
javadoc | JavadocMethod scope: `"public"` allowMissingThrowsTags: `"true"` allowThrowsTagsForSubclasses: `"true"` allowMissingReturnTag: `"true"` allowMissingParamTags: `"true"` minLineCount: `"2"` allowedAnnotations: `"Override, Test"` | 25 | Warning
| SummaryJavadoc forbiddenSummaryFragments: `"^@return the *|^This method returns |^A [{]@code [a-zA-Z0-9]+[}]( is a )"` | 2 | Warning
naming | AbbreviationAsWordInName ignoreFinal: `"false"` allowedAbbreviationLength: `"1"` | 2 | Warning
| CatchParameterName format: `"^[a-z][a-z0-9][a-zA-Z0-9]*$"` | 2 | Warning
sizes | LineLength max: `"100"` ignorePattern: `"^package.*|^import.*|a href|href|http://|https://|ftp://"` | 20 | Warning
whitespace | EmptyLineSeparator allowNoEmptyLineBetweenFields: `"true"` | 1 | Warning
| WhitespaceAround allowEmptyConstructors: `"true"` allowEmptyMethods: `"true"` allowEmptyLoops: `"true"` allowEmptyTypes: `"true"` | 9 | Warning

## Details

### com/ctrip/framework/apollo/adminservice/AdminServiceApplication.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | whitespace | EmptyLineSeparator | 'CLASS_DEF' should be separated from previous statement. | 17
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 27

### com/ctrip/framework/apollo/adminservice/AdminServiceHealthIndicator.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.biz.service.AppService' import. Should be before 'org.springframework.stereotype.Component'. | 9

### com/ctrip/framework/apollo/adminservice/aop/NamespaceLockAspect.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | javadoc | SummaryJavadoc | First sentence of Javadoc is incomplete (period is missing) or not present. | 24
Warning | sizes | LineLength | Line is longer than 100 characters (found 102). | 44
Warning | sizes | LineLength | Line is longer than 100 characters (found 103). | 45
Warning | sizes | LineLength | Line is longer than 100 characters (found 107). | 49
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 55
Warning | sizes | LineLength | Line is longer than 100 characters (found 104). | 62
Warning | naming | CatchParameterName | Catch parameter name 'e' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 91
Warning | naming | CatchParameterName | Catch parameter name 'e' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. | 94
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 94
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 115
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 117
Warning | sizes | LineLength | Line is longer than 100 characters (found 113). | 121

### com/ctrip/framework/apollo/adminservice/aop/PreAcquireNamespaceLock.java

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

### com/ctrip/framework/apollo/adminservice/controller/AppController.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.data.domain.Pageable' 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 'org.springframework.web.bind.annotation.PathVariable' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 7
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.web.bind.annotation.RequestBody' 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 'org.springframework.web.bind.annotation.RequestMapping' 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 'org.springframework.web.bind.annotation.RequestMethod' 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.springframework.web.bind.annotation.RequestParam' 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.web.bind.annotation.RestController' 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 'com.ctrip.framework.apollo.common.entity.App' 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 'com.ctrip.framework.apollo.biz.service.AdminService' 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 'com.ctrip.framework.apollo.biz.service.AppService' 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 'com.ctrip.framework.apollo.common.utils.BeanUtils' 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.common.utils.InputValidator' 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 'com.ctrip.framework.apollo.core.dto.AppDTO' 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.exception.BadRequestException' 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.exception.NotFoundException' 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.utils.StringUtils' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 22
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 33
Warning | sizes | LineLength | Line is longer than 100 characters (found 118). | 36
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 51
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 54
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 58
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 70
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 73

### com/ctrip/framework/apollo/adminservice/controller/AppNamespaceController.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.common.entity.AppNamespace' import. Should be before 'org.springframework.web.bind.annotation.RestController'. | 10
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.biz.service.AppNamespaceService' import. Should be before 'org.springframework.web.bind.annotation.RestController'. | 11
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.common.utils.BeanUtils' import. Should be before 'org.springframework.web.bind.annotation.RestController'. | 12
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.core.dto.AppNamespaceDTO' import. Should be before 'org.springframework.web.bind.annotation.RestController'. | 13
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 30
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 35
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 36
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 41
Warning | whitespace | WhitespaceAround | WhitespaceAround: 'else' is not preceded with whitespace. | 44
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) | 44

### com/ctrip/framework/apollo/adminservice/controller/ClusterController.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.bind.annotation.PathVariable' 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 'org.springframework.web.bind.annotation.RequestBody' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 7
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.web.bind.annotation.RequestMapping' 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 'org.springframework.web.bind.annotation.RequestMethod' 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 'org.springframework.web.bind.annotation.RequestParam' 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.springframework.web.bind.annotation.RestController' 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 'com.ctrip.framework.apollo.biz.entity.Cluster' 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 'com.ctrip.framework.apollo.biz.service.ClusterService' 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 'com.ctrip.framework.apollo.common.utils.BeanUtils' 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 'com.ctrip.framework.apollo.common.utils.InputValidator' 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 'com.ctrip.framework.apollo.core.dto.ClusterDTO' 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.exception.BadRequestException' 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 'com.ctrip.framework.apollo.core.exception.NotFoundException' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 19
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 27
Warning | sizes | LineLength | Line is longer than 100 characters (found 102). | 28
Warning | sizes | LineLength | Line is longer than 100 characters (found 120). | 30
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 45
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 49
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 60
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 64

### com/ctrip/framework/apollo/adminservice/controller/CommitController.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 23
Warning | whitespace | WhitespaceAround | WhitespaceAround: '{' is not preceded with whitespace. | 25

### com/ctrip/framework/apollo/adminservice/controller/ItemController.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. | 6
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.web.bind.annotation.PathVariable' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 7
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.web.bind.annotation.RequestBody' 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 'org.springframework.web.bind.annotation.RequestMapping' 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 'org.springframework.web.bind.annotation.RequestMethod' 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.springframework.web.bind.annotation.RequestParam' 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.web.bind.annotation.RestController' 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 'com.ctrip.framework.apollo.adminservice.aop.PreAcquireNamespaceLock' 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 'com.ctrip.framework.apollo.biz.entity.Commit' 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 'com.ctrip.framework.apollo.biz.entity.Item' 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 'com.ctrip.framework.apollo.biz.entity.Namespace' 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.biz.service.CommitService' 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 'com.ctrip.framework.apollo.biz.service.ItemService' 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.biz.service.NamespaceService' 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.biz.utils.ConfigChangeContentBuilder' 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.common.utils.BeanUtils' 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 'com.ctrip.framework.apollo.core.dto.ItemDTO' 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.exception.NotFoundException' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 24
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 36
Warning | sizes | LineLength | Line is longer than 100 characters (found 126). | 37
Warning | sizes | LineLength | Line is longer than 100 characters (found 112). | 40
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 75
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 96
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'itemDTOs' must contain no more than '1' capital letters. | 101
Warning | naming | AbbreviationAsWordInName | Abbreviation in name 'itemDTO' must contain no more than '1' capital letters. | 104
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 112
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 121
Warning | sizes | LineLength | Line is longer than 100 characters (found 108). | 124

### com/ctrip/framework/apollo/adminservice/controller/ItemSetController.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.adminservice.aop.PreAcquireNamespaceLock' import. Should be before 'org.springframework.web.bind.annotation.RestController'. | 12
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.biz.service.ItemSetService' import. Should be before 'org.springframework.web.bind.annotation.RestController'. | 13
Warning | imports | CustomImportOrder | Wrong lexicographical order for 'com.ctrip.framework.apollo.core.dto.ItemChangeSets' import. Should be before 'org.springframework.web.bind.annotation.RestController'. | 14
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 22
Warning | sizes | LineLength | Line is longer than 100 characters (found 128). | 23
Warning | sizes | LineLength | Line is longer than 100 characters (found 113). | 25

### com/ctrip/framework/apollo/adminservice/controller/NamespaceController.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.bind.annotation.PathVariable' 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 'org.springframework.web.bind.annotation.RequestBody' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 7
Warning | imports | CustomImportOrder | Import statement for 'org.springframework.web.bind.annotation.RequestMapping' 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 'org.springframework.web.bind.annotation.RequestMethod' 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 'org.springframework.web.bind.annotation.RequestParam' 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.springframework.web.bind.annotation.RestController' 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 'com.ctrip.framework.apollo.biz.entity.Namespace' 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 'com.ctrip.framework.apollo.biz.service.NamespaceService' 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 'com.ctrip.framework.apollo.common.utils.BeanUtils' 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 'com.ctrip.framework.apollo.common.utils.InputValidator' 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 'com.ctrip.framework.apollo.core.dto.NamespaceDTO' 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.exception.BadRequestException' 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 'com.ctrip.framework.apollo.core.exception.NotFoundException' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. | 19
Warning | sizes | LineLength | Line is longer than 100 characters (found 104). | 27
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 27
Warning | sizes | LineLength | Line is longer than 100 characters (found 118). | 29
Warning | sizes | LineLength | Line is longer than 100 characters (found 122). | 31
Warning | sizes | LineLength | Line is longer than 100 characters (found 102). | 34
Warning | sizes | LineLength | Line is longer than 100 characters (found 125). | 46
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 46
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 51
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 63
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 66
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 71
Warning | blocks | NeedBraces | 'if' construct must use '{}'s. | 76

### com/ctrip/framework/apollo/adminservice/controller/NamespaceLockController.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 29
Warning | sizes | LineLength | Line is longer than 100 characters (found 109). | 30

### com/ctrip/framework/apollo/adminservice/controller/ReleaseController.java

Severity | Category | Rule | Message | Line
--- | --- | --- | --- | ---
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 43
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 60
Warning | sizes | LineLength | Line is longer than 100 characters (found 129). | 73
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 73