PMD Results

The following document contains the results of PMD 4.2.5.

Files

org/apache/myfaces/trinidadinternal/agent/AgentFactoryImpl.java

ViolationLine
Avoid unused imports such as 'java.beans.Beans'21

org/apache/myfaces/trinidadinternal/agent/CapabilityValue.java

ViolationLine
Avoid empty catch blocks54 - 56

org/apache/myfaces/trinidadinternal/agent/TrinidadAgentImpl.java

ViolationLine
Double checked locking is not thread safe in Java.284 - 299

org/apache/myfaces/trinidadinternal/agent/parse/CapabilitiesDocumentParser.java

ViolationLine
An empty statement (semicolon) not part of a loop81
An empty statement (semicolon) not part of a loop97

org/apache/myfaces/trinidadinternal/agent/parse/CapabilityDataDocumentParser.java

ViolationLine
An empty statement (semicolon) not part of a loop92

org/apache/myfaces/trinidadinternal/agent/parse/NameVersion.java

ViolationLine
These nested if statements could be combined365 - 366

org/apache/myfaces/trinidadinternal/application/NavigationHandlerImpl.java

ViolationLine
Avoid unused private fields such as '_LOG'.175

org/apache/myfaces/trinidadinternal/application/StateManagerImpl.java

ViolationLine
Avoid unused method parameters such as 'context'.1166 - 1171
Avoid unused method parameters such as 'context'.1454 - 1495
Avoid unused method parameters such as 'context'.1497 - 1536

org/apache/myfaces/trinidadinternal/application/ViewHandlerImpl.java

ViolationLine
An empty statement (semicolon) not part of a loop156
These nested if statements could be combined378 - 382

org/apache/myfaces/trinidadinternal/config/CheckSerializationConfigurator.java

ViolationLine
These nested if statements could be combined968 - 971
These nested if statements could be combined986 - 989

org/apache/myfaces/trinidadinternal/config/ConfigParser.java

ViolationLine
An empty statement (semicolon) not part of a loop104

org/apache/myfaces/trinidadinternal/config/GlobalConfiguratorImpl.java

ViolationLine
Unnecessary final modifier in final class82 - 114
Unnecessary final modifier in final class139 - 157

org/apache/myfaces/trinidadinternal/config/upload/CompositeUploadedFileProcessorImpl.java

ViolationLine
Avoid unused local variables such as 'test'.113

org/apache/myfaces/trinidadinternal/config/upload/FileUploadConfiguratorImpl.java

ViolationLine
Avoid unused imports such as 'javax.servlet.http.HttpServletResponse'37
Overriding method merely calls super244 - 248

org/apache/myfaces/trinidadinternal/config/upload/UploadRequestWrapper.java

ViolationLine
Avoid unused imports such as 'java.util.Collections'22
Avoid unused imports such as 'java.util.HashMap'24
Avoid unused imports such as 'javax.portlet.ActionResponse'29
Avoid unused imports such as 'org.apache.myfaces.trinidadinternal.share.util.CaboHttpUtils'35

org/apache/myfaces/trinidadinternal/config/xmlHttp/XmlHttpConfigurator.java

ViolationLine
Avoid unused imports such as 'java.lang.reflect.Proxy'26
Avoid unused imports such as 'org.apache.myfaces.trinidad.util.ClassLoaderUtils'40

org/apache/myfaces/trinidadinternal/config/xmlHttp/XmlHttpPortletExternalContext.java

ViolationLine
Avoid unused imports such as 'java.io.Writer'24

org/apache/myfaces/trinidadinternal/config/xmlHttp/XmlHttpServletResponse.java

ViolationLine
Avoid unused imports such as 'javax.servlet.ServletResponse'27

org/apache/myfaces/trinidadinternal/context/PageFlowScopeMap.java

ViolationLine
Avoid unused method parameters such as 'cache'.72 - 94

org/apache/myfaces/trinidadinternal/context/PartialViewContextFactoryImpl.java

ViolationLine
Avoid unused imports such as 'javax.faces.context.FacesContextFactory'22
Avoid unused private fields such as '_factory'.44

org/apache/myfaces/trinidadinternal/context/RequestContextImpl.java

ViolationLine
Avoid unused constructor parameters such as 'facesContext'.932 - 934

org/apache/myfaces/trinidadinternal/context/TrinidadPhaseListener.java

ViolationLine
Avoid unused imports such as 'org.apache.myfaces.trinidadinternal.config.xmlHttp.XmlHttpConfigurator'27
Avoid unused imports such as 'org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderKit'28

org/apache/myfaces/trinidadinternal/context/external/NullEnumeration.java

ViolationLine
Unnecessary final modifier in final class30 - 33

org/apache/myfaces/trinidadinternal/context/external/ServletExternalContext.java

ViolationLine
These nested if statements could be combined205 - 209
Avoid unused private fields such as '_CHAR_ENCODING_CALLED'.916

