Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

FilesInfos InfosWarnings WarningsErrors Errors
1000409

Rules

RulesViolationsSeverity
JavadocPackage
  • allowLegacy: "true"
2Errors Error
NewlineAtEndOfFile6Errors Error
Translation0Errors Error
FileLength0Errors Error
FileTabCharacter
  • eachLine: "true"
0Errors Error
RegexpSingleline
  • message: "Line has trailing spaces."
  • format: "\s+$"
32Errors Error
JavadocMethod77Errors Error
JavadocType2Errors Error
JavadocVariable31Errors Error
JavadocStyle7Errors Error
ConstantName0Errors Error
LocalFinalVariableName0Errors Error
LocalVariableName0Errors Error
MemberName0Errors Error
MethodName0Errors Error
PackageName0Errors Error
ParameterName0Errors Error
StaticVariableName0Errors Error
TypeName0Errors Error
AvoidStarImport2Errors Error
IllegalImport0Errors Error
RedundantImport0Errors Error
UnusedImports0Errors Error
LineLength32Errors Error
MethodLength0Errors Error
ParameterNumber0Errors Error
EmptyForIteratorPad0Errors Error
MethodParamPad0Errors Error
NoWhitespaceAfter0Errors Error
NoWhitespaceBefore0Errors Error
OperatorWrap2Errors Error
ParenPad0Errors Error
TypecastParenPad0Errors Error
WhitespaceAfter0Errors Error
WhitespaceAround5Errors Error
ModifierOrder0Errors Error
RedundantModifier0Errors Error
AvoidNestedBlocks0Errors Error
EmptyBlock0Errors Error
LeftCurly0Errors Error
NeedBraces0Errors Error
RightCurly0Errors Error
AvoidInlineConditionals5Errors Error
DoubleCheckedLocking0Errors Error
EmptyStatement0Errors Error
EqualsHashCode0Errors Error
HiddenField57Errors Error
IllegalInstantiation0Errors Error
InnerAssignment0Errors Error
MagicNumber0Errors Error
MissingSwitchDefault0Errors Error
RedundantThrows0Errors Error
SimplifyBooleanExpression0Errors Error
SimplifyBooleanReturn0Errors Error
DesignForExtension69Errors Error
FinalClass0Errors Error
HideUtilityClassConstructor0Errors Error
InterfaceIsType0Errors Error
VisibilityModifier1Errors Error
ArrayTypeStyle0Errors Error
FinalParameters75Errors Error
TodoComment4Errors Error
UpperEll0Errors Error

Details

net/sf/webphotos/dao/jpa/AlbumDAO.java

ViolationMessageLine
ErrorsMissing package-info.java file.0
ErrorsMissing a Javadoc comment.27
ErrorsMethod 'findAll' is not designed for extension - needs to be abstract, final or empty.31
ErrorsMissing a Javadoc comment.31

net/sf/webphotos/dao/jpa/CategoryDAO.java

ViolationMessageLine
ErrorsMissing a Javadoc comment.26
ErrorsLine has trailing spaces.29

net/sf/webphotos/dao/jpa/CreditsDAO.java

ViolationMessageLine
ErrorsLine has trailing spaces.25
ErrorsMissing a Javadoc comment.26
ErrorsLine has trailing spaces.29

net/sf/webphotos/dao/jpa/PhotoDAO.java

ViolationMessageLine
ErrorsMissing a Javadoc comment.26
ErrorsLine has trailing spaces.29

net/sf/webphotos/dao/jpa/WebPhotosDAO.java

