Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
32 65 104 120

Files

Files Infos Warnings Errors
com/atlassian/gadgets/directory/internal/ConfigurableExternalGadgetSpecStore.java 0 0 2
com/atlassian/gadgets/directory/internal/DirectoryConfigServlet.java 1 2 1
com/atlassian/gadgets/directory/internal/DirectoryConfigurationPermissionChecker.java 1 1 0
com/atlassian/gadgets/directory/internal/DirectoryEntryProvider.java 0 0 1
com/atlassian/gadgets/directory/internal/DirectoryPredicates.java 0 3 6
com/atlassian/gadgets/directory/internal/DirectoryUrlBuilder.java 0 3 2
com/atlassian/gadgets/directory/internal/GadgetFeedParsingException.java 1 2 1
com/atlassian/gadgets/directory/internal/GadgetFeedsSpecProvider.java 16 25 15
com/atlassian/gadgets/directory/internal/GadgetSpecProviderHelper.java 0 2 2
com/atlassian/gadgets/directory/internal/HttpCache.java 1 0 6
com/atlassian/gadgets/directory/internal/NonAtomGadgetSpecFeedException.java 1 1 0
com/atlassian/gadgets/directory/internal/SubscribedGadgetFeed.java 3 3 1
com/atlassian/gadgets/directory/internal/SubscribedGadgetFeedStore.java 0 7 2
com/atlassian/gadgets/directory/internal/impl/AbstractDirectoryEntryProvider.java 1 4 10
com/atlassian/gadgets/directory/internal/impl/ConfigurableExternalGadgetSpecDirectoryEntryProvider.java 6 0 5
com/atlassian/gadgets/directory/internal/impl/DirectoryImpl.java 2 0 5
com/atlassian/gadgets/directory/internal/impl/DirectoryUrlBuilderImpl.java 4 1 1
com/atlassian/gadgets/directory/internal/impl/GadgetSpecDirectoryEntry.java 0 0 11
com/atlassian/gadgets/directory/internal/impl/GadgetSpecProviderDirectoryEntryProvider.java 4 1 7
com/atlassian/gadgets/directory/internal/impl/GadgetSpecUrlRenderPermissionImpl.java 1 1 0
com/atlassian/gadgets/directory/internal/impl/PluginExternalGadgetSpecDirectoryEntryProvider.java 6 3 3
com/atlassian/gadgets/directory/internal/impl/SubscribedGadgetFeedStoreImpl.java 5 6 2
com/atlassian/gadgets/directory/internal/impl/UnavailableFeatureException.java 0 0 1
com/atlassian/gadgets/directory/internal/jaxb/JAXBCategory.java 0 0 2
com/atlassian/gadgets/directory/internal/jaxb/JAXBDirectoryContents.java 0 1 4
com/atlassian/gadgets/directory/internal/jaxb/JAXBDirectoryEntry.java 0 1 4
com/atlassian/gadgets/directory/internal/jaxb/SubscribedGadgetFeedRepresentation.java 3 11 7
com/atlassian/gadgets/directory/internal/jaxb/SubscribedGadgetFeedsRepresentation.java 2 14 7
com/atlassian/gadgets/directory/internal/rest/DirectoryResource.java 3 0 4
com/atlassian/gadgets/directory/internal/rest/SubscribedGadgetFeedResource.java 2 2 2
com/atlassian/gadgets/directory/internal/rest/SubscribedGadgetFeedsResource.java 2 10 6

Rules

Rules Violations Severity
JavadocPackage 3 Errors Error
Translation 0 Errors Error
FileLength 0 Errors Error
FileTabCharacter
  • eachLine: "true"
0 Errors Error
RegexpSingleline
  • message: "Line has trailing spaces."
  • format: "\s+$"
85 Warnings Warning
AnnotationUseStyle 0 Errors Error
MissingDeprecated 0 Errors Error
MissingOverride
  • javaFiveCompatibility: "true"