org/apache/myfaces/trinidadinternal/convert/ByteConverter.java

ViolationLine
Avoid unused method parameters such as 'component'.124 - 141
Avoid unused method parameters such as 'context'.124 - 141

org/apache/myfaces/trinidadinternal/convert/ColorConverter.java

ViolationLine
Avoid unused imports such as 'org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFJspProperty'31

org/apache/myfaces/trinidadinternal/convert/ConverterUtils.java

ViolationLine
Avoid unused method parameters such as 'component'.212 - 268

org/apache/myfaces/trinidadinternal/convert/DateTimeConverter.java

ViolationLine
An empty statement (semicolon) not part of a loop390
Do not use if statements that are always true or always false411
Avoid unused method parameters such as 'context'.585 - 603

org/apache/myfaces/trinidadinternal/convert/DoubleConverter.java

ViolationLine
Avoid unused method parameters such as 'component'.97 - 102
Avoid unused method parameters such as 'context'.97 - 102

org/apache/myfaces/trinidadinternal/convert/FloatConverter.java

ViolationLine
Avoid unused method parameters such as 'component'.97 - 102
Avoid unused method parameters such as 'context'.97 - 102

org/apache/myfaces/trinidadinternal/convert/GenericConverterFactory.java

ViolationLine
Avoid unused imports such as 'java.util.Collections'22
Avoid unused imports such as 'javax.faces.context.FacesContext'31

org/apache/myfaces/trinidadinternal/convert/IntegerConverter.java

ViolationLine
Avoid unused method parameters such as 'component'.131 - 148
Avoid unused method parameters such as 'context'.131 - 148

org/apache/myfaces/trinidadinternal/convert/LongConverter.java

ViolationLine
Avoid unused method parameters such as 'component'.128 - 145
Avoid unused method parameters such as 'context'.128 - 145

org/apache/myfaces/trinidadinternal/convert/NumberConverter.java

ViolationLine
Avoid unused imports such as 'org.apache.myfaces.trinidad.util.IntegerUtils'36
Avoid unused method parameters such as 'component'.197 - 221
Avoid unused private fields such as '_LOG'.242

org/apache/myfaces/trinidadinternal/convert/ShortConverter.java

ViolationLine
Avoid unused method parameters such as 'component'.127 - 144
Avoid unused method parameters such as 'context'.127 - 144

org/apache/myfaces/trinidadinternal/el/OracleHelpProvider.java

ViolationLine
These nested if statements could be combined64 - 68

org/apache/myfaces/trinidadinternal/facelets/TimezonePropertyTagRule.java

ViolationLine
Avoid unused private fields such as '_LOG'.94

org/apache/myfaces/trinidadinternal/image/ImageTypeImpl.java

ViolationLine
These nested if statements could be combined80 - 85

org/apache/myfaces/trinidadinternal/image/cache/BaseColorizedIconKey.java

ViolationLine
Avoid unused constructor parameters such as 'context'.62 - 71
Avoid unused constructor parameters such as 'context'.79 - 87

org/apache/myfaces/trinidadinternal/image/cache/Cache.java

ViolationLine
An empty statement (semicolon) not part of a loop235

org/apache/myfaces/trinidadinternal/image/cache/FileSystemImageCache.java

ViolationLine
These nested if statements could be combined599 - 600
Avoid unused method parameters such as 'context'.997 - 1002
Avoid unused method parameters such as 'context'.1189 - 1200
An empty statement (semicolon) not part of a loop1676
These nested if statements could be combined1690 - 1699

org/apache/myfaces/trinidadinternal/image/encode/OctreeQuantizer.java

ViolationLine
These nested if statements could be combined241 - 246

org/apache/myfaces/trinidadinternal/image/encode/PNGEncoder.java

ViolationLine
Avoid unused imports such as 'java.util.Iterator'29
Unnecessary final modifier in final class480 - 492

org/apache/myfaces/trinidadinternal/image/laf/browser/BlafImageUtils.java

ViolationLine
Avoid unused method parameters such as 'styleID'.355 - 363
Avoid unused method parameters such as 'context'.355 - 363
Avoid unused method parameters such as 'isNamed'.355 - 363
Avoid unused method parameters such as 'key'.355 - 363
Avoid unused private fields such as '_STYLE_ERROR'.381
Avoid unused private fields such as '_LOG'.386

org/apache/myfaces/trinidadinternal/image/laf/browser/ButtonPainter.java

ViolationLine
An empty statement (semicolon) not part of a loop401

org/apache/myfaces/trinidadinternal/image/painter/AdjustableBorderPainter.java

ViolationLine
Avoid unused method parameters such as 'context'.113 - 116
An empty statement (semicolon) not part of a loop144
Avoid unused private fields such as '_styleNamePrefix'.161

org/apache/myfaces/trinidadinternal/image/painter/ImageUtils.java

ViolationLine
An empty statement (semicolon) not part of a loop275
An empty statement (semicolon) not part of a loop311
An empty statement (semicolon) not part of a loop322