ViolationMessageLine
ErrorsFile does not end with a newline.0
ErrorsType Javadoc comment is missing an @param <E> tag.28
ErrorsType Javadoc comment is missing an @param <I> tag.28
ErrorsMissing a Javadoc comment.30
ErrorsVariable 'entityManager' must be private and have accessor methods.30
ErrorsMissing a Javadoc comment.31
ErrorsMissing a Javadoc comment.32
ErrorsMissing a Javadoc comment.34
ErrorsParameter entityClass should be final.34
Errors'entityClass' hides a field.34
ErrorsParameter keyClass should be final.34
Errors'keyClass' hides a field.34
ErrorsFirst sentence should end with a period.39
ErrorsExpected an @return tag.46
ErrorsMethod 'createNativeQuery' is not designed for extension - needs to be abstract, final or empty.46
ErrorsParameter query should be final.47
ErrorsExpected @param tag for 'query'.47
ErrorsMethod 'findBy' is not designed for extension - needs to be abstract, final or empty.51
ErrorsMissing a Javadoc comment.51
ErrorsParameter id should be final.51
ErrorsMethod 'save' is not designed for extension - needs to be abstract, final or empty.55
ErrorsMissing a Javadoc comment.55
ErrorsParameter object should be final.55
ErrorsLine is longer than 80 characters.56
ErrorsMethod 'remove' is not designed for extension - needs to be abstract, final or empty.63
ErrorsMissing a Javadoc comment.63
ErrorsParameter object should be final.63
ErrorsMethod 'getEntityManager' is not designed for extension - needs to be abstract, final or empty.71
ErrorsMethod 'setEntityManager' is not designed for extension - needs to be abstract, final or empty.78
ErrorsParameter entityManager should be final.79
Errors'entityManager' hides a field.79
ErrorsFirst sentence should end with a period.83
ErrorsExpected an @return tag.90
ErrorsMethod 'findByNativeQuery' is not designed for extension - needs to be abstract, final or empty.90
ErrorsParameter query should be final.91
ErrorsExpected @param tag for 'query'.91
ErrorsMethod 'find' is not designed for extension - needs to be abstract, final or empty.95
ErrorsMissing a Javadoc comment.95
ErrorsParameter query should be final.96
ErrorsMethod 'findByNamedQuery' is not designed for extension - needs to be abstract, final or empty.100
ErrorsMissing a Javadoc comment.100
ErrorsParameter query should be final.101

net/sf/webphotos/model/AlbumVO.java