0 Errors Error
PackageAnnotation 0 Errors Error
JavadocMethod
  • excludeScope: "private"
  • scope: "anoninner"
16 Errors Error
JavadocType
  • scope: "package"
19 Errors Error
JavadocVariable
  • scope: "package"
2 Errors Error
JavadocStyle
  • scope: "package"
7 Errors Error
ConstantName 1 Errors Error
LocalFinalVariableName 0 Errors Error
LocalVariableName 0 Errors Error
MemberName 0 Errors Error
MethodName 0 Errors Error
PackageName 0 Errors Error
ParameterName 0 Errors Error
StaticVariableName 0 Errors Error
TypeName 0 Errors Error
AvoidStarImport 0 Errors Error
IllegalImport 0 Errors Error
ImportOrder
  • separated: "true"
  • groups: "java,javax,com.atlassian,com,org"
14 Errors Error
RedundantImport 0 Errors Error
UnusedImports 1 Errors Error
LineLength
  • max: "120"
19 Warnings Warning
MethodLength 0 Errors Error
ParameterNumber 0 Errors Error
EmptyForIteratorPad 0 Errors Error
MethodParamPad 0 Errors Error
NoWhitespaceAfter 0 Errors Error
NoWhitespaceBefore 0 Errors Error
OperatorWrap 6 Errors Error
ParenPad 2 Errors Error
TypecastParenPad 0 Errors Error
WhitespaceAfter 0 Errors Error
WhitespaceAround 19 Errors Error
ModifierOrder 1 Errors Error
RedundantModifier 0 Errors Error
AvoidNestedBlocks 0 Errors Error
EmptyBlock 0 Errors Error
LeftCurly
  • option: "nl"
1 Errors Error
NeedBraces 0 Errors Error
RightCurly
  • option: "alone"
0 Errors Error
DeclarationOrder 2 Errors Error
DefaultComesLast 0 Errors Error
DoubleCheckedLocking 0 Errors Error
EmptyStatement 0 Errors Error
EqualsHashCode 0 Errors Error
ExplicitInitialization 0 Errors Error
FallThrough 0 Errors Error
HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
0 Errors Error
IllegalInstantiation 0 Errors Error
InnerAssignment 0 Errors Error
MagicNumber 8 Errors Error
MissingSwitchDefault 0 Errors Error
ParameterAssignment 0 Errors Error
RedundantThrows
  • allowUnchecked: "true"
0 Errors Error
SimplifyBooleanExpression 0 Errors Error
SimplifyBooleanReturn 0 Errors Error
StringLiteralEquality 0 Errors Error
DesignForExtension 65 Infos Info
FinalClass 1 Errors Error
HideUtilityClassConstructor 1 Errors Error
InterfaceIsType 0 Errors Error
VisibilityModifier 1 Errors Error
BooleanExpressionComplexity 0 Errors Error
ClassDataAbstractionCoupling 0 Errors Error
ClassFanOutComplexity
  • max: "10"
9 Errors Error
CyclomaticComplexity 0 Errors Error
NPathComplexity
  • max: "20"
0 Errors Error
JavaNCSS 0 Errors Error
ArrayTypeStyle 0 Errors Error
Indentation 0 Errors Error
TodoComment 6 Errors Error
UpperEll 0 Errors Error

Details

com/atlassian/gadgets/directory/internal/ConfigurableExternalGadgetSpecStore.java

Violation Message Line
Errors Missing package-info.java file. 0
Errors First sentence should end with a period. 19

com/atlassian/gadgets/directory/internal/DirectoryConfigServlet.java

Violation Message Line
Errors Missing a Javadoc comment. 17
Warnings Line has trailing spaces. 29
Infos Method 'doGet' is not designed for extension - needs to be abstract, final or empty. 30
Warnings Line is longer than 120 characters. 35

com/atlassian/gadgets/directory/internal/DirectoryConfigurationPermissionChecker.java

Violation Message Line
Warnings Line is longer than 120 characters. 23
Infos Method 'checkForPermissionToConfigureDirectory' is not designed for extension - needs to be abstract, final or empty. 37