org/apache/myfaces/trinidadinternal/image/xml/encode/AbstractXMLEncoder.java

ViolationLine
These nested if statements could be combined353 - 354

org/apache/myfaces/trinidadinternal/image/xml/parse/FontParser.java

ViolationLine
An empty statement (semicolon) not part of a loop153

org/apache/myfaces/trinidadinternal/image/xml/parse/ImageParseUtils.java

ViolationLine
An empty statement (semicolon) not part of a loop86

org/apache/myfaces/trinidadinternal/io/DebugHtmlResponseWriter.java

ViolationLine
These nested if statements could be combined80 - 81

org/apache/myfaces/trinidadinternal/io/IndentingResponseWriter.java

ViolationLine
These nested if statements could be combined71 - 74

org/apache/myfaces/trinidadinternal/io/XhtmlResponseWriter.java

ViolationLine
Avoid unused constructor parameters such as 'contentType'.46 - 57

org/apache/myfaces/trinidadinternal/menu/ImmutableGroupNode.java

ViolationLine
Avoid unused local variables such as 'accessKey'.188
Avoid unused local variables such as 'label'.303

org/apache/myfaces/trinidadinternal/menu/ImmutableItemNode.java

ViolationLine
Avoid unused local variables such as 'accessKey'.230
Avoid unused local variables such as 'label'.384
Avoid unused local variables such as 'labelAndAcessKeyEval'.463

org/apache/myfaces/trinidadinternal/menu/MenuContentHandlerImpl.java

ViolationLine
Avoid unused local variables such as 'npe'.336

org/apache/myfaces/trinidadinternal/menu/MenuContentHandlerUsingApiImpl.java

ViolationLine
Avoid unused local variables such as 'npe'.339

org/apache/myfaces/trinidadinternal/renderkit/RenderKitBase.java

ViolationLine
These nested if statements could be combined132 - 133

org/apache/myfaces/trinidadinternal/renderkit/core/CoreRenderKit.java

ViolationLine
Avoid unused private fields such as '_BASIC_HTML_RENDERERS'.762

org/apache/myfaces/trinidadinternal/renderkit/core/CoreRenderingContext.java

ViolationLine
Avoid unused imports such as 'java.beans.Beans'21
These nested if statements could be combined658 - 659

org/apache/myfaces/trinidadinternal/renderkit/core/CoreResponseStateManager.java

ViolationLine
Avoid unused imports such as 'java.io.ObjectStreamClass'27
Avoid unused imports such as 'org.apache.myfaces.trinidad.util.ClassLoaderUtils'46
These nested if statements could be combined243 - 246

org/apache/myfaces/trinidadinternal/renderkit/core/DialogRequest.java

ViolationLine
Avoid unused imports such as 'org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SkinSelectors'33

org/apache/myfaces/trinidadinternal/renderkit/core/StyleContextImpl.java

ViolationLine
Avoid unused imports such as 'java.beans.Beans'21

org/apache/myfaces/trinidadinternal/renderkit/core/desktop/TrainRenderer.java

ViolationLine
Avoid unused method parameters such as 'bean'.916 - 954
Avoid unused constructor parameters such as 'context'.958 - 988

org/apache/myfaces/trinidadinternal/renderkit/core/desktop/TreeTableRenderer.java

ViolationLine
These nested if statements could be combined558 - 575

org/apache/myfaces/trinidadinternal/renderkit/core/pages/CalendarDialogJSP.java

ViolationLine
An empty statement (semicolon) not part of a loop154

org/apache/myfaces/trinidadinternal/renderkit/core/pages/JspUtils.java

ViolationLine
These nested if statements could be combined73 - 75

org/apache/myfaces/trinidadinternal/renderkit/core/ppr/PPRResponseWriter.java

ViolationLine
These nested if statements could be combined449 - 458
Avoid unused private fields such as '_allowedIds'.705

org/apache/myfaces/trinidadinternal/renderkit/core/ppr/PartialPageContextImpl.java

ViolationLine
These nested if statements could be combined256 - 257

org/apache/myfaces/trinidadinternal/renderkit/core/skin/SimplePortletSkin.java

ViolationLine
No need to import a type that lives in the same package27

org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/AutoSubmitUtils.java

ViolationLine
Avoid unused private fields such as '_START'.344
Avoid unused private fields such as '_START_RADIO'.345

org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/BodyRenderer.java

ViolationLine
Avoid unused imports such as 'java.beans.Beans'21
Avoid unused method parameters such as 'rc'.464 - 477

org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/ChooseDateRenderer.java

ViolationLine
Avoid unused method parameters such as 'isInline'.1522 - 1525

org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/CoreFormData.java

ViolationLine
An empty statement (semicolon) not part of a loop328

org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/FormElementRenderer.java

ViolationLine
These nested if statements could be combined229 - 230

org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/FormRenderer.java