ViolationMessageLine
ErrorsFile does not end with a newline.0
ErrorsMissing package-info.java file.0
ErrorsLine is longer than 80 characters.47
ErrorsLine is longer than 80 characters.48
ErrorsLine is longer than 80 characters.49
ErrorsLine is longer than 80 characters.50
ErrorsLine has trailing spaces.53
ErrorsMissing a Javadoc comment.54
ErrorsLine has trailing spaces.55
ErrorsMissing a Javadoc comment.56
ErrorsLine has trailing spaces.60
ErrorsMissing a Javadoc comment.61
ErrorsLine has trailing spaces.63
ErrorsMissing a Javadoc comment.64
ErrorsLine has trailing spaces.66
ErrorsMissing a Javadoc comment.67
ErrorsLine has trailing spaces.70
ErrorsMissing a Javadoc comment.71
ErrorsLine has trailing spaces.74
ErrorsLine is longer than 80 characters.75
ErrorsMissing a Javadoc comment.75
ErrorsMethod 'getCategoriasVO' is not designed for extension - needs to be abstract, final or empty.78
ErrorsMissing a Javadoc comment.78
ErrorsMethod 'setCategoriasVO' is not designed for extension - needs to be abstract, final or empty.82
ErrorsMissing a Javadoc comment.82
ErrorsParameter categoriasVO should be final.82
Errors'categoriasVO' hides a field.82
ErrorsMissing a Javadoc comment.86
ErrorsLine is longer than 80 characters.90
ErrorsMissing a Javadoc comment.90
ErrorsParameter nmalbum should be final.90
Errors'nmalbum' hides a field.90
ErrorsParameter descricao should be final.90
Errors'descricao' hides a field.90
ErrorsParameter dtInsercao should be final.90
Errors'dtInsercao' hides a field.90
ErrorsParameter categoriasVO should be final.90
Errors'categoriasVO' hides a field.90
ErrorsParameter photos should be final.90
Errors'photos' hides a field.90
ErrorsLine is longer than 80 characters.98
ErrorsMissing a Javadoc comment.98
ErrorsParameter key should be final.98
ErrorsParameter nmalbum should be final.98
Errors'nmalbum' hides a field.98
ErrorsParameter descricao should be final.98
Errors'descricao' hides a field.98
ErrorsParameter dtInsercao should be final.98
Errors'dtInsercao' hides a field.98
ErrorsParameter categoriasVO should be final.98
Errors'categoriasVO' hides a field.98
ErrorsParameter photos should be final.98
Errors'photos' hides a field.98
ErrorsMissing a Javadoc comment.103
ErrorsMissing a Javadoc comment.107
ErrorsParameter key should be final.107
ErrorsExpected an @return tag.115
ErrorsMethod 'getAlbumid' is not designed for extension - needs to be abstract, final or empty.115
ErrorsMethod 'setAlbumid' is not designed for extension - needs to be abstract, final or empty.123
ErrorsParameter albumid should be final.123
Errors'albumid' hides a field.123
ErrorsExpected @param tag for 'albumid'.123
ErrorsExpected an @return tag.131
ErrorsMethod 'getNmalbum' is not designed for extension - needs to be abstract, final or empty.131
ErrorsMethod 'setNmalbum' is not designed for extension - needs to be abstract, final or empty.139
ErrorsParameter nmalbum should be final.139
Errors'nmalbum' hides a field.139
ErrorsExpected @param tag for 'nmalbum'.139
ErrorsMethod 'getDescricao' is not designed for extension - needs to be abstract, final or empty.146
ErrorsMethod 'setDescricao' is not designed for extension - needs to be abstract, final or empty.153
ErrorsParameter descricao should be final.153
Errors'descricao' hides a field.153
ErrorsExpected an @return tag.161
ErrorsMethod 'getDtInsercao' is not designed for extension - needs to be abstract, final or empty.161
ErrorsMethod 'setDtInsercao' is not designed for extension - needs to be abstract, final or empty.169
ErrorsParameter dtInsercao should be final.169
Errors'dtInsercao' hides a field.169
ErrorsExpected @param tag for 'dtInsercao'.169
ErrorsMethod 'hashCode' is not designed for extension - needs to be abstract, final or empty.173
ErrorsAvoid inline conditionals.176
ErrorsMethod 'equals' is not designed for extension - needs to be abstract, final or empty.180
ErrorsParameter object should be final.181
ErrorsComment matches to-do format 'TODO:'.182
ErrorsLine is longer than 80 characters.182
ErrorsLine is longer than 80 characters.187
ErrorsMethod 'toString' is not designed for extension - needs to be abstract, final or empty.193
ErrorsMethod 'getPhotos' is not designed for extension - needs to be abstract, final or empty.201
ErrorsMethod 'addPhotos' is not designed for extension - needs to be abstract, final or empty.208
ErrorsParameter photos should be final.208
Errors'photos' hides a field.208
ErrorsMethod 'addPhoto' is not designed for extension - needs to be abstract, final or empty.215
ErrorsParameter photos should be final.215
Errors'photos' hides a field.215
ErrorsMethod 'getPhotoBy' is not designed for extension - needs to be abstract, final or empty.224
ErrorsParameter id should be final.224
ErrorsExpected @param tag for 'id'.224
ErrorsFirst sentence should end with a period.228
ErrorsMethod 'removePhotoBy' is not designed for extension - needs to be abstract, final or empty.234
ErrorsParameter id should be final.234
ErrorsExpected @param tag for 'id'.234
ErrorsExpected an @return tag.242
ErrorsMethod 'getId' is not designed for extension - needs to be abstract, final or empty.242

net/sf/webphotos/model/AlbumVOBuilder.java