com/atlassian/gadgets/directory/internal/DirectoryEntryProvider.java

Violation Message Line
Errors Missing a Javadoc comment. 8

com/atlassian/gadgets/directory/internal/DirectoryPredicates.java

Violation Message Line
Errors First sentence should end with a period. 12
Warnings Line is longer than 120 characters. 13
Errors '{' is not followed by whitespace. 17
Errors '}' is not preceded with whitespace. 17
Warnings Line has trailing spaces. 18
Errors '(' is followed by whitespace. 49
Errors ')' is preceded with whitespace. 49
Warnings Line has trailing spaces. 55
Errors 'if' is not followed by whitespace. 56

com/atlassian/gadgets/directory/internal/DirectoryUrlBuilder.java

Violation Message Line
Errors Missing a Javadoc comment. 5
Errors First sentence should end with a period. 16
Warnings Line has trailing spaces. 27
Warnings Line has trailing spaces. 31
Warnings Line has trailing spaces. 34

com/atlassian/gadgets/directory/internal/GadgetFeedParsingException.java

Violation Message Line
Errors First sentence should end with a period. 5
Warnings Line has trailing spaces. 11
Warnings Line has trailing spaces. 17
Infos Method 'getFeedUri' is not designed for extension - needs to be abstract, final or empty. 18

com/atlassian/gadgets/directory/internal/GadgetFeedsSpecProvider.java

Violation Message Line
Errors Wrong order for 'com.atlassian.gadgets.directory.internal.GadgetSpecProviderHelper.containsSpecUri' import. 38
Errors 'com.google.common.base.Preconditions.checkNotNull' should be separated from previous imports. 40
Errors 'org.apache.commons.lang.StringUtils.isBlank' should be separated from previous imports. 44
Errors Missing a Javadoc comment. 46
Errors Class Fan-Out Complexity is 15 (max allowed is 10). 46
Warnings Line has trailing spaces. 49
Warnings Line has trailing spaces. 51
Warnings Line has trailing spaces. 65
Infos Method 'contains' is not designed for extension - needs to be abstract, final or empty. 66
Infos Method 'entries' is not designed for extension - needs to be abstract, final or empty. 71
Warnings Line has trailing spaces. 78
Infos Method 'addFeed' is not designed for extension - needs to be abstract, final or empty. 83
Warnings Line has trailing spaces. 88
Errors Missing a Javadoc comment. 92
Warnings Line has trailing spaces. 103
Infos Method 'getFeeds' is not designed for extension - needs to be abstract, final or empty. 106
Errors Missing a Javadoc comment. 110
Warnings Line has trailing spaces. 116
Warnings Line has trailing spaces. 119
Infos Method 'containsFeed' is not designed for extension - needs to be abstract, final or empty. 123
Errors Missing a Javadoc comment. 127
Warnings Line has trailing spaces. 136
Infos Method 'getFeedProvider' is not designed for extension - needs to be abstract, final or empty. 140
Errors Missing a Javadoc comment. 144
Warnings Line has trailing spaces. 157
Infos Method 'removeFeed' is not designed for extension - needs to be abstract, final or empty. 160
Errors Missing a Javadoc comment. 164
Infos Method 'getFeedProviders' is not designed for extension - needs to be abstract, final or empty. 171
Warnings Line has trailing spaces. 175
Warnings Line has trailing spaces. 180
Warnings Line is longer than 120 characters. 181
Errors Instance variable definition in wrong order. 181
Errors Missing a Javadoc comment. 183
Warnings Line has trailing spaces. 188
Warnings Line has trailing spaces. 193
Errors Missing a Javadoc comment. 194
Errors Class Fan-Out Complexity is 16 (max allowed is 10). 194
Warnings Line has trailing spaces. 200
Infos Method 'getId' is not designed for extension - needs to be abstract, final or empty. 207
Warnings Line has trailing spaces. 211
Infos Method 'getUri' is not designed for extension - needs to be abstract, final or empty. 212
Warnings Line has trailing spaces. 216
Infos Method 'getApplicationName' is not designed for extension - needs to be abstract, final or empty. 217
Warnings Line has trailing spaces. 226
Infos Method 'getTitle' is not designed for extension - needs to be abstract, final or empty. 227
Warnings Line has trailing spaces. 231
Infos Method 'getIcon' is not designed for extension - needs to be abstract, final or empty. 232
Infos Method 'getBaseUri' is not designed for extension - needs to be abstract, final or empty. 242
Infos Method 'contains' is not designed for extension - needs to be abstract, final or empty. 268
Infos Method 'entries' is not designed for extension - needs to be abstract, final or empty. 273
Warnings Line has trailing spaces. 277
Warnings Line has trailing spaces. 328
Errors Class Fan-Out Complexity is 13 (max allowed is 10). 335
Warnings Line has trailing spaces. 363
Warnings Line is longer than 120 characters. 381
Warnings Line has trailing spaces. 386