ViolationLine
Avoid unused imports such as 'org.apache.myfaces.trinidad.component.UIXComponent'41
These nested if statements could be combined146 - 164
These nested if statements could be combined1262 - 1283

org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/FrameBorderLayoutRenderer.java

ViolationLine
Avoid unused method parameters such as 'component'.328 - 337
Avoid unused method parameters such as 'component'.339 - 348
Avoid unused method parameters such as 'component'.350 - 359

org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/HtmlRenderer.java

ViolationLine
Avoid empty catch blocks107 - 110

org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/InputColorRenderer.java

ViolationLine
Avoid unused method parameters such as 'component'.76 - 87

org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/LabelAndMessageRenderer.java

ViolationLine
These nested if statements could be combined372 - 390
These nested if statements could be combined509 - 516

org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/MediaRenderer.java

ViolationLine
These nested if statements could be combined615 - 622
These nested if statements could be combined618 - 621
These nested if statements could be combined1461 - 1465

org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/NavigationPaneRenderer.java

ViolationLine
Avoid unused method parameters such as 'component'.333 - 345
Avoid unused local variables such as 'styleAppender'.594

org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/OutputLabelRenderer.java

ViolationLine
These nested if statements could be combined350 - 360

org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/OutputUtils.java

ViolationLine
These nested if statements could be combined230 - 234

org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/PanelAccordionRenderer.java

ViolationLine
Avoid unused method parameters such as 'component'.523 - 577

org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/PanelBorderLayoutRenderer.java

ViolationLine
Avoid unused method parameters such as 'component'.876 - 933
Avoid unused method parameters such as 'useLR'.876 - 933
Avoid unused method parameters such as 'isIE6'.946 - 971
Avoid unused method parameters such as 'bean'.946 - 971
Avoid unused method parameters such as 'bean'.973 - 1019

org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/PanelFormLayoutRenderer.java

ViolationLine
These nested if statements could be combined1107 - 1109
Avoid unused method parameters such as 'component'.1175 - 1180
Avoid unused method parameters such as 'component'.1187 - 1192
Avoid unused method parameters such as 'component'.1199 - 1204
Avoid unused method parameters such as 'component'.1211 - 1216
Avoid unused method parameters such as 'component'.1223 - 1228

org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/PanelGroupLayoutRenderer.java

ViolationLine
An empty statement (semicolon) not part of a loop82

org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/PanelPartialRootRenderer.java

ViolationLine
These nested if statements could be combined146 - 150

org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/PollRenderer.java

ViolationLine
Avoid unused method parameters such as 'isPartial'.345 - 363

org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SelectRangeChoiceBarRenderer.java

ViolationLine
These nested if statements could be combined893 - 899
These nested if statements could be combined932 - 933

org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/ShowDetailRenderer.java

ViolationLine
Avoid unused method parameters such as 'bean'.507 - 536
Avoid unused local variables such as 'linkId'.524

org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleInputNumberSpinboxRenderer.java

ViolationLine
Avoid unused method parameters such as 'component'.296 - 305
Avoid unused method parameters such as 'component'.307 - 316
Avoid unused method parameters such as 'component'.318 - 327

org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleInputTextRenderer.java

ViolationLine
These nested if statements could be combined460 - 461
An empty statement (semicolon) not part of a loop814
An empty statement (semicolon) not part of a loop820

org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleSelectBooleanRadioRenderer.java

ViolationLine
These nested if statements could be combined188 - 189
These nested if statements could be combined217 - 231

org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleSelectManyRenderer.java

ViolationLine
These nested if statements could be combined633 - 636

org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleSelectOneRenderer.java

ViolationLine
These nested if statements could be combined127 - 129
These nested if statements could be combined595 - 596

org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SingleStepButtonBarRenderer.java

ViolationLine
Avoid unused private fields such as '_SINGLE_CONTINUE_TEXT_KEY'.330

org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/TreeRenderer.java

ViolationLine
Avoid unused local variables such as 'showLines'.335
An empty statement (semicolon) not part of a loop894
An empty statement (semicolon) not part of a loop895
An empty statement (semicolon) not part of a loop896
Avoid unused method parameters such as 'isFirstSibling'.973 - 1015

org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/XhtmlRenderer.java

ViolationLine
These nested if statements could be combined359 - 363
Do not use if statements that are always true or always false891

org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/XhtmlUtils.java

ViolationLine
Avoid unused private fields such as '_CLIENT_BEHAVIORS_KEY'.803
Avoid unused private fields such as '_PORTLET_LIB_TABLE_KEY'.811

org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/jsLibs/DialogStyleScriptlet.java

ViolationLine
Avoid unused imports such as 'org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlUtils'29

org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/table/ColumnData.java

ViolationLine
Avoid empty if statements418
An empty statement (semicolon) not part of a loop418

org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/table/TableRenderingContext.java

ViolationLine
Avoid unused imports such as 'org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SkinSelectors'36
Avoid unused constructor parameters such as 'arc'.49 - 106
These nested if statements could be combined503 - 507