ViolationMessageLine
ErrorsFile does not end with a newline.0
ErrorsFirst sentence should end with a period.23
ErrorsLine has trailing spaces.28
ErrorsMissing a Javadoc comment.29
ErrorsMissing a Javadoc comment.30
ErrorsMissing a Javadoc comment.31
ErrorsMissing a Javadoc comment.32
ErrorsMissing a Javadoc comment.33
ErrorsMissing a Javadoc comment.34
ErrorsMissing a Javadoc comment.36
ErrorsMissing a Javadoc comment.41
ErrorsParameter key should be final.41
Errors'key' hides a field.41
ErrorsMethod 'withAlbumName' is not designed for extension - needs to be abstract, final or empty.46
ErrorsMissing a Javadoc comment.46
ErrorsParameter nmalbum should be final.46
Errors'nmalbum' hides a field.46
ErrorsMethod 'withDescription' is not designed for extension - needs to be abstract, final or empty.51
ErrorsMissing a Javadoc comment.51
ErrorsParameter descricao should be final.51
Errors'descricao' hides a field.51
ErrorsMethod 'withCreationDate' is not designed for extension - needs to be abstract, final or empty.56
ErrorsMissing a Javadoc comment.56
ErrorsParameter dtInsercao should be final.56
Errors'dtInsercao' hides a field.56
ErrorsMethod 'withCategory' is not designed for extension - needs to be abstract, final or empty.61
ErrorsMissing a Javadoc comment.61
ErrorsParameter categoriasVO should be final.61
Errors'categoriasVO' hides a field.61
ErrorsMethod 'withPhoto' is not designed for extension - needs to be abstract, final or empty.66
ErrorsMissing a Javadoc comment.66
ErrorsParameter photoVO should be final.66
ErrorsMethod 'withPhotos' is not designed for extension - needs to be abstract, final or empty.71
ErrorsMissing a Javadoc comment.71
ErrorsParameter photoVOs should be final.71
Errors'photoVOs' hides a field.71
ErrorsMethod 'build' is not designed for extension - needs to be abstract, final or empty.76
ErrorsMissing a Javadoc comment.76
ErrorsLine has trailing spaces.77
Errors'?' should be on a new line.77
ErrorsAvoid inline conditionals.77
ErrorsLine has trailing spaces.78
ErrorsLine is longer than 80 characters.78
Errors':' should be on a new line.78
ErrorsLine is longer than 80 characters.79
ErrorsLine has trailing spaces.86

net/sf/webphotos/model/CategoryVO.java

ViolationMessageLine
ErrorsFile does not end with a newline.0
ErrorsUsing the '.*' form of import should be avoided - javax.persistence.*.23
ErrorsLine is longer than 80 characters.33
ErrorsLine is longer than 80 characters.34
Errors'}' is not preceded with whitespace.34
ErrorsMissing a Javadoc comment.37
ErrorsLine has trailing spaces.38
ErrorsMissing a Javadoc comment.39
Errors'=' is not preceded with whitespace.41
Errors'=' is not followed by whitespace.41
ErrorsLine has trailing spaces.43
ErrorsMissing a Javadoc comment.44
ErrorsLine has trailing spaces.46
ErrorsMissing a Javadoc comment.47
ErrorsMissing a Javadoc comment.51
ErrorsMissing a Javadoc comment.55
ErrorsParameter categoriaID should be final.56
Errors'categoriaID' hides a field.56
ErrorsMissing a Javadoc comment.60
ErrorsParameter categoriaID should be final.61
Errors'categoriaID' hides a field.61
ErrorsParameter nmcategoria should be final.61
Errors'nmcategoria' hides a field.61
ErrorsMissing a Javadoc comment.66
ErrorsParameter nmcategoria should be final.66
Errors'nmcategoria' hides a field.66
ErrorsMissing a Javadoc comment.70
ErrorsParameter nmcategoria should be final.70
Errors'nmcategoria' hides a field.70
ErrorsParameter categoriaPai should be final.70
Errors'categoriaPai' hides a field.70
ErrorsLine has trailing spaces.74
ErrorsMethod 'getCategoriaID' is not designed for extension - needs to be abstract, final or empty.75
ErrorsMissing a Javadoc comment.75
ErrorsMethod 'setCategoriaID' is not designed for extension - needs to be abstract, final or empty.79
ErrorsMissing a Javadoc comment.79
ErrorsParameter categoriaid should be final.79
ErrorsMethod 'getNmcategoria' is not designed for extension - needs to be abstract, final or empty.83
ErrorsMissing a Javadoc comment.83
ErrorsMethod 'setNmcategoria' is not designed for extension - needs to be abstract, final or empty.87
ErrorsMissing a Javadoc comment.87
ErrorsParameter nmcategoria should be final.87
Errors'nmcategoria' hides a field.87
ErrorsMethod 'getCategoriaPai' is not designed for extension - needs to be abstract, final or empty.94
ErrorsMethod 'setCategoriaPai' is not designed for extension - needs to be abstract, final or empty.101
ErrorsParameter categoriaPai should be final.101
Errors'categoriaPai' hides a field.101
ErrorsMethod 'hashCode' is not designed for extension - needs to be abstract, final or empty.105
ErrorsAvoid inline conditionals.108
ErrorsMethod 'equals' is not designed for extension - needs to be abstract, final or empty.112
ErrorsParameter object should be final.113
ErrorsComment matches to-do format 'TODO:'.114
ErrorsLine is longer than 80 characters.114
ErrorsLine is longer than 80 characters.119
ErrorsMethod 'toString' is not designed for extension - needs to be abstract, final or empty.125
ErrorsLine is longer than 80 characters.127
ErrorsMethod 'getId' is not designed for extension - needs to be abstract, final or empty.130