com/atlassian/gadgets/directory/internal/GadgetSpecProviderHelper.java

Violation Message Line
Errors Missing a Javadoc comment. 14
Errors Utility classes should not have a public or default constructor. 14
Warnings Line has trailing spaces. 24
Warnings Line is longer than 120 characters. 75

com/atlassian/gadgets/directory/internal/HttpCache.java

Violation Message Line
Errors Unused import - org.apache.http.protocol.HTTP. 16
Errors Missing a Javadoc comment. 22
Errors '80' is a magic number. 55
Errors '443' is a magic number. 57
Errors '8192' is a magic number. 73
Infos Method 'destroy' is not designed for extension - needs to be abstract, final or empty. 79
Errors '{' should be on a new line. 79

com/atlassian/gadgets/directory/internal/NonAtomGadgetSpecFeedException.java

Violation Message Line
Warnings Line has trailing spaces. 16
Infos Method 'getFeedUri' is not designed for extension - needs to be abstract, final or empty. 17

com/atlassian/gadgets/directory/internal/SubscribedGadgetFeed.java

Violation Message Line
Errors Missing a Javadoc comment. 7
Warnings Line has trailing spaces. 17
Infos Method 'getId' is not designed for extension - needs to be abstract, final or empty. 18
Warnings Line has trailing spaces. 22
Infos Method 'getUri' is not designed for extension - needs to be abstract, final or empty. 23
Warnings Line has trailing spaces. 27
Infos Method 'toString' is not designed for extension - needs to be abstract, final or empty. 28

com/atlassian/gadgets/directory/internal/SubscribedGadgetFeedStore.java

Violation Message Line
Warnings Line has trailing spaces. 10
Warnings Line has trailing spaces. 17
Warnings Line has trailing spaces. 21
Warnings Line has trailing spaces. 24
Warnings Line has trailing spaces. 29
Errors First sentence should end with a period. 30
Warnings Line has trailing spaces. 32
Errors First sentence should end with a period. 37
Warnings Line has trailing spaces. 39

com/atlassian/gadgets/directory/internal/impl/AbstractDirectoryEntryProvider.java

Violation Message Line
Errors Missing package-info.java file. 0
Errors 'com.google.common.base.Function' should be separated from previous imports. 10
Errors 'org.apache.commons.logging.Log' should be separated from previous imports. 12
Errors Wrong order for 'java.net.URI' import. 16
Errors Missing a Javadoc comment. 28
Errors Class Fan-Out Complexity is 20 (max allowed is 10). 28
Warnings Line is longer than 120 characters. 35
Errors '15' is a magic number. 39
Errors Comment matches to-do format 'TODO:'. 44
Warnings Line is longer than 120 characters. 44
Warnings Line is longer than 120 characters. 46
Errors Missing a Javadoc comment. 51
Warnings Line is longer than 120 characters. 88
Errors Comment matches to-do format 'TODO:'. 93
Infos Method 'destroy' is not designed for extension - needs to be abstract, final or empty. 106