org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/table/TreeNodeColumnRenderer.java

ViolationLine
Avoid empty catch blocks231 - 233
Avoid empty catch blocks234 - 236
Avoid empty catch blocks237 - 239

org/apache/myfaces/trinidadinternal/renderkit/html/CellFormatRenderer.java

ViolationLine
These nested if statements could be combined94 - 97

org/apache/myfaces/trinidadinternal/renderkit/html/layout/CorePanelChoiceRenderer.java

ViolationLine
Avoid unused method parameters such as 'component'.298 - 315

org/apache/myfaces/trinidadinternal/renderkit/html/layout/CorePanelRadioRenderer.java

ViolationLine
Avoid unused method parameters such as 'component'.328 - 395

org/apache/myfaces/trinidadinternal/renderkit/html/layout/ShowOneListRendererBase.java

ViolationLine
These nested if statements could be combined592 - 598

org/apache/myfaces/trinidadinternal/share/data/ServletRequestParameters.java

ViolationLine
These nested if statements could be combined109 - 110

org/apache/myfaces/trinidadinternal/share/expl/Coercions.java

ViolationLine
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.317
An empty statement (semicolon) not part of a loop548

org/apache/myfaces/trinidadinternal/share/io/CachingNameResolver.java

ViolationLine
These nested if statements could be combined143 - 147

org/apache/myfaces/trinidadinternal/share/io/DefaultNameResolver.java

ViolationLine
An empty statement (semicolon) not part of a loop90

org/apache/myfaces/trinidadinternal/share/nls/ImmutableDateFormatContext.java

ViolationLine
Overriding method merely calls super47 - 50

org/apache/myfaces/trinidadinternal/share/nls/ImmutableDecimalFormatContext.java

ViolationLine
Overriding method merely calls super60 - 63

org/apache/myfaces/trinidadinternal/share/nls/MutableLocaleContext.java

ViolationLine
Unnecessary final modifier in final class129 - 136
Unnecessary final modifier in final class145 - 154

org/apache/myfaces/trinidadinternal/share/url/EncoderUtils.java

ViolationLine
An empty statement (semicolon) not part of a loop650

org/apache/myfaces/trinidadinternal/share/util/CaboHttpUtils.java

ViolationLine
An empty statement (semicolon) not part of a loop139

org/apache/myfaces/trinidadinternal/share/util/MultipartFormHandler.java

ViolationLine
An empty statement (semicolon) not part of a loop674

org/apache/myfaces/trinidadinternal/share/xml/ParseContextWrapper.java

ViolationLine
Unnecessary final modifier in final class142 - 145

org/apache/myfaces/trinidadinternal/share/xml/beans/BeanParser.java

ViolationLine
These nested if statements could be combined86 - 94

org/apache/myfaces/trinidadinternal/skin/AgentAtRuleMatcher.java

ViolationLine
Unnecessary final modifier in final class449 - 452
Unnecessary final modifier in final class559 - 562
Unnecessary final modifier in final class733 - 736

org/apache/myfaces/trinidadinternal/skin/SkinCSSDocumentHandler.java

ViolationLine
Avoid unused imports such as 'org.apache.myfaces.trinidadinternal.share.xml.ParseErrorUtils'45
Avoid unused method parameters such as 'expectedType'.320 - 421

org/apache/myfaces/trinidadinternal/skin/SkinCSSParser.java

ViolationLine
These nested if statements could be combined82 - 85

org/apache/myfaces/trinidadinternal/skin/SkinExtension.java

ViolationLine
These nested if statements could be combined516 - 526
These nested if statements could be combined542 - 550

org/apache/myfaces/trinidadinternal/skin/SkinFactoryImpl.java

ViolationLine
These nested if statements could be combined297 - 301

org/apache/myfaces/trinidadinternal/skin/SkinImpl.java

ViolationLine
Avoid unused imports such as 'javax.faces.context.ExternalContext'39
These nested if statements could be combined226 - 230
An empty statement (semicolon) not part of a loop1031

org/apache/myfaces/trinidadinternal/skin/SkinStyleProvider.java

ViolationLine
Avoid unused imports such as 'java.util.Collections'21
Avoid unused imports such as 'java.util.HashMap'22

org/apache/myfaces/trinidadinternal/skin/SkinStyleSheetParserUtils.java

ViolationLine
These nested if statements could be combined154 - 155
These nested if statements could be combined256 - 257

org/apache/myfaces/trinidadinternal/skin/SkinUtils.java

ViolationLine
An empty statement (semicolon) not part of a loop271
These nested if statements could be combined634 - 635

org/apache/myfaces/trinidadinternal/skin/StyleSheetEntry.java