net/sf/webphotos/model/CreditsVO.java

ViolationMessageLine
ErrorsFile does not end with a newline.0
ErrorsLine is longer than 80 characters.41
ErrorsLine is longer than 80 characters.42
Errors'}' is not preceded with whitespace.42
ErrorsMissing a Javadoc comment.45
ErrorsLine has trailing spaces.46
ErrorsMissing a Javadoc comment.47
ErrorsLine has trailing spaces.51
ErrorsMissing a Javadoc comment.52
ErrorsParameter nome should be final.66
Errors'nome' hides a field.66
ErrorsExpected @param tag for 'nome'.66
ErrorsParameter creditoid should be final.74
Errors'creditoid' hides a field.74
ErrorsExpected @param tag for 'creditoid'.74
ErrorsParameter creditoid should be final.84
Errors'creditoid' hides a field.84
ErrorsExpected @param tag for 'creditoid'.84
ErrorsParameter nome should be final.84
Errors'nome' hides a field.84
ErrorsExpected @param tag for 'nome'.84
ErrorsExpected an @return tag.94
ErrorsMethod 'getCreditoid' is not designed for extension - needs to be abstract, final or empty.94
ErrorsExpected an @return tag.102
ErrorsMethod 'getNome' is not designed for extension - needs to be abstract, final or empty.102
ErrorsMethod 'setNome' is not designed for extension - needs to be abstract, final or empty.111
ErrorsParameter nome should be final.111
Errors'nome' hides a field.111
ErrorsExpected @param tag for 'nome'.111
ErrorsMethod 'hashCode' is not designed for extension - needs to be abstract, final or empty.115
ErrorsAvoid inline conditionals.118
ErrorsMethod 'equals' is not designed for extension - needs to be abstract, final or empty.122
ErrorsParameter object should be final.123
ErrorsComment matches to-do format 'TODO:'.124
ErrorsLine is longer than 80 characters.124
ErrorsLine is longer than 80 characters.129
ErrorsMethod 'toString' is not designed for extension - needs to be abstract, final or empty.135
ErrorsLine is longer than 80 characters.137
ErrorsExpected an @return tag.144
ErrorsMethod 'getId' is not designed for extension - needs to be abstract, final or empty.144

net/sf/webphotos/model/PhotoVO.java