com/atlassian/gadgets/directory/internal/impl/ConfigurableExternalGadgetSpecDirectoryEntryProvider.java

Violation Message Line
Errors Comment matches to-do format 'TODO:'. 30
Errors Class Fan-Out Complexity is 20 (max allowed is 10). 31
Infos Method 'contains' is not designed for extension - needs to be abstract, final or empty. 54
Infos Method 'internalEntries' is not designed for extension - needs to be abstract, final or empty. 59
Infos Method 'add' is not designed for extension - needs to be abstract, final or empty. 65
Errors Missing a Javadoc comment. 69
Infos Method 'remove' is not designed for extension - needs to be abstract, final or empty. 84
Errors Missing a Javadoc comment. 88
Infos Method 'convertToLocalizedDirectoryEntry' is not designed for extension - needs to be abstract, final or empty. 96
Errors Missing a Javadoc comment. 102
Infos Method 'toString' is not designed for extension - needs to be abstract, final or empty. 148

com/atlassian/gadgets/directory/internal/impl/DirectoryImpl.java

Violation Message Line
Errors Wrong order for 'com.google.common.collect.Iterables.any' import. 16
Errors Missing a Javadoc comment. 20
Errors Name 'log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 22
Infos Method 'getEntries' is not designed for extension - needs to be abstract, final or empty. 31
Infos Method 'contains' is not designed for extension - needs to be abstract, final or empty. 36
Errors Missing a Javadoc comment. 46
Errors Missing a Javadoc comment. 72

com/atlassian/gadgets/directory/internal/impl/DirectoryUrlBuilderImpl.java

Violation Message Line
Errors Missing a Javadoc comment. 10
Infos Method 'buildDirectoryResourceUrl' is not designed for extension - needs to be abstract, final or empty. 18
Infos Method 'buildDirectoryGadgetResourceUrl' is not designed for extension - needs to be abstract, final or empty. 24
Infos Method 'buildSubscribedGadgetFeedsUrl' is not designed for extension - needs to be abstract, final or empty. 30
Warnings Line has trailing spaces. 34
Infos Method 'buildSubscribedGadgetFeedUrl' is not designed for extension - needs to be abstract, final or empty. 35

com/atlassian/gadgets/directory/internal/impl/GadgetSpecDirectoryEntry.java

Violation Message Line
Errors 'org.apache.commons.lang.StringUtils.defaultString' should be separated from previous imports. 13
Errors Missing a Javadoc comment. 15
Errors 'static' modifier out of order with the JLS suggestions. 17
Errors '&&' should be on a new line. 123
Errors '&&' should be on a new line. 124
Errors '31' is a magic number. 133
Errors '31' is a magic number. 134
Errors '+' should be on a new line. 140
Errors '+' should be on a new line. 141
Errors '+' should be on a new line. 142
Errors '+' should be on a new line. 143

com/atlassian/gadgets/directory/internal/impl/GadgetSpecProviderDirectoryEntryProvider.java

Violation Message Line
Errors 'com.google.common.base.Function' should be separated from previous imports. 12
Errors Wrong order for 'com.google.common.collect.Iterables.any' import. 18
Errors Wrong order for 'java.util.Collections.emptySet' import. 21
Errors Class Fan-Out Complexity is 12 (max allowed is 10). 27
Infos Method 'contains' is not designed for extension - needs to be abstract, final or empty. 46
Errors Missing a Javadoc comment. 50
Infos Method 'internalEntries' is not designed for extension - needs to be abstract, final or empty. 69
Errors Missing a Javadoc comment. 74
Infos Method 'convertToLocalizedDirectoryEntry' is not designed for extension - needs to be abstract, final or empty. 97
Errors Missing a Javadoc comment. 103
Warnings Line is longer than 120 characters. 107
Infos Method 'toString' is not designed for extension - needs to be abstract, final or empty. 123

com/atlassian/gadgets/directory/internal/impl/GadgetSpecUrlRenderPermissionImpl.java