ViolationLine
Avoid unused imports such as 'org.apache.myfaces.trinidadinternal.share.xml.JaxpXMLProvider'41
Avoid unused imports such as 'org.apache.myfaces.trinidadinternal.share.xml.XMLProvider'43
Avoid unused imports such as 'org.apache.myfaces.trinidadinternal.style.xml.StyleSheetDocumentUtils'46
An empty statement (semicolon) not part of a loop216

org/apache/myfaces/trinidadinternal/skin/icon/BaseImageIcon.java

ViolationLine
These nested if statements could be combined217 - 218

org/apache/myfaces/trinidadinternal/skin/parse/SkinNode.java

ViolationLine
Avoid unused imports such as 'org.apache.myfaces.trinidad.skin.SkinVersion'22

org/apache/myfaces/trinidadinternal/skin/parse/SkinVersionNodeParser.java

ViolationLine
Avoid unused private fields such as '_LOG'.108

org/apache/myfaces/trinidadinternal/style/UnmodifiableStyle.java

ViolationLine
Avoid unused imports such as 'java.util.HashMap'24
Avoid unused imports such as 'java.util.concurrent.ConcurrentHashMap'25

org/apache/myfaces/trinidadinternal/style/cache/FileSystemStyleCache.java

ViolationLine
These nested if statements could be combined1034 - 1035
These nested if statements could be combined1249 - 1251
These nested if statements could be combined1250 - 1251
Avoid unused private fields such as '_outputDirectory'.1507

org/apache/myfaces/trinidadinternal/style/util/CSSGenerationUtils.java

ViolationLine
These nested if statements could be combined452 - 459
Avoid empty if statements602 - 604
Avoid unnecessary return statements611
These nested if statements could be combined724 - 731
Avoid unused method parameters such as 'selector'.882 - 915

org/apache/myfaces/trinidadinternal/style/util/CSSUtils.java

ViolationLine
Avoid unused imports such as 'org.apache.myfaces.trinidad.style.Style'40
An empty statement (semicolon) not part of a loop542
These nested if statements could be combined844 - 849

org/apache/myfaces/trinidadinternal/style/util/StyleUtils.java

ViolationLine
Avoid unused private fields such as '_DOUBLE_COLON'.167

org/apache/myfaces/trinidadinternal/style/xml/StyleSheetDocumentUtils.java

ViolationLine
Avoid unused imports such as 'java.io.File'21
Avoid unused imports such as 'java.io.IOException'22
Avoid unused imports such as 'org.xml.sax.InputSource'28
Avoid unused imports such as 'org.xml.sax.SAXException'29
Avoid unused imports such as 'org.apache.myfaces.trinidad.share.io.NameResolver'31
Avoid unused imports such as 'org.apache.myfaces.trinidadinternal.share.io.DefaultNameResolver'32
Avoid unused imports such as 'org.apache.myfaces.trinidadinternal.share.xml.ParseContextImpl'35
Avoid unused imports such as 'org.apache.myfaces.trinidadinternal.share.xml.XMLProvider'38
Avoid unused imports such as 'org.apache.myfaces.trinidadinternal.share.xml.XMLUtils'39
Avoid unused private methods such as '_getDefaultParserManager()'.134
Avoid unused private fields such as '_LOG'.172

org/apache/myfaces/trinidadinternal/style/xml/parse/ColorNodeParser.java

ViolationLine
These nested if statements could be combined63 - 64

org/apache/myfaces/trinidadinternal/style/xml/parse/ColorValidater.java

ViolationLine
These nested if statements could be combined47 - 48

org/apache/myfaces/trinidadinternal/style/xml/parse/IncludeCompactPropertyNode.java

ViolationLine
Avoid unused private fields such as '_LOG'.135

org/apache/myfaces/trinidadinternal/style/xml/parse/StyleSheetDocument.java

ViolationLine
These nested if statements could be combined1286 - 1287
An empty statement (semicolon) not part of a loop1967
An empty statement (semicolon) not part of a loop1992
Avoid unused private fields such as '_skinPropertyCount'.2049

org/apache/myfaces/trinidadinternal/style/xml/parse/StyleSheetDocumentParser.java

ViolationLine
Avoid unused imports such as 'java.net.URLConnection'25
These nested if statements could be combined156 - 162

org/apache/myfaces/trinidadinternal/style/xml/parse/StyleSheetNode.java

ViolationLine
Avoid unused private methods such as '_copyLocaleArrayToSet(Locale)'.529

org/apache/myfaces/trinidadinternal/taglib/ForEachTag.java

ViolationLine
These nested if statements could be combined344 - 348

org/apache/myfaces/trinidadinternal/taglib/listener/FileDownloadActionListenerTag.java

ViolationLine
Avoid unused local variables such as 'parentELContext'.74
Avoid unused local variables such as 'application'.77

org/apache/myfaces/trinidadinternal/taglib/listener/ResetActionListenerTag.java

ViolationLine
Overriding method merely calls super63 - 66

org/apache/myfaces/trinidadinternal/taglib/listener/ReturnActionListenerTag.java