ViolationMessageLine
ErrorsFile does not end with a newline.0
ErrorsUsing the '.*' form of import should be avoided - javax.persistence.*.23
ErrorsLine is longer than 80 characters.34
ErrorsLine is longer than 80 characters.35
ErrorsLine is longer than 80 characters.36
ErrorsLine is longer than 80 characters.37
ErrorsLine is longer than 80 characters.38
Errors'}' is not preceded with whitespace.38
ErrorsLine is longer than 80 characters.39
ErrorsLine has trailing spaces.40
ErrorsMissing a Javadoc comment.41
ErrorsLine has trailing spaces.42
ErrorsMissing a Javadoc comment.43
ErrorsLine has trailing spaces.47
ErrorsMissing a Javadoc comment.48
ErrorsLine has trailing spaces.50
ErrorsMissing a Javadoc comment.51
ErrorsLine has trailing spaces.53
ErrorsMissing a Javadoc comment.54
ErrorsLine has trailing spaces.57
ErrorsMissing a Javadoc comment.58
ErrorsLine has trailing spaces.61
ErrorsMissing a Javadoc comment.62
ErrorsLine has trailing spaces.64
ErrorsMissing a Javadoc comment.65
ErrorsFirst sentence should end with a period.68
ErrorsComment matches to-do format 'TODO:'.69
ErrorsLine has trailing spaces.77
ErrorsMissing a Javadoc comment.78
ErrorsLine is longer than 80 characters.79
ErrorsParameter fotoid should be final.79
Errors'fotoid' hides a field.79
ErrorsParameter albumid should be final.79
ErrorsParameter legenda should be final.79
Errors'legenda' hides a field.79
ErrorsParameter creditoid should be final.79
ErrorsParameter largura should be final.79
Errors'largura' hides a field.79
ErrorsParameter altura should be final.79
Errors'altura' hides a field.79
ErrorsFirst sentence should end with a period.87
ErrorsLine has trailing spaces.92
ErrorsUnused @param tag for 'album'.92
ErrorsLine is longer than 80 characters.94
ErrorsParameter nmfoto should be final.94
Errors'nmfoto' hides a field.94
ErrorsExpected @param tag for 'nmfoto'.94
ErrorsParameter legenda should be final.94
Errors'legenda' hides a field.94
ErrorsExpected @param tag for 'legenda'.94
ErrorsParameter creditos should be final.94
Errors'creditos' hides a field.94
ErrorsExpected @param tag for 'creditos'.94
ErrorsParameter caminhoArquivo should be final.94
Errors'caminhoArquivo' hides a field.94
ErrorsExpected @param tag for 'caminhoArquivo'.94
ErrorsFirst sentence should end with a period.101
ErrorsLine has trailing spaces.106
ErrorsLine is longer than 80 characters.108
ErrorsParameter nmfoto should be final.108
Errors'nmfoto' hides a field.108
ErrorsExpected @param tag for 'nmfoto'.108
ErrorsParameter legenda should be final.108
Errors'legenda' hides a field.108
ErrorsExpected @param tag for 'legenda'.108
ErrorsParameter creditos should be final.108
Errors'creditos' hides a field.108
ErrorsExpected @param tag for 'creditos'.108
ErrorsParameter caminhoArquivo should be final.108
Errors'caminhoArquivo' hides a field.108
ErrorsExpected @param tag for 'caminhoArquivo'.108
ErrorsParameter album should be final.108
Errors'album' hides a field.108
ErrorsMethod 'getFotoid' is not designed for extension - needs to be abstract, final or empty.113
ErrorsMissing a Javadoc comment.113
ErrorsMethod 'setFotoid' is not designed for extension - needs to be abstract, final or empty.117
ErrorsMissing a Javadoc comment.117
ErrorsParameter fotoid should be final.117
Errors'fotoid' hides a field.117
ErrorsMethod 'getNmfoto' is not designed for extension - needs to be abstract, final or empty.121
ErrorsMissing a Javadoc comment.121
ErrorsMethod 'setNmfoto' is not designed for extension - needs to be abstract, final or empty.125
ErrorsMissing a Javadoc comment.125
ErrorsParameter nmfoto should be final.125
Errors'nmfoto' hides a field.125
ErrorsMethod 'getLegenda' is not designed for extension - needs to be abstract, final or empty.129
ErrorsMethod 'setLegenda' is not designed for extension - needs to be abstract, final or empty.134
ErrorsMissing a Javadoc comment.134
ErrorsParameter legenda should be final.134
Errors'legenda' hides a field.134
ErrorsMethod 'toString' is not designed for extension - needs to be abstract, final or empty.138
ErrorsMethod 'getCreditos' is not designed for extension - needs to be abstract, final or empty.143
ErrorsMethod 'setCreditos' is not designed for extension - needs to be abstract, final or empty.148
ErrorsMissing a Javadoc comment.148
ErrorsParameter creditos should be final.148
Errors'creditos' hides a field.148
ErrorsMethod 'getAlbum' is not designed for extension - needs to be abstract, final or empty.152
ErrorsMissing a Javadoc comment.152
ErrorsMethod 'setAlbum' is not designed for extension - needs to be abstract, final or empty.156
ErrorsMissing a Javadoc comment.156
ErrorsParameter album should be final.156
Errors'album' hides a field.156
ErrorsMethod 'getCaminhoArquivo' is not designed for extension - needs to be abstract, final or empty.163
ErrorsMethod 'getAltura' is not designed for extension - needs to be abstract, final or empty.167
ErrorsMissing a Javadoc comment.167
ErrorsMethod 'getLargura' is not designed for extension - needs to be abstract, final or empty.171
ErrorsMissing a Javadoc comment.171
ErrorsMethod 'getId' is not designed for extension - needs to be abstract, final or empty.175
ErrorsMethod 'getKey' is not designed for extension - needs to be abstract, final or empty.180
ErrorsLine is longer than 80 characters.182
ErrorsAvoid inline conditionals.182