Violation Message Line
Warnings Line has trailing spaces. 27
Infos Method 'voteOn' is not designed for extension - needs to be abstract, final or empty. 28

com/atlassian/gadgets/directory/internal/impl/PluginExternalGadgetSpecDirectoryEntryProvider.java

Violation Message Line
Errors 'com.google.common.base.Function' should be separated from previous imports. 17
Errors Class Fan-Out Complexity is 14 (max allowed is 10). 26
Warnings Line is longer than 120 characters. 38
Warnings Line is longer than 120 characters. 40
Infos Method 'contains' is not designed for extension - needs to be abstract, final or empty. 43
Infos Method 'pluginGadgetSpecEnabled' is not designed for extension - needs to be abstract, final or empty. 56
Infos Method 'pluginGadgetSpecDisabled' is not designed for extension - needs to be abstract, final or empty. 64
Infos Method 'internalEntries' is not designed for extension - needs to be abstract, final or empty. 72
Infos Method 'convertToLocalizedDirectoryEntry' is not designed for extension - needs to be abstract, final or empty. 86
Errors Missing a Javadoc comment. 92
Warnings Line is longer than 120 characters. 139
Infos Method 'toString' is not designed for extension - needs to be abstract, final or empty. 143

com/atlassian/gadgets/directory/internal/impl/SubscribedGadgetFeedStoreImpl.java

Violation Message Line
Errors Missing a Javadoc comment. 20
Errors Missing a Javadoc comment. 22
Warnings Line has trailing spaces. 23
Warnings Line has trailing spaces. 30
Infos Method 'add' is not designed for extension - needs to be abstract, final or empty. 31
Infos Method 'contains' is not designed for extension - needs to be abstract, final or empty. 36
Infos Method 'get' is not designed for extension - needs to be abstract, final or empty. 41
Infos Method 'getAll' is not designed for extension - needs to be abstract, final or empty. 46
Warnings Line has trailing spaces. 50
Infos Method 'remove' is not designed for extension - needs to be abstract, final or empty. 51
Warnings Line has trailing spaces. 72
Warnings Line has trailing spaces. 81
Warnings Line has trailing spaces. 86

com/atlassian/gadgets/directory/internal/impl/UnavailableFeatureException.java

Violation Message Line
Errors First sentence should end with a period. 3

com/atlassian/gadgets/directory/internal/jaxb/JAXBCategory.java

Violation Message Line
Errors Comment matches to-do format 'TODO:'. 12
Errors '}' is not preceded with whitespace. 21

com/atlassian/gadgets/directory/internal/jaxb/JAXBDirectoryContents.java

Violation Message Line
Errors Comment matches to-do format 'TODO:'. 19
Errors Class JAXBDirectoryContents should be declared as final. 21
Errors '}' is not preceded with whitespace. 24
Errors '}' is not preceded with whitespace. 27
Warnings Line is longer than 120 characters. 45

com/atlassian/gadgets/directory/internal/jaxb/JAXBDirectoryEntry.java

Violation Message Line
Errors Comment matches to-do format 'TODO:'. 17
Errors '}' is not preceded with whitespace. 45
Warnings Line is longer than 120 characters. 61
Errors '17' is a magic number. 202
Errors '29' is a magic number. 202

com/atlassian/gadgets/directory/internal/jaxb/SubscribedGadgetFeedRepresentation.java

Violation Message Line
Errors Missing a Javadoc comment. 19
Errors Missing a Javadoc comment. 24
Errors Variable access definition in wrong order. 24
Errors '=' is not preceded with whitespace. 24
Errors '=' is not followed by whitespace. 24
Errors Variable 'gadgets' must be private and have accessor methods. 24
Warnings Line has trailing spaces. 25
Warnings Line has trailing spaces. 31
Warnings Line has trailing spaces. 37
Warnings Line has trailing spaces. 39
Warnings Line has trailing spaces. 48
Infos Method 'getFeed' is not designed for extension - needs to be abstract, final or empty. 49
Warnings Line has trailing spaces. 53
Infos Method 'getSelf' is not designed for extension - needs to be abstract, final or empty. 54
Warnings Line has trailing spaces. 58
Infos Method 'getGadgets' is not designed for extension - needs to be abstract, final or empty. 59
Warnings Line has trailing spaces. 63
Errors Missing a Javadoc comment. 64
Warnings Line has trailing spaces. 67
Warnings Line has trailing spaces. 72
Warnings Line has trailing spaces. 79