ViolationLine
Avoid unused local variables such as 'parentELContext'.66
Avoid unused local variables such as 'application'.69

org/apache/myfaces/trinidadinternal/taglib/listener/SetActionListenerTag.java

ViolationLine
Avoid unused local variables such as 'parentELContext'.72
Avoid unused local variables such as 'application'.75

org/apache/myfaces/trinidadinternal/taglib/util/TagUtils.java

ViolationLine
Avoid unused imports such as 'javax.faces.application.Application'34
Avoid unused imports such as 'javax.faces.context.FacesContext'35
Unnecessary final modifier in final class334 - 345

org/apache/myfaces/trinidadinternal/ui/BaseRenderer.java

ViolationLine
These nested if statements could be combined87 - 88

org/apache/myfaces/trinidadinternal/ui/RootRenderingContext.java

ViolationLine
Avoid unused imports such as 'org.apache.myfaces.trinidad.context.RequestContext'29
Avoid unused imports such as 'org.apache.myfaces.trinidadinternal.agent.TrinidadAgent'50
These nested if statements could be combined348 - 360
These nested if statements could be combined350 - 359

org/apache/myfaces/trinidadinternal/ui/beans/BaseWebBean.java

ViolationLine
Overriding method merely calls super330 - 336
Overriding method merely calls super344 - 348

org/apache/myfaces/trinidadinternal/ui/collection/FlaggedAttributeMap.java

ViolationLine
These nested if statements could be combined75 - 78

org/apache/myfaces/trinidadinternal/ui/laf/base/BaseLafRenderer.java

ViolationLine
These nested if statements could be combined571 - 575

org/apache/myfaces/trinidadinternal/ui/laf/base/BaseLafUtils.java

ViolationLine
Avoid unused imports such as 'java.beans.Beans'23
Avoid unused imports such as 'org.apache.myfaces.trinidad.style.Style'35
Avoid unused imports such as 'org.apache.myfaces.trinidadinternal.style.StyleContext'44
These nested if statements could be combined144 - 145
Avoid unused method parameters such as 'context'.1035 - 1069
Avoid empty if statements1046 - 1059
An empty statement (semicolon) not part of a loop1084

org/apache/myfaces/trinidadinternal/ui/laf/base/desktop/GlobalButtonRenderer.java

ViolationLine
These nested if statements could be combined149 - 155

org/apache/myfaces/trinidadinternal/ui/laf/base/desktop/MessageWrapper.java

ViolationLine
Avoid unused imports such as 'javax.faces.el.ValueBinding'23

org/apache/myfaces/trinidadinternal/ui/laf/base/pda/GlobalHeaderRenderer.java

ViolationLine
Avoid unused imports such as 'org.apache.myfaces.trinidadinternal.style.CoreStyle'29

org/apache/myfaces/trinidadinternal/ui/laf/base/pda/LinkRenderer.java

ViolationLine
Avoid unused imports such as 'org.apache.myfaces.trinidadinternal.ui.laf.base.BaseLafUtils'27

org/apache/myfaces/trinidadinternal/ui/laf/base/pda/ShowItemRenderer.java

ViolationLine
Avoid unused imports such as 'org.apache.myfaces.trinidadinternal.share.url.URLEncoder'26

org/apache/myfaces/trinidadinternal/ui/laf/base/pda/TabBarRenderer.java

ViolationLine
Avoid unused imports such as 'org.apache.myfaces.trinidadinternal.style.CoreStyle'29

org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/AccentedLafIconProvider.java

ViolationLine
These nested if statements could be combined129 - 130
Avoid unused method parameters such as 'styleClass'.244 - 288

org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/BreadCrumbsRenderer.java

ViolationLine
Avoid unused method parameters such as 'isLastChild'.375 - 392
Avoid unused constructor parameters such as 'breadCrumbs'.443 - 455

org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/ChoiceRenderer.java

ViolationLine
These nested if statements could be combined84 - 95

org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/CommandItemRenderer.java

ViolationLine
Avoid unused imports such as 'org.apache.myfaces.trinidad.component.UIXCommand'26

org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/FormElementRenderer.java

ViolationLine
These nested if statements could be combined125 - 130
These nested if statements could be combined154 - 158

org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/HiddenLabelUtils.java

ViolationLine
These nested if statements could be combined72 - 82

org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/ImageRenderer.java

ViolationLine
These nested if statements could be combined350 - 353

org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/LinkRenderer.java

ViolationLine
These nested if statements could be combined104 - 105

org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/NavigationBarRenderer.java

ViolationLine
These nested if statements could be combined1338 - 1342
These nested if statements could be combined2448 - 2451

org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/NavigationPathRenderer.java

ViolationLine
Avoid unused method parameters such as 'isLastChild'.311 - 328
Avoid unused constructor parameters such as 'breadCrumbs'.379 - 391

org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/ProcessChoiceBarRenderer.java

ViolationLine
These nested if statements could be combined696 - 699

org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/ProcessUtils.java