com/atlassian/gadgets/directory/internal/jaxb/SubscribedGadgetFeedsRepresentation.java

Violation Message Line
Errors Missing a Javadoc comment. 17
Errors '=' is not preceded with whitespace. 17
Errors '=' is not followed by whitespace. 17
Errors '=' is not preceded with whitespace. 21
Errors '=' is not followed by whitespace. 21
Warnings Line has trailing spaces. 27
Warnings Line has trailing spaces. 29
Warnings Line has trailing spaces. 37
Warnings Line has trailing spaces. 45
Infos Method 'getSelf' is not designed for extension - needs to be abstract, final or empty. 46
Warnings Line has trailing spaces. 50
Infos Method 'getSubscribedGadgetFeeds' is not designed for extension - needs to be abstract, final or empty. 51
Warnings Line has trailing spaces. 55
Errors Missing a Javadoc comment. 56
Errors 'catch' is not followed by whitespace. 80
Warnings Line has trailing spaces. 85
Warnings Line has trailing spaces. 98
Warnings Line has trailing spaces. 103
Warnings Line has trailing spaces. 108
Warnings Line has trailing spaces. 113
Warnings Line has trailing spaces. 118
Warnings Line has trailing spaces. 123
Warnings Line has trailing spaces. 128

com/atlassian/gadgets/directory/internal/rest/DirectoryResource.java

Violation Message Line
Errors Missing package-info.java file. 0
Errors Class Fan-Out Complexity is 18 (max allowed is 10). 43
Infos Method 'getDirectory' is not designed for extension - needs to be abstract, final or empty. 84
Errors '}' is not preceded with whitespace. 86
Infos Method 'putGadgetInDirectory' is not designed for extension - needs to be abstract, final or empty. 102
Errors 'if' is not followed by whitespace. 147
Infos Method 'deleteGadgetFromDirectory' is not designed for extension - needs to be abstract, final or empty. 177

com/atlassian/gadgets/directory/internal/rest/SubscribedGadgetFeedResource.java

Violation Message Line
Errors Missing a Javadoc comment. 24
Warnings Line has trailing spaces. 42
Infos Method 'get' is not designed for extension - needs to be abstract, final or empty. 43
Errors '}' is not preceded with whitespace. 44
Infos Method 'remove' is not designed for extension - needs to be abstract, final or empty. 52
Warnings Line has trailing spaces. 68

com/atlassian/gadgets/directory/internal/rest/SubscribedGadgetFeedsResource.java

Violation Message Line
Errors Wrong order for 'com.google.common.base.Preconditions.checkNotNull' import. 36
Errors 'org.apache.commons.lang.StringUtils.isEmpty' should be separated from previous imports. 37
Errors Missing a Javadoc comment. 39
Errors Class Fan-Out Complexity is 20 (max allowed is 10). 39
Warnings Line has trailing spaces. 43
Warnings Line has trailing spaces. 48
Warnings Line has trailing spaces. 60
Infos Method 'get' is not designed for extension - needs to be abstract, final or empty. 61
Errors '}' is not preceded with whitespace. 62
Warnings Line has trailing spaces. 67
Infos Method 'add' is not designed for extension - needs to be abstract, final or empty. 68
Errors '}' is not preceded with whitespace. 70
Warnings Line has trailing spaces. 74
Warnings Line is longer than 120 characters. 77
Warnings Line is longer than 120 characters. 111
Warnings Line has trailing spaces. 118
Warnings Line has trailing spaces. 132
Warnings Line is longer than 120 characters. 139