ViolationLine
Avoid unused imports such as 'org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlUtils'31
Avoid unused private methods such as '_createKeyValueArray(String,String,String,String,long,String,int,String,String)'.351 - 361

org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/ShowItemRenderer.java

ViolationLine
Avoid unused imports such as 'org.apache.myfaces.trinidadinternal.share.url.URLEncoder'23

org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/XhtmlLafRenderer.java

ViolationLine
These nested if statements could be combined331 - 344
These nested if statements could be combined1436 - 1447
These nested if statements could be combined1477 - 1478
These nested if statements could be combined1848 - 1852
These nested if statements could be combined2162 - 2172
These nested if statements could be combined2207 - 2208

org/apache/myfaces/trinidadinternal/ui/laf/simple/desktop/SimpleButtonUtils.java

ViolationLine
These nested if statements could be combined116 - 121
Avoid unused constructor parameters such as 'fContext'.191 - 225
Avoid unused constructor parameters such as 'arc'.191 - 225

org/apache/myfaces/trinidadinternal/uinode/UINodeFacesBean.java

ViolationLine
These nested if statements could be combined232 - 237
These nested if statements could be combined255 - 256

org/apache/myfaces/trinidadinternal/util/DateUtils.java

ViolationLine
Avoid unused imports such as 'org.apache.myfaces.trinidadinternal.config.ConfigParser'25

org/apache/myfaces/trinidadinternal/util/JavaIntrospector.java

ViolationLine
An empty statement (semicolon) not part of a loop433
An empty statement (semicolon) not part of a loop447
An empty statement (semicolon) not part of a loop467
These nested if statements could be combined660 - 674
An empty statement (semicolon) not part of a loop1344
An empty statement (semicolon) not part of a loop1552
An empty statement (semicolon) not part of a loop2076
An empty statement (semicolon) not part of a loop2149
An empty statement (semicolon) not part of a loop2204
An empty statement (semicolon) not part of a loop2243

org/apache/myfaces/trinidadinternal/util/MessageUtils.java

ViolationLine
Avoid unused imports such as 'javax.faces.application.FacesMessage.Severity'24
Avoid unused imports such as 'org.apache.myfaces.trinidadinternal.ui.laf.base.desktop.MessageWrapper'35

org/apache/myfaces/trinidadinternal/util/MimeUtility.java

ViolationLine
Avoid empty catch blocks72 - 75
An empty statement (semicolon) not part of a loop192

org/apache/myfaces/trinidadinternal/util/ObjectInputStreamResolveClass.java

ViolationLine
Avoid unused imports such as 'org.apache.myfaces.trinidadinternal.util.ObjectInputStreamResolveClass'28
No need to import a type that lives in the same package28

org/apache/myfaces/trinidadinternal/util/TokenCache.java

ViolationLine
These nested if statements could be combined79 - 97

org/apache/myfaces/trinidadinternal/util/URLUtils.java

ViolationLine
Avoid empty catch blocks79 - 82

org/apache/myfaces/trinidadinternal/validator/ByteLengthValidator.java

ViolationLine
Avoid unused method parameters such as 'maxLength'.147 - 172
Avoid unused method parameters such as 'context'.147 - 172

org/apache/myfaces/trinidadinternal/validator/DateRestrictionValidator.java

ViolationLine
Avoid unused method parameters such as 'component'.141 - 172
Avoid unused method parameters such as 'context'.141 - 172

org/apache/myfaces/trinidadinternal/validator/DateTimeRangeValidator.java

ViolationLine
Avoid unused method parameters such as 'component'.148 - 185
Avoid unused method parameters such as 'context'.148 - 185

org/apache/myfaces/trinidadinternal/validator/DoubleRangeValidator.java

ViolationLine
Avoid unused method parameters such as 'component'.102 - 133
Avoid unused method parameters such as 'context'.102 - 133

org/apache/myfaces/trinidadinternal/validator/LengthValidator.java

ViolationLine
Avoid unused method parameters such as 'component'.135 - 169
Avoid unused method parameters such as 'context'.135 - 169

org/apache/myfaces/trinidadinternal/validator/LongRangeValidator.java

ViolationLine
Avoid unused method parameters such as 'component'.103 - 134
Avoid unused method parameters such as 'context'.103 - 134

org/apache/myfaces/trinidadinternal/validator/RegExpValidator.java

ViolationLine
Avoid unused method parameters such as 'context'.88 - 113

org/apache/myfaces/trinidadinternal/webapp/TrinidadFilterImpl.java

ViolationLine
Avoid unused imports such as 'javax.faces.FactoryFinder'29
Avoid unused imports such as 'javax.faces.context.FacesContextFactory'33

org/apache/myfaces/trinidadinternal/webapp/wrappers/BasicHTMLBrowserRequestWrapper.java

ViolationLine
Avoid unused imports such as 'java.util.Iterator'24
Avoid unused imports such as 'java.util.Set'26