PMD Results

The following document contains the results of PMD 4.2.2.

Files

Kuali Rice API - org/kuali/rice/core/exception/RiceRemoteServiceConnectionException.java

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

Kuali Rice API - org/kuali/rice/core/lifecycle/BaseLifecycle.java

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

Kuali Rice API - org/kuali/rice/core/resourceloader/ObjectDefinitionResolver.java

ViolationLine
Avoid unused private fields such as 'LOG'.41

Kuali Rice API - org/kuali/rice/core/resourceloader/ResourceLoaderContainer.java

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

Kuali Rice API - org/kuali/rice/core/util/ClassLoaderUtils.java

ViolationLine
These nested if statements could be combined118 - 124

Kuali Rice API - org/kuali/rice/core/util/JSTLConstants.java

ViolationLine
Avoid empty catch blocks61
Avoid unused local variables such as 'memberPrefix'.81

Kuali Rice API - org/kuali/rice/core/xml/dto/AttributeSetList.java

ViolationLine
Avoid unused imports such as 'java.util.HashMap'33
Avoid unused imports such as 'javax.xml.bind.annotation.XmlRootElement'34

Kuali Rice API - org/kuali/rice/kew/dto/DocumentSearchCriteriaDTO.java

ViolationLine
Avoid unused private fields such as 'fetchLimit'.63

Kuali Rice API - org/kuali/rice/kim/bo/role/dto/DelegateMemberCompleteInfo.java

ViolationLine
Avoid unused imports such as 'java.sql.Date'18
Avoid unused imports such as 'javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter'20
Avoid unused imports such as 'org.kuali.rice.core.jaxb.SqlDateAdapter'22

Kuali Rice API - org/kuali/rice/kns/bo/ExternalizableBusinessObject.java

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

Kuali Rice API - org/kuali/rice/kns/dto/InactiveableInfo.java

ViolationLine
Avoid unused imports such as 'javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter'20
Avoid unused imports such as 'org.kuali.rice.core.jaxb.SqlDateAdapter'22

Kuali Rice API - org/kuali/rice/kns/util/AbstractKualiDecimal.java

ViolationLine
Avoid empty catch blocks131 - 132

Kuali Rice Implementation - org/apache/ojb/broker/platforms/KualiMySQLSequenceManagerImpl.java

ViolationLine
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet.54

Kuali Rice Implementation - org/kuali/rice/core/config/AbstractBaseConfig.java

ViolationLine
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.78

Kuali Rice Implementation - org/kuali/rice/core/config/BaseConfig.java

ViolationLine
Avoid unused local variables such as 'keys'.81
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.326

Kuali Rice Implementation - org/kuali/rice/core/config/HierarchicalConfigParser.java

ViolationLine
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.125

Kuali Rice Implementation - org/kuali/rice/core/config/JAXBConfigImpl.java

ViolationLine
Avoid unused private fields such as 'CONFIG_CODED_DEFAULTS'.55

Kuali Rice Implementation - org/kuali/rice/core/config/ModuleConfigurer.java

ViolationLine
These nested if statements could be combined85 - 87

Kuali Rice Implementation - org/kuali/rice/core/config/RiceConfigurer.java

ViolationLine
Avoid unused imports such as 'java.util.HashMap'19
Avoid unused imports such as 'java.util.Map'21
Avoid unused imports such as 'org.kuali.rice.core.exception.RiceRuntimeException'29
Avoid unused imports such as 'org.kuali.rice.core.util.ClassLoaderUtils'33
Avoid unused private fields such as 'LOG'.53

Kuali Rice Implementation - org/kuali/rice/core/config/logging/Log4jLifeCycle.java

ViolationLine
Overriding method merely calls super230 - 238

Kuali Rice Implementation - org/kuali/rice/core/config/spring/ConfigFactoryBean.java

ViolationLine
Avoid unused local variables such as 'baseProperties'.40

Kuali Rice Implementation - org/kuali/rice/core/database/PreparedStatementCachingConnection.java

ViolationLine
Avoid unused imports such as 'java.sql.SQLException'19
Avoid unused imports such as 'java.util.Map'20

Kuali Rice Implementation - org/kuali/rice/core/database/platform/MySQLDatabasePlatform.java

ViolationLine
Avoid empty catch blocks79 - 80
Avoid empty catch blocks85 - 86

Kuali Rice Implementation - org/kuali/rice/core/database/platform/OracleDatabasePlatform.java

ViolationLine
Avoid empty catch blocks92 - 93
Avoid empty catch blocks98 - 99

Kuali Rice Implementation - org/kuali/rice/core/jdbc/SqlBuilder.java

ViolationLine
Avoid unused local variables such as 'bd'.289
Avoid unused method parameters such as 'allowWildcards'.388 - 399

Kuali Rice Implementation - org/kuali/rice/core/jdbc/criteria/Criteria.java

ViolationLine
Avoid unused private fields such as 'bindParamCount'.60
Avoid unused method parameters such as 'parentCriteria'.347 - 370

Kuali Rice Implementation - org/kuali/rice/core/jpa/metadata/ManyToManyDescriptor.java

ViolationLine
Avoid unused imports such as 'java.util.List'19

Kuali Rice Implementation - org/kuali/rice/core/jpa/metadata/MetadataManager.java

ViolationLine
Avoid empty catch blocks74
Avoid empty catch blocks139

Kuali Rice Implementation - org/kuali/rice/core/jpa/spring/RiceLocalContainerEntityManagerFactoryBean.java

ViolationLine
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.77
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.79
Avoid empty catch blocks82

Kuali Rice Implementation - org/kuali/rice/core/lifecycle/BaseCompositeLifecycle.java

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

Kuali Rice Implementation - org/kuali/rice/core/lifecycle/ServiceDelegatingLifecycle.java

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

Kuali Rice Implementation - org/kuali/rice/core/ojb/BaseOjbConfigurer.java

ViolationLine
Overriding method merely calls super126 - 128

Kuali Rice Implementation - org/kuali/rice/core/resourceloader/BeanFactoryResourceLoader.java

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

Kuali Rice Implementation - org/kuali/rice/core/resourceloader/ResourceLoaderServiceFactoryBean.java

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

Kuali Rice Implementation - org/kuali/rice/core/resourceloader/ResourceLoaderUtil.java

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

Kuali Rice Implementation - org/kuali/rice/core/resourceloader/RiceSpringResourceLoaderConfigurer.java

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

Kuali Rice Implementation - org/kuali/rice/core/resourceloader/RootResourceLoaderLifecycle.java

ViolationLine
No need to import a type that lives in the same package22
Overriding method merely calls super45 - 47

Kuali Rice Implementation - org/kuali/rice/core/resourceloader/SimpleServiceLocator.java

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

Kuali Rice Implementation - org/kuali/rice/core/resourceloader/SpringLoader.java

ViolationLine
Avoid unused private fields such as 'suppressedServices'.68

Kuali Rice Implementation - org/kuali/rice/core/service/impl/DemonstrationGradeEncryptionServiceImpl.java

ViolationLine
Avoid empty catch blocks220 - 222

Kuali Rice Implementation - org/kuali/rice/core/util/ConcurrencyDetector.java

ViolationLine
Avoid unused private fields such as 'name'.54

Kuali Rice Implementation - org/kuali/rice/core/util/ContextClassLoaderBinder.java

ViolationLine
Avoid unused private fields such as 'LOG'.33

Kuali Rice Implementation - org/kuali/rice/core/util/OjbCharBooleanFieldConversionBase.java

ViolationLine
These nested if statements could be combined33 - 36
These nested if statements could be combined47 - 53

Kuali Rice Implementation - org/kuali/rice/core/util/OrmUtils.java

ViolationLine
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.131

Kuali Rice Implementation - org/kuali/rice/core/util/RiceUtilities.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.core.config.Config'31
Avoid unused imports such as 'org.kuali.rice.core.exception.RiceRuntimeException'33
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 !109
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 !126

Kuali Rice Implementation - org/kuali/rice/core/versions/VersionHelper.java

ViolationLine
Avoid unused local variables such as 'supportedVersion'.125

Kuali Rice Implementation - org/kuali/rice/core/web/listener/StandaloneInitializeListener.java

ViolationLine
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.211

Kuali Rice Implementation - org/kuali/rice/core/xml/ChainedXMLFilterBase.java

ViolationLine
Avoid unused imports such as 'java.io.IOException'21

Kuali Rice Implementation - org/kuali/rice/core/xml/XMLImportExportServiceBase.java

ViolationLine
Avoid unused private fields such as 'LOG'.34

Kuali Rice Implementation - org/kuali/rice/core/xml/schema/RiceSchemaValidationFilter.java

ViolationLine
Avoid unused imports such as 'org.xml.sax.XMLFilter'18

Kuali Rice Implementation - org/kuali/rice/core/xml/schema/RiceXmlSchemaFactory.java

ViolationLine
These nested if statements could be combined174 - 187

Kuali Rice Implementation - org/kuali/rice/core/xml/schema/SchemaValidationErrorHandler.java

ViolationLine
Avoid unused imports such as 'org.xml.sax.SAXException'19
Avoid unused imports such as 'org.xml.sax.SAXParseException'20

Kuali Rice Implementation - org/kuali/rice/kcb/config/KCBConfigurer.java

ViolationLine
Avoid unused imports such as 'java.util.LinkedList'18
Avoid unused imports such as 'java.util.List'19
Avoid unused imports such as 'org.kuali.rice.core.lifecycle.Lifecycle'22
Avoid unused imports such as 'org.kuali.rice.core.ojb.BaseOjbConfigurer'23

Kuali Rice Implementation - org/kuali/rice/kcb/deliverer/impl/AOLInstantMessageDeliverer.java

ViolationLine
Avoid unused private fields such as 'LOG'.35

Kuali Rice Implementation - org/kuali/rice/kcb/deliverer/impl/SMSMessageDeliverer.java

ViolationLine
Avoid unused private fields such as 'LOG'.35

Kuali Rice Implementation - org/kuali/rice/kcb/quartz/MessageDeletionListener.java

ViolationLine
Avoid unused local variables such as 'mode'.73

Kuali Rice Implementation - org/kuali/rice/kcb/service/GlobalKCBServiceLocator.java

ViolationLine
Avoid unused private fields such as 'LOG'.29

Kuali Rice Implementation - org/kuali/rice/kcb/service/KCBServiceLocator.java

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

Kuali Rice Implementation - org/kuali/rice/kcb/service/impl/EmailServiceImpl.java

ViolationLine
Avoid empty catch blocks89 - 91
Avoid empty if statements106 - 108

Kuali Rice Implementation - org/kuali/rice/kcb/web/spring/UserPreferencesController.java

ViolationLine
Avoid unused imports such as 'javax.xml.namespace.QName'27
Avoid unused imports such as 'org.kuali.rice.core.config.ConfigContext'30
Avoid unused imports such as 'org.kuali.rice.core.resourceloader.GlobalResourceLoader'31
Avoid unused imports such as 'org.kuali.rice.ken.service.KENAPIService'38
Avoid unused imports such as 'org.kuali.rice.ken.service.KENServiceConstants'39
Avoid unused private fields such as 'KEW_CHANNEL'.53
Avoid unused local variables such as 'error'.146

Kuali Rice Implementation - org/kuali/rice/ken/bo/NotificationChannel.java

ViolationLine
Ensure you override both equals() and hashCode()249

Kuali Rice Implementation - org/kuali/rice/ken/bo/NotificationPriority.java

ViolationLine
Avoid unused imports such as 'javax.persistence.CascadeType'20

Kuali Rice Implementation - org/kuali/rice/ken/bo/NotificationRecipient.java

ViolationLine
Avoid unused imports such as 'javax.persistence.JoinColumns'24
Avoid unused private fields such as 'notification'.49

Kuali Rice Implementation - org/kuali/rice/ken/bo/NotificationSender.java

ViolationLine
Avoid unused private fields such as 'notification'.46

Kuali Rice Implementation - org/kuali/rice/ken/core/GlobalNotificationServiceLocator.java

ViolationLine
Avoid unused private fields such as 'LOG'.26

Kuali Rice Implementation - org/kuali/rice/ken/core/NotificationLifeCycle.java

ViolationLine
Avoid unused imports such as 'org.springframework.beans.factory.BeanInitializationException'24
Avoid unused private fields such as 'LOG'.33
Avoid unused private fields such as 'dataSource'.38

Kuali Rice Implementation - org/kuali/rice/ken/core/SpringNotificationServiceLocator.java

ViolationLine
Avoid unused private fields such as 'NOTIFICATION_MESSAGE_DELIVERY_DISPATCH_SERVICE'.47
Avoid unused private fields such as 'NOTIFICATION_MESSAGE_DELIVERER_REGISTRY_SERVICE'.52
Avoid unused private fields such as 'NOTIFICATION_EMAIL_SERVICE'.55
Avoid unused private fields such as 'NOTIFICATION_CONFIG'.56

Kuali Rice Implementation - org/kuali/rice/ken/deliverer/NotificationMessageDeliverer.java

ViolationLine
Avoid unused imports such as 'java.util.HashMap'18
Avoid unused imports such as 'java.util.LinkedHashMap'19
Avoid unused imports such as 'org.kuali.rice.ken.exception.ErrorList'22

Kuali Rice Implementation - org/kuali/rice/ken/deliverer/impl/KEWActionListMessageDeliverer.java

ViolationLine
Avoid unused imports such as 'java.util.HashMap'20
Avoid unused imports such as 'java.util.LinkedHashMap'21
Avoid unused imports such as 'org.kuali.rice.ken.exception.ErrorList'28
Avoid empty if statements135 - 138

Kuali Rice Implementation - org/kuali/rice/ken/postprocessor/kew/NotificationPostProcessor.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kew.dto.NetworkIdDTO'38

Kuali Rice Implementation - org/kuali/rice/ken/service/NotificationMessageContentService.java

ViolationLine
Avoid unused imports such as 'javax.xml.parsers.ParserConfigurationException'21
Avoid unused imports such as 'org.xml.sax.SAXException'26

Kuali Rice Implementation - org/kuali/rice/ken/service/NotificationRecipientService.java

ViolationLine
Avoid unused imports such as 'java.util.Collection'18

Kuali Rice Implementation - org/kuali/rice/ken/service/impl/KENAPIServiceImpl.java

ViolationLine
Avoid unused private fields such as 'prefsService'.34

Kuali Rice Implementation - org/kuali/rice/ken/service/impl/NotificationAuthorizationServiceImpl.java

ViolationLine
Avoid unused private fields such as 'LOG'.35
Avoid unused private fields such as 'businessObjectDao'.37

Kuali Rice Implementation - org/kuali/rice/ken/service/impl/NotificationContentTypeServiceImpl.java

ViolationLine
Avoid unused imports such as 'org.apache.ojb.broker.query.QueryByCriteria'23
Avoid unused imports such as 'org.apache.ojb.broker.query.QueryFactory'24
Avoid unused imports such as 'org.kuali.rice.kew.doctype.bo.DocumentType'29

Kuali Rice Implementation - org/kuali/rice/ken/service/impl/NotificationMessageContentServiceImpl.java

ViolationLine
Avoid unused method parameters such as 'content'.368 - 384
Avoid unused method parameters such as 'notification'.368 - 384

Kuali Rice Implementation - org/kuali/rice/ken/service/impl/NotificationMessageDeliveryAutoRemovalServiceImpl.java

ViolationLine
Avoid unused local variables such as 'firstMessageDelivery'.70

Kuali Rice Implementation - org/kuali/rice/ken/service/impl/NotificationMessageDeliveryResolverServiceImpl.java

ViolationLine
Avoid unused private fields such as 'userPreferenceService'.56

Kuali Rice Implementation - org/kuali/rice/ken/service/impl/NotificationServiceImpl.java

ViolationLine
Avoid unused private fields such as 'notificationWorkflowDocumentService'.52
These nested if statements could be combined141 - 145

Kuali Rice Implementation - org/kuali/rice/ken/service/impl/UserPreferenceServiceImpl.java

ViolationLine
Avoid unused private fields such as 'notificationChannelService'.34

Kuali Rice Implementation - org/kuali/rice/ken/util/ConfiguredNamespaceContext.java

ViolationLine
Avoid unused private fields such as 'LOG'.32

Kuali Rice Implementation - org/kuali/rice/ken/util/NotificationConstants.java

ViolationLine
Unnecessary final modifier in final class245 - 251

Kuali Rice Implementation - org/kuali/rice/ken/util/Util.java

ViolationLine
Unnecessary final modifier in final class369 - 447
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.396

Kuali Rice Implementation - org/kuali/rice/ken/web/spring/AdministerNotificationRequestController.java

ViolationLine
Avoid unused method parameters such as 'response'.303 - 335

Kuali Rice Implementation - org/kuali/rice/ken/web/spring/BaseSendNotificationController.java

ViolationLine
Avoid unused private fields such as 'LOG'.42

Kuali Rice Implementation - org/kuali/rice/ken/web/spring/NotificationController.java

ViolationLine
Avoid unused imports such as 'org.springframework.web.servlet.view.RedirectView'40
Avoid unused method parameters such as 'response'.291 - 346

Kuali Rice Implementation - org/kuali/rice/ken/web/spring/SendEventNotificationMessageController.java

ViolationLine
These nested if statements could be combined602 - 604

Kuali Rice Implementation - org/kuali/rice/ken/web/spring/UserPreferencesController.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.ken.deliverer.NotificationMessageDeliverer'31
Avoid unused imports such as 'org.kuali.rice.ken.exception.ErrorList'32
An empty statement (semicolon) not part of a loop149

Kuali Rice Implementation - org/kuali/rice/kew/actionitem/dao/impl/ActionItemDAOJpaImpl.java

ViolationLine
These nested if statements could be combined178 - 180

Kuali Rice Implementation - org/kuali/rice/kew/actionlist/dao/impl/ActionListDAOOjbImpl.java

ViolationLine
Avoid empty catch blocks577
Avoid empty catch blocks582

Kuali Rice Implementation - org/kuali/rice/kew/actionlist/web/ActionListAction.java

ViolationLine
Avoid unused private fields such as 'ROUTEHEADERID_PROP'.88
Avoid unused private fields such as 'DOCTITLE_PROP'.91
Avoid unused private fields such as 'ACTIONITEM_ROUTEHEADERID_INVALID_ERRKEY'.96
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.377
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.386
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.389
Avoid unused local variables such as 'index'.617
Avoid unused method parameters such as 'request'.772 - 774

Kuali Rice Implementation - org/kuali/rice/kew/actionlist/web/ActionListFilterAction.java

ViolationLine
Avoid unused imports such as 'java.util.Iterator'23
Avoid unused method parameters such as 'request'.183 - 185

Kuali Rice Implementation - org/kuali/rice/kew/actionlist/web/ActionListFilterForm.java

ViolationLine
Avoid unused imports such as 'org.apache.struts.action.ActionErrors'50
Avoid empty catch blocks219 - 221

Kuali Rice Implementation - org/kuali/rice/kew/actionrequest/ActionRequestValue.java

ViolationLine
Avoid unused private fields such as 'groupName'.178

Kuali Rice Implementation - org/kuali/rice/kew/actionrequest/KimPrincipalRecipient.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kim.service.KIMServiceLocator'19

Kuali Rice Implementation - org/kuali/rice/kew/actionrequest/service/impl/ActionRequestServiceImpl.java

ViolationLine
These nested if statements could be combined383 - 386
Avoid unused local variables such as 'allDeactivated'.458
Avoid unused local variables such as 'matchedArs'.519
Avoid unused local variables such as 'arGroups'.536
These nested if statements could be combined699 - 701
These nested if statements could be combined815 - 819

Kuali Rice Implementation - org/kuali/rice/kew/actionrequest/service/impl/DocumentRequeuerImpl.java

ViolationLine
Avoid unused imports such as 'java.util.Iterator'21

Kuali Rice Implementation - org/kuali/rice/kew/actionrequest/service/impl/NotificationSuppression.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kew.engine.RouteContext'28

Kuali Rice Implementation - org/kuali/rice/kew/actions/AcknowledgeAction.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kew.exception.ResourceUnavailableException'28
These nested if statements could be combined141 - 143

Kuali Rice Implementation - org/kuali/rice/kew/actions/ActionRegistryImpl.java

ViolationLine
Avoid unused imports such as 'java.util.Iterator'22

Kuali Rice Implementation - org/kuali/rice/kew/actions/AdHocAction.java

ViolationLine
Avoid unused imports such as 'java.util.Iterator'19

Kuali Rice Implementation - org/kuali/rice/kew/actions/ApproveAction.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kew.exception.ResourceUnavailableException'28
These nested if statements could be combined144 - 146

Kuali Rice Implementation - org/kuali/rice/kew/actions/ClearFYIAction.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kew.exception.ResourceUnavailableException'27
These nested if statements could be combined130 - 132

Kuali Rice Implementation - org/kuali/rice/kew/actions/CompleteAction.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kew.exception.ResourceUnavailableException'27
These nested if statements could be combined139 - 141

Kuali Rice Implementation - org/kuali/rice/kew/actions/DisapproveAction.java

ViolationLine
These nested if statements could be combined200 - 205

Kuali Rice Implementation - org/kuali/rice/kew/actions/LogDocumentActionAction.java

ViolationLine
Avoid unused local variables such as 'actionTaken'.80

Kuali Rice Implementation - org/kuali/rice/kew/actions/ReleaseWorkgroupAuthority.java

ViolationLine
Avoid unused imports such as 'java.util.Iterator'19
These nested if statements could be combined103 - 114

Kuali Rice Implementation - org/kuali/rice/kew/actions/RouteDocumentAction.java

ViolationLine
Avoid unused imports such as 'java.util.Iterator'19

Kuali Rice Implementation - org/kuali/rice/kew/actions/SuperUserActionRequestApproveEvent.java

ViolationLine
These nested if statements could be combined148 - 156

Kuali Rice Implementation - org/kuali/rice/kew/actions/SuperUserActionTakenEvent.java

ViolationLine
Avoid unused imports such as 'java.util.Iterator'20

Kuali Rice Implementation - org/kuali/rice/kew/actions/TakeWorkgroupAuthority.java

ViolationLine
Avoid unused imports such as 'java.util.Iterator'21

Kuali Rice Implementation - org/kuali/rice/kew/batch/XmlIngesterServiceImpl.java

ViolationLine
Avoid unused method parameters such as 'successful'.195 - 215

Kuali Rice Implementation - org/kuali/rice/kew/bo/lookup/DocSearchCriteriaDTOLookupableHelperServiceImpl.java

ViolationLine
Avoid unused local variables such as 'parameters'.91
An empty statement (semicolon) not part of a loop133
Avoid unused local variables such as 'pkNames'.183
Avoid empty catch blocks278 - 280
Avoid empty if statements391 - 393
An empty statement (semicolon) not part of a loop886
Avoid empty catch blocks1102 - 1105

Kuali Rice Implementation - org/kuali/rice/kew/bo/lookup/DocumentRouteHeaderValueLookupableHelperServiceImpl.java

ViolationLine
Avoid unused local variables such as 'returnKeys'.135
Avoid unused local variables such as 'pkNames'.136
Avoid unused local variables such as 'user'.137
Avoid empty try blocks188 - 191
Avoid empty catch blocks191 - 194
Avoid empty if statements256 - 258
An empty statement (semicolon) not part of a loop427

Kuali Rice Implementation - org/kuali/rice/kew/config/ThinClientResourceLoader.java

ViolationLine
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.233

Kuali Rice Implementation - org/kuali/rice/kew/docsearch/DocSearchCriteriaDTO.java

ViolationLine
Avoid empty if statements583 - 585

Kuali Rice Implementation - org/kuali/rice/kew/docsearch/DocumentLookupCriteriaBuilder.java

ViolationLine
Avoid empty catch blocks72 - 75

Kuali Rice Implementation - org/kuali/rice/kew/docsearch/DocumentSearchColumn_DEPR.java

ViolationLine
Avoid unused imports such as 'java.util.HashMap'18
Avoid unused imports such as 'java.util.Map'19
Avoid unused imports such as 'org.kuali.rice.kew.util.Utilities'21

Kuali Rice Implementation - org/kuali/rice/kew/docsearch/DocumentSearchField_DEPR.java

ViolationLine
Avoid unused imports such as 'java.util.HashSet'20
Avoid unused imports such as 'java.util.List'21
Avoid unused imports such as 'java.util.Map'22
Avoid unused imports such as 'java.util.HashMap'23
Avoid unused imports such as 'java.util.Set'24
Avoid unused imports such as 'org.kuali.rice.kew.engine.node.KeyValuePair'25

Kuali Rice Implementation - org/kuali/rice/kew/docsearch/SearchableAttributeStringValue.java

ViolationLine
Avoid unused imports such as 'java.util.Map'21

Kuali Rice Implementation - org/kuali/rice/kew/docsearch/SearchableAttributeValue.java

ViolationLine
Avoid unused imports such as 'java.util.Map'21

Kuali Rice Implementation - org/kuali/rice/kew/docsearch/StandardDocSearchCriteriaManager.java

ViolationLine
Avoid unused constructor parameters such as 'searchCriteriaDisplayed'.36 - 38
Avoid unused constructor parameters such as 'headerBarDisplayed'.36 - 38

Kuali Rice Implementation - org/kuali/rice/kew/docsearch/StandardDocumentSearchCriteriaProcessor.java

ViolationLine
Avoid unused private fields such as 'LOG'.31

Kuali Rice Implementation - org/kuali/rice/kew/docsearch/StandardDocumentSearchGenerator.java

ViolationLine
Avoid unused private fields such as 'CREATE_DATE_FIELD_STRING'.84
Avoid unused private fields such as 'APPROVE_DATE_FIELD_STRING'.85
Avoid unused private fields such as 'FINALIZATION_DATE_FIELD_STRING'.86
Avoid unused private fields such as 'LAST_STATUS_UPDATE_DATE'.87
Avoid unused private fields such as 'STATUS_TRANSITION_DATE_FIELD_STRING'.88
Avoid unused private methods such as 'parseAndConvertDateToRange(String)'.295
Avoid unused local variables such as 'queryTableColumnName'.648
These nested if statements could be combined1735 - 1737
Avoid unused private methods such as 'tokenizeCriteria(String)'.1833
Avoid unused private methods such as 'validateNumber(List)'.1840

Kuali Rice Implementation - org/kuali/rice/kew/docsearch/StandardDocumentSearchResultProcessor.java

ViolationLine
Avoid unused private fields such as 'LOG'.49
Avoid unnecessary return statements268
These nested if statements could be combined290 - 307
These nested if statements could be combined291 - 306
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.339

Kuali Rice Implementation - org/kuali/rice/kew/docsearch/dao/impl/DocumentSearchDAOJdbcImpl.java

ViolationLine
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet.92

Kuali Rice Implementation - org/kuali/rice/kew/docsearch/dao/impl/DocumentSearchDAOOjbImpl.java

ViolationLine
Avoid unused local variables such as 'documentSecurityService'.67

Kuali Rice Implementation - org/kuali/rice/kew/docsearch/service/impl/DocumentSearchServiceImpl.java

ViolationLine
These nested if statements could be combined256 - 262
These nested if statements could be combined284 - 290
These nested if statements could be combined312 - 318
These nested if statements could be combined340 - 346
Avoid unused private methods such as 'validateNetworkId(List)'.351
Avoid unused local variables such as 'pList'.380
Avoid unused private methods such as 'getValidDocumentType(String)'.734
Avoid unused private methods such as 'getValidDocumentTypeOld(String)'.761
Avoid unused private methods such as 'tokenizeCriteria(String)'.848

Kuali Rice Implementation - org/kuali/rice/kew/docsearch/web/DocumentSearchForm.java

ViolationLine
Avoid unused imports such as 'org.apache.struts.action.ActionForm'19

Kuali Rice Implementation - org/kuali/rice/kew/docsearch/xml/StandardGenericXMLSearchableAttribute.java

ViolationLine
Avoid empty if statements280 - 282
These nested if statements could be combined394 - 396
Avoid unused method parameters such as 'dataType'.419 - 425
Avoid unused method parameters such as 'quickfinderService'.443 - 472
Avoid unused private methods such as 'getBooleanWithPotentialOverrides(String,NamedNodeMap,NamedNodeMap,NamedNodeMap)'.532
These nested if statements could be combined609 - 611
Avoid unused local variables such as 'rangeDefinitionAttributes'.729
Avoid empty if statements771 - 781

Kuali Rice Implementation - org/kuali/rice/kew/doctype/DocumentTypeAttribute.java

ViolationLine
Avoid unused imports such as 'javax.persistence.GeneratedValue'22
Avoid unused imports such as 'javax.persistence.SequenceGenerator'27

Kuali Rice Implementation - org/kuali/rice/kew/doctype/DocumentTypePolicy.java

ViolationLine
Avoid unused imports such as 'javax.persistence.FetchType'23
Avoid unused imports such as 'javax.persistence.JoinColumn'26
Avoid unused imports such as 'javax.persistence.ManyToOne'27
Avoid unused imports such as 'org.kuali.rice.kew.doctype.bo.DocumentType'32
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.155

Kuali Rice Implementation - org/kuali/rice/kew/doctype/DocumentTypeSecurity.java

ViolationLine
Avoid unused imports such as 'java.io.IOException'19
Avoid unused imports such as 'javax.xml.parsers.ParserConfigurationException'26
Avoid unused imports such as 'org.kuali.rice.core.reflect.ObjectDefinition'31
Avoid unused imports such as 'org.kuali.rice.core.resourceloader.GlobalResourceLoader'32
Avoid unused imports such as 'org.xml.sax.SAXException'48
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.88
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.91
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.100
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.103
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.113
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.116

Kuali Rice Implementation - org/kuali/rice/kew/doctype/bo/DocumentType.java

ViolationLine
These nested if statements could be combined1241 - 1243

Kuali Rice Implementation - org/kuali/rice/kew/doctype/dao/impl/DocumentTypeDAOJpaImpl.java

ViolationLine
Avoid unused local variables such as 'docType'.62

Kuali Rice Implementation - org/kuali/rice/kew/doctype/service/impl/DocumentSecurityServiceImpl.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kew.util.Utilities'33
These nested if statements could be combined138 - 140

Kuali Rice Implementation - org/kuali/rice/kew/document/DocumentTypeMaintainable.java

ViolationLine
Overriding method merely calls super94 - 96

Kuali Rice Implementation - org/kuali/rice/kew/document/RoutingRuleMaintainableBusRule.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kew.rule.RuleDelegation'28
These nested if statements could be combined167 - 170
These nested if statements could be combined177 - 180
These nested if statements could be combined221 - 225
Avoid unused local variables such as 'extensions'.243

Kuali Rice Implementation - org/kuali/rice/kew/documentlink/dao/impl/DocumentLinkDAOJpaImpl.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kew.doctype.bo.DocumentType'25

Kuali Rice Implementation - org/kuali/rice/kew/documentlink/dao/impl/DocumentLinkDAOOjbImpl.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kew.notes.Note'24

Kuali Rice Implementation - org/kuali/rice/kew/documentoperation/web/DocumentOperationAction.java

ViolationLine
Avoid unused imports such as 'java.text.SimpleDateFormat'22
Avoid empty if statements631 - 633

Kuali Rice Implementation - org/kuali/rice/kew/dto/DTOConverter.java

ViolationLine
This usage of the Collection.toArray() method will throw a ClassCastException.1319

Kuali Rice Implementation - org/kuali/rice/kew/edl/EDLDatabasePostProcessor.java

ViolationLine
These nested if statements could be combined191 - 193

Kuali Rice Implementation - org/kuali/rice/kew/edl/EDLServlet.java

ViolationLine
These nested if statements could be combined97 - 100

Kuali Rice Implementation - org/kuali/rice/kew/edl/WorkflowFunctions.java

ViolationLine
These nested if statements could be combined96 - 105

Kuali Rice Implementation - org/kuali/rice/kew/edl/components/NetworkIdWorkflowEDLConfigComponent.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kew.service.KEWServiceLocator'21
Avoid unused imports such as 'org.kuali.rice.kew.user.AuthenticationUserId'23
Avoid duplicate imports such as 'org.kuali.rice.kim.bo.entity.KimPrincipal'24

Kuali Rice Implementation - org/kuali/rice/kew/edl/components/NoteConfigComponent.java

ViolationLine
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.189
Avoid empty if statements193 - 195

Kuali Rice Implementation - org/kuali/rice/kew/edl/components/PageHandler.java

ViolationLine
Avoid unused method parameters such as 'currentPage'.57 - 65

Kuali Rice Implementation - org/kuali/rice/kew/edl/components/RefreshFromLookupComponent.java

ViolationLine
Avoid unused imports such as 'org.apache.commons.lang.StringUtils'21

Kuali Rice Implementation - org/kuali/rice/kew/edl/components/ValidationComponent.java

ViolationLine
Avoid unused private fields such as 'edlContext'.54

Kuali Rice Implementation - org/kuali/rice/kew/edl/components/VersioningPreprocessor.java

ViolationLine
Avoid unused private fields such as 'LOG'.41
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.82

Kuali Rice Implementation - org/kuali/rice/kew/edl/components/WorkflowDocumentActions.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kew.dto.NetworkIdDTO'20
Avoid unused local variables such as 'requestParser'.92

Kuali Rice Implementation - org/kuali/rice/kew/edl/dao/impl/EDocLiteDAOJpaImpl.java

ViolationLine
Avoid unused private fields such as 'LOG'.39

Kuali Rice Implementation - org/kuali/rice/kew/edl/extract/ExtractServiceImpl.java

ViolationLine
Avoid unused private fields such as 'LOG'.25

Kuali Rice Implementation - org/kuali/rice/kew/engine/StandardWorkflowEngine.java

ViolationLine
Avoid unused method parameters such as 'nextNodeInstance'.325 - 333
Avoid unused method parameters such as 'nodeInstance'.557 - 579
Avoid unused method parameters such as 'nodeInstanceId'.593 - 614
Avoid unused method parameters such as 'nodeInstanceId'.656 - 677

Kuali Rice Implementation - org/kuali/rice/kew/engine/node/FYIByNetworkId.java

ViolationLine
Avoid unused local variables such as 'routeHeaderId'.52

Kuali Rice Implementation - org/kuali/rice/kew/engine/node/IteratedRequestActivationNode.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kew.exception.ResourceUnavailableException'23

Kuali Rice Implementation - org/kuali/rice/kew/engine/node/KRAMetaRuleNode.java

ViolationLine
These nested if statements could be combined122 - 124
Overriding method merely calls super154 - 156

Kuali Rice Implementation - org/kuali/rice/kew/engine/node/NodeJotter.java

ViolationLine
These nested if statements could be combined76 - 79

Kuali Rice Implementation - org/kuali/rice/kew/engine/node/RequestActivationNode.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kew.exception.ResourceUnavailableException'29

Kuali Rice Implementation - org/kuali/rice/kew/engine/node/RequestActivationNodeBase.java

ViolationLine
Avoid unused imports such as 'java.util.ArrayList'18
Avoid unused imports such as 'org.kuali.rice.kew.actionrequest.ActionRequestValue'22
Avoid unused imports such as 'org.kuali.rice.kew.service.KEWServiceLocator'25

Kuali Rice Implementation - org/kuali/rice/kew/engine/node/RequestsNode.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kew.exception.ResourceUnavailableException'28
These nested if statements could be combined129 - 132

Kuali Rice Implementation - org/kuali/rice/kew/engine/node/RoleNode.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kew.exception.ResourceUnavailableException'32

Kuali Rice Implementation - org/kuali/rice/kew/engine/node/RouteNode.java

ViolationLine
These nested if statements could be combined294 - 296

Kuali Rice Implementation - org/kuali/rice/kew/engine/node/RouteNodeConfigParam.java

ViolationLine
Avoid unused imports such as 'javax.persistence.PrePersist'30

Kuali Rice Implementation - org/kuali/rice/kew/engine/node/hierarchyrouting/HierarchyRoutingNode.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kew.engine.node.Branch'37
Avoid unused local variables such as 'i'.117
Avoid unused local variables such as 'documentType'.158
Avoid empty if statements164 - 189
Avoid unused method parameters such as 'helper'.229 - 278
Avoid unused method parameters such as 'helper'.390 - 410

Kuali Rice Implementation - org/kuali/rice/kew/engine/simulation/SimulationEngine.java

ViolationLine
These nested if statements could be combined205 - 207
Avoid empty catch blocks337 - 339

Kuali Rice Implementation - org/kuali/rice/kew/engine/transition/DynamicTransitionEngine.java

ViolationLine
Avoid empty if statements107 - 110

Kuali Rice Implementation - org/kuali/rice/kew/engine/transition/LoopTransitionEngine.java

ViolationLine
Avoid unused local variables such as 'doc'.54

Kuali Rice Implementation - org/kuali/rice/kew/exception/RouteManagerException.java

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

Kuali Rice Implementation - org/kuali/rice/kew/feedback/web/FeedbackAction.java

ViolationLine
Avoid unused private methods such as 'constructSubject(FeedbackForm)'.135
Avoid unused private methods such as 'constructEmailBody(FeedbackForm)'.143
Avoid unused method parameters such as 'request'.163 - 165

Kuali Rice Implementation - org/kuali/rice/kew/help/service/impl/HelpServiceImpl.java

ViolationLine
Avoid unused local variables such as 'errors'.107

Kuali Rice Implementation - org/kuali/rice/kew/help/web/HelpAction.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.core.util.RiceConstants'29
Avoid unused imports such as 'org.kuali.rice.kns.exception.ValidationException'37

Kuali Rice Implementation - org/kuali/rice/kew/help/web/HelpForm.java

ViolationLine
Avoid unused imports such as 'org.apache.struts.action.ActionForm'19

Kuali Rice Implementation - org/kuali/rice/kew/identity/service/impl/IdentityHelperServiceImpl.java

ViolationLine
Avoid unused private fields such as 'logger'.49

Kuali Rice Implementation - org/kuali/rice/kew/lookupable/LookupForm.java

ViolationLine
Avoid unused imports such as 'java.util.ArrayList'19
Avoid unused imports such as 'java.util.List'20

Kuali Rice Implementation - org/kuali/rice/kew/mail/EmailNode.java

ViolationLine
These nested if statements could be combined64 - 66

Kuali Rice Implementation - org/kuali/rice/kew/mail/service/impl/DefaultEmailService.java

ViolationLine
No need to import a type that lives in the same package34
No need to import a type that lives in the same package35
No need to import a type that lives in the same package36

Kuali Rice Implementation - org/kuali/rice/kew/messaging/exceptionhandling/ExceptionRoutingServiceImpl.java

ViolationLine
These nested if statements could be combined232 - 234

Kuali Rice Implementation - org/kuali/rice/kew/notes/Attachment.java

ViolationLine
Avoid unused imports such as 'javax.persistence.CascadeType'21

Kuali Rice Implementation - org/kuali/rice/kew/notes/web/AttachmentServlet.java

ViolationLine
Avoid unused local variables such as 'bytesWritten'.96

Kuali Rice Implementation - org/kuali/rice/kew/notes/web/NoteAction.java

ViolationLine
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.207
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.236
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.254
Avoid unused method parameters such as 'request'.320 - 322

Kuali Rice Implementation - org/kuali/rice/kew/notes/web/NoteForm.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kew.util.KEWConstants'22
Avoid unused imports such as 'org.kuali.rice.kew.util.Utilities'23
Avoid unused imports such as 'org.kuali.rice.kns.util.KNSConstants'24

Kuali Rice Implementation - org/kuali/rice/kew/plugin/PluginClassLoader.java

ViolationLine
Overriding method merely calls super80 - 83
Avoid empty catch blocks141 - 143
Avoid empty catch blocks155 - 157
Avoid empty catch blocks168 - 170

Kuali Rice Implementation - org/kuali/rice/kew/plugin/PluginUtils.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.core.config.Config'29
Avoid unused imports such as 'org.kuali.rice.core.config.ConfigContext'30

Kuali Rice Implementation - org/kuali/rice/kew/postprocessor/PostProcessorRemote.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kew.exception.ResourceUnavailableException'28

Kuali Rice Implementation - org/kuali/rice/kew/preferences/service/PreferencesService.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kim.bo.entity.KimPrincipal'20

Kuali Rice Implementation - org/kuali/rice/kew/preferences/service/impl/PreferencesServiceImpl.java

ViolationLine
Avoid unused private fields such as 'DEFAULT_COLOR'.74
Avoid unused private fields such as 'DEFAULT_ACTION_LIST_SIZE'.75
Avoid unused private fields such as 'DEFAULT_REFRESH_RATE'.76
Avoid unused local variables such as 'stagingDirectory'.98
Avoid empty if statements190 - 192

Kuali Rice Implementation - org/kuali/rice/kew/preferences/web/PreferencesAction.java

ViolationLine
Avoid unused method parameters such as 'request'.103 - 105

Kuali Rice Implementation - org/kuali/rice/kew/preferences/web/PreferencesForm.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kew.exception.WorkflowServiceErrorImpl'21
Avoid unused imports such as 'org.kuali.rice.kew.util.KEWConstants'23

Kuali Rice Implementation - org/kuali/rice/kew/quicklinks/dao/impl/QuickLinksDAOJpaImpl.java

ViolationLine
Avoid unused private fields such as 'LOG'.42

Kuali Rice Implementation - org/kuali/rice/kew/quicklinks/dao/impl/QuickLinksDAOOjbImpl.java

ViolationLine
Avoid empty catch blocks81 - 82
Avoid empty catch blocks88 - 89
Avoid empty catch blocks95 - 96
Avoid empty catch blocks102 - 103
Avoid empty catch blocks169 - 170
Avoid empty catch blocks175 - 176
Avoid empty catch blocks214 - 215
Avoid empty catch blocks220 - 221

Kuali Rice Implementation - org/kuali/rice/kew/quicklinks/web/QuickLinksAction.java

ViolationLine
Avoid unused imports such as 'org.apache.struts.action.ActionMessages'28
Avoid unused imports such as 'org.kuali.rice.kew.web.KeyValue'32
Avoid unused imports such as 'org.kuali.rice.kns.util.GlobalVariables'34
Avoid unused method parameters such as 'request'.86 - 88

Kuali Rice Implementation - org/kuali/rice/kew/removereplace/RuleTarget.java

ViolationLine
Avoid unused private fields such as 'removeReplaceDocument'.49

Kuali Rice Implementation - org/kuali/rice/kew/removereplace/WorkgroupTarget.java

ViolationLine
Avoid unused private fields such as 'removeReplaceDocument'.49

Kuali Rice Implementation - org/kuali/rice/kew/removereplace/service/impl/RemoveReplaceDocumentServiceImpl.java

ViolationLine
Do not use if statements that are always true or always false135

Kuali Rice Implementation - org/kuali/rice/kew/removereplace/web/RemoveReplaceAction.java

ViolationLine
Avoid unused private fields such as 'INVALID_REPLACEMENT_USER_ID_MSG'.64
Avoid unused method parameters such as 'request'.490 - 492

Kuali Rice Implementation - org/kuali/rice/kew/removereplace/web/RemoveReplaceForm.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kew.web.WorkflowRoutingForm'27

Kuali Rice Implementation - org/kuali/rice/kew/resourceloader/CoreResourceLoader.java

ViolationLine
Avoid unused private fields such as 'LOG'.38
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.107

Kuali Rice Implementation - org/kuali/rice/kew/routeheader/DocumentRouteHeaderValue.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kew.exception.ResourceUnavailableException'45
Avoid unused private fields such as 'searchableAttributeValues'.178

Kuali Rice Implementation - org/kuali/rice/kew/routeheader/DocumentRouteHeaderValueActionListExtension.java

ViolationLine
Avoid unused imports such as 'org.apache.commons.lang.StringUtils'21
Avoid unused imports such as 'org.kuali.rice.kew.user.UserUtils'22
Avoid unused imports such as 'org.kuali.rice.kew.web.session.UserSession'23
Avoid unused imports such as 'org.kuali.rice.kim.bo.entity.dto.KimEntityDefaultInfo'26

Kuali Rice Implementation - org/kuali/rice/kew/routeheader/DocumentRouteHeaderValueContent.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.core.jpa.annotations.Sequence'30

Kuali Rice Implementation - org/kuali/rice/kew/routeheader/DocumentStatusTransition.java

ViolationLine
Avoid unused imports such as 'javax.persistence.IdClass'24

Kuali Rice Implementation - org/kuali/rice/kew/routeheader/StandardDocumentContent.java

ViolationLine
Avoid unused method parameters such as 'routeContext'.76 - 93

Kuali Rice Implementation - org/kuali/rice/kew/routeheader/dao/impl/DocumentRouteHeaderDAOJpaImpl.java

ViolationLine
Avoid unused imports such as 'org.apache.ojb.broker.query.Criteria'32
Avoid unused imports such as 'org.apache.ojb.broker.query.QueryFactory'33
Avoid unused imports such as 'org.apache.ojb.broker.query.ReportQueryByCriteria'34
Avoid empty if statements152 - 154

Kuali Rice Implementation - org/kuali/rice/kew/routeheader/dao/impl/DocumentRouteHeaderDAOOjbImpl.java

ViolationLine
Avoid empty catch blocks133 - 134

Kuali Rice Implementation - org/kuali/rice/kew/routeheader/service/impl/WorkflowDocumentServiceImpl.java

ViolationLine
Avoid unused local variables such as 'principal'.451

Kuali Rice Implementation - org/kuali/rice/kew/routelog/web/RouteLogAction.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kim.bo.impl.KimAttributes'63
Avoid unused imports such as 'org.kuali.rice.kim.bo.types.dto.AttributeSet'64
Avoid unused imports such as 'org.kuali.rice.kim.service.KIMServiceLocator'65
Avoid unused imports such as 'org.kuali.rice.kim.util.KimConstants'66
Avoid unused imports such as 'org.kuali.rice.kns.exception.AuthorizationException'67
These nested if statements could be combined300 - 303
Avoid unused method parameters such as 'request'.312 - 314

Kuali Rice Implementation - org/kuali/rice/kew/routemodule/InlineRequestsRouteModule.java

ViolationLine
Avoid unused imports such as 'org.apache.commons.lang.StringUtils'26
Avoid unused private fields such as 'LOG'.56
Avoid empty if statements123 - 125

Kuali Rice Implementation - org/kuali/rice/kew/routemodule/service/impl/RouteModuleServiceImpl.java

ViolationLine
Avoid unused method parameters such as 'ruleTemplateName'.80 - 82

Kuali Rice Implementation - org/kuali/rice/kew/rule/AccumulatingBSFRuleExpression.java

ViolationLine
Avoid unused private fields such as 'LOG'.35

Kuali Rice Implementation - org/kuali/rice/kew/rule/FlexRM.java

ViolationLine
Avoid unused private methods such as 'makeActionRequests(ActionRequestFactory,RouteContext,RuleBaseValues,DocumentRouteHeaderValue,ActionRequestValue,RuleDelegation)'.238
Avoid empty catch blocks355

Kuali Rice Implementation - org/kuali/rice/kew/rule/RolePokerProcessor.java

ViolationLine
Avoid unused private methods such as 'parseParameters(String)'.57

Kuali Rice Implementation - org/kuali/rice/kew/rule/RuleBaseValues.java

ViolationLine
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.442
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.445
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.448
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.460

Kuali Rice Implementation - org/kuali/rice/kew/rule/RuleDelegation.java

ViolationLine
Avoid unused imports such as 'javax.persistence.ManyToOne'27
Avoid unused imports such as 'javax.persistence.Transient'30

Kuali Rice Implementation - org/kuali/rice/kew/rule/RuleExpressionDef.java

ViolationLine
Ensure you override both equals() and hashCode()98

Kuali Rice Implementation - org/kuali/rice/kew/rule/RuleExtension.java

ViolationLine
Avoid unused imports such as 'javax.persistence.GeneratedValue'19
Avoid unused imports such as 'javax.persistence.GenerationType'20
Avoid unused imports such as 'javax.persistence.SequenceGenerator'26
Avoid unused imports such as 'javax.persistence.Transient'27
Avoid unused imports such as 'org.kuali.rice.kns.util.Guid'42
Ensure you override both equals() and hashCode()190

Kuali Rice Implementation - org/kuali/rice/kew/rule/RuleExtensionValue.java

ViolationLine
Ensure you override both equals() and hashCode()135

Kuali Rice Implementation - org/kuali/rice/kew/rule/TemplateRuleSelector.java

ViolationLine
Avoid unused local variables such as 'documentContent'.92

Kuali Rice Implementation - org/kuali/rice/kew/rule/WorkflowAttributeValidationError.java

ViolationLine
Avoid unused imports such as 'java.util.Map'20

Kuali Rice Implementation - org/kuali/rice/kew/rule/bo/RuleBaseValuesInquirableImpl.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kew.util.KEWPropertyConstants'25

Kuali Rice Implementation - org/kuali/rice/kew/rule/bo/RuleBaseValuesLookupableHelperServiceImpl.java

ViolationLine
Avoid unused private fields such as 'ROLE_REVIEWER_PROPERTY_NAME'.88
Avoid unused private fields such as 'DOC_TYP_LOOKUPABLE'.93
Avoid unused private fields such as 'RULE_TEMPLATE_LOOKUPABLE'.94
Avoid unused private fields such as 'WORKGROUP_LOOKUPABLE'.95
Avoid unused private fields such as 'PERSON_LOOKUPABLE'.96
Avoid unused private fields such as 'WORKGROUP_ID_PROPERTY_NAME'.98
Avoid unused local variables such as 'i'.123
Avoid unused local variables such as 'errors'.192
Avoid unused local variables such as 'attributeLabel'.263
Avoid unused local variables such as 'attributeLabel'.447
Avoid unused local variables such as 'attributeLabel'.455

Kuali Rice Implementation - org/kuali/rice/kew/rule/bo/RuleDelegationLookupableHelperServiceImpl.java

ViolationLine
Avoid unused private fields such as 'RULE_TEMPLATE_ID_PROPERTY_NAME'.77
Avoid unused private fields such as 'DOC_TYP_LOOKUPABLE'.88
Avoid unused private fields such as 'RULE_TEMPLATE_LOOKUPABLE'.89
Avoid unused private fields such as 'WORKGROUP_LOOKUPABLE'.90
Avoid unused private fields such as 'PERSON_LOOKUPABLE'.91
Avoid unused local variables such as 'i'.116
Avoid unused local variables such as 'delegationWizard'.200
Avoid unused local variables such as 'isDelegateRule'.207
Avoid unused local variables such as 'attributeLabel'.242
Avoid unused local variables such as 'attributeLabel'.410
Avoid unused local variables such as 'attributeLabel'.419

Kuali Rice Implementation - org/kuali/rice/kew/rule/bo/RuleTemplateAttribute.java

ViolationLine
Avoid unused imports such as 'javax.persistence.Transient'30
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.266

Kuali Rice Implementation - org/kuali/rice/kew/rule/dao/impl/RuleDAOJpaImpl.java

ViolationLine
Avoid unused private fields such as 'LOG'.42
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.121

Kuali Rice Implementation - org/kuali/rice/kew/rule/dao/impl/RuleDAOOjbImpl.java

ViolationLine
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.118
These nested if statements could be combined219 - 221
Avoid unused private methods such as 'getWorkgroupOrCriteria(Collection)'.386
Avoid unused private methods such as 'getWorkgroupResponsibilitySubQuery(Set)'.409

Kuali Rice Implementation - org/kuali/rice/kew/rule/dao/impl/RuleDelegationDAOOjbImpl.java

ViolationLine
Avoid unused private methods such as 'getWorkgroupResponsibilitySubQuery(Set)'.143

Kuali Rice Implementation - org/kuali/rice/kew/rule/dao/impl/RuleResponsibilityDAOJpaImpl.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.core.jpa.criteria.Criteria'22
Avoid unused imports such as 'org.kuali.rice.core.jpa.criteria.QueryByCriteria'23

Kuali Rice Implementation - org/kuali/rice/kew/rule/service/impl/RuleDelegationServiceImpl.java

ViolationLine
Avoid empty if statements130 - 132

Kuali Rice Implementation - org/kuali/rice/kew/rule/service/impl/RuleServiceImpl.java

ViolationLine
These nested if statements could be combined920 - 923
Avoid empty if statements950 - 952
Avoid empty if statements1000 - 1002
These nested if statements could be combined1329 - 1332
These nested if statements could be combined1418 - 1428

Kuali Rice Implementation - org/kuali/rice/kew/rule/web/DelegateRuleForm.java

ViolationLine
These nested if statements could be combined78 - 81

Kuali Rice Implementation - org/kuali/rice/kew/rule/web/RoutingReportAction.java

ViolationLine
Avoid unused local variables such as 'initiatorPrincipal'.332
Avoid unused method parameters such as 'isDelegate'.373 - 434
Avoid unused private methods such as 'makeLookupPathParam(ActionMapping,HttpServletRequest)'.448
Avoid unused method parameters such as 'request'.461 - 463

Kuali Rice Implementation - org/kuali/rice/kew/rule/web/RoutingReportForm.java

ViolationLine
Avoid unused imports such as 'java.util.Properties'23
Avoid unused imports such as 'org.apache.struts.action.ActionForm'29
Avoid unused imports such as 'org.kuali.rice.kns.util.KNSConstants'39
Avoid unused imports such as 'org.kuali.rice.kns.util.UrlFactory'40
These nested if statements could be combined96 - 102

Kuali Rice Implementation - org/kuali/rice/kew/rule/web/RuleForm.java

ViolationLine
Avoid unused imports such as 'java.util.ArrayList'18

Kuali Rice Implementation - org/kuali/rice/kew/rule/web/WebRuleResponsibility.java

ViolationLine
Avoid unused local variables such as 'o'.146
An empty statement (semicolon) not part of a loop317

Kuali Rice Implementation - org/kuali/rice/kew/rule/xmlrouting/StandardGenericXMLRuleAttribute.java

ViolationLine
Avoid unused local variables such as 'quickfinderService'.141
Avoid empty if statements153 - 156
These nested if statements could be combined460 - 462

Kuali Rice Implementation - org/kuali/rice/kew/service/WorkflowReports.java

ViolationLine
Avoid unused private fields such as 'LOG'.26

Kuali Rice Implementation - org/kuali/rice/kew/service/impl/KEWModuleService.java

ViolationLine
These nested if statements could be combined81 - 83

Kuali Rice Implementation - org/kuali/rice/kew/service/impl/ReviewResponsibilityTypeServiceImpl.java

ViolationLine
These nested if statements could be combined56 - 60

Kuali Rice Implementation - org/kuali/rice/kew/service/impl/WorkflowDocumentActionsWebServiceImpl.java

ViolationLine
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.143
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.154

Kuali Rice Implementation - org/kuali/rice/kew/service/impl/WorkflowUtilityWebServiceImpl.java

ViolationLine
These nested if statements could be combined869 - 880
These nested if statements could be combined942 - 944
Avoid unused local variables such as 'principalId'.1179

Kuali Rice Implementation - org/kuali/rice/kew/stats/dao/impl/StatsDAOOjbImpl.java

ViolationLine
Avoid unnecessary temporaries when converting primitives to Strings57
Avoid unnecessary temporaries when converting primitives to Strings72
Avoid unnecessary temporaries when converting primitives to Strings91
Avoid unnecessary temporaries when converting primitives to Strings125
Avoid unnecessary temporaries when converting primitives to Strings149

Kuali Rice Implementation - org/kuali/rice/kew/stats/web/StatsForm.java

ViolationLine
Avoid empty catch blocks104 - 106
Avoid empty catch blocks130 - 132

Kuali Rice Implementation - org/kuali/rice/kew/superuser/web/SuperUserAction.java

ViolationLine
Avoid unused method parameters such as 'request'.254 - 260
These nested if statements could be combined402 - 404

Kuali Rice Implementation - org/kuali/rice/kew/user/UserUtils.java

ViolationLine
Avoid unused imports such as 'org.apache.commons.lang.StringUtils'18
Avoid unused imports such as 'org.kuali.rice.kew.service.KEWServiceLocator'19
Avoid unused imports such as 'org.kuali.rice.kim.bo.entity.KimEntityPrivacyPreferences'22
Avoid unused imports such as 'org.kuali.rice.kns.util.ObjectUtils'27
Avoid unused private fields such as 'RESTRICTED_DATA_MASK'.41

Kuali Rice Implementation - org/kuali/rice/kew/util/ByteArrayDataSource.java

ViolationLine
Avoid empty catch blocks71

Kuali Rice Implementation - org/kuali/rice/kew/util/FutureRequestDocumentStateManager.java

ViolationLine
Avoid unused private fields such as 'LOG'.39

Kuali Rice Implementation - org/kuali/rice/kew/util/XmlHelper.java

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

Kuali Rice Implementation - org/kuali/rice/kew/web/ApplicationInitializeListener.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.core.config.SimpleConfig'33

Kuali Rice Implementation - org/kuali/rice/kew/web/DummyLoginFilter.java

ViolationLine
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.46

Kuali Rice Implementation - org/kuali/rice/kew/web/session/UserSession.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kew.user.UserUtils'31

Kuali Rice Implementation - org/kuali/rice/kew/workgroup/BaseWorkgroupId.java

ViolationLine
Avoid unused local variables such as 'pk'.44

Kuali Rice Implementation - org/kuali/rice/kew/xml/AbstractTransformationFilter.java

ViolationLine
Avoid unused imports such as 'java.util.Map'20

Kuali Rice Implementation - org/kuali/rice/kew/xml/DocumentTypeXmlParser.java

ViolationLine
Avoid unused method parameters such as 'nodeTypeName'.1154 - 1307
These nested if statements could be combined1211 - 1214

Kuali Rice Implementation - org/kuali/rice/kew/xml/EDocLiteXmlParser.java

ViolationLine
Avoid empty if statements106 - 108

Kuali Rice Implementation - org/kuali/rice/kew/xml/GroupNamespaceURIAllInOneFilterPOC.java

ViolationLine
Avoid unused method parameters such as 'attributes'.200 - 210

Kuali Rice Implementation - org/kuali/rice/kew/xml/GroupXmlJAXBParser.java

ViolationLine
Avoid unused private fields such as 'DEFAULT_GROUP_DESCRIPTION'.53
Avoid unused private methods such as 'isBlank(Object)'.276

Kuali Rice Implementation - org/kuali/rice/kew/xml/GroupXmlParser.java

ViolationLine
Avoid unused private fields such as 'DEFAULT_GROUP_DESCRIPTION'.58
Avoid unused private fields such as 'groupAttributes'.62

Kuali Rice Implementation - org/kuali/rice/kew/xml/RuleTemplateXmlParser.java

ViolationLine
Avoid empty if statements322 - 324
Avoid empty if statements392 - 394

Kuali Rice Implementation - org/kuali/rice/kew/xml/RuleXmlParser.java

ViolationLine
Avoid unused private methods such as 'checkForDuplicateRuleDelegations(List)'.157
Avoid unused local variables such as 'delegations'.379

Kuali Rice Implementation - org/kuali/rice/kew/xml/TestGroupNamespaceURIFilter.java

ViolationLine
Avoid unused method parameters such as 'attributes'.144 - 154

Kuali Rice Implementation - org/kuali/rice/kew/xml/XmlRenderer.java

ViolationLine
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.60

Kuali Rice Implementation - org/kuali/rice/kew/xml/export/DocumentTypeXmlExporter.java

ViolationLine
These nested if statements could be combined337 - 340
Avoid unused method parameters such as 'nodeType'.422 - 424
Avoid unused method parameters such as 'nodeType'.429 - 431

Kuali Rice Implementation - org/kuali/rice/kew/xml/export/GroupXmlExporter.java

ViolationLine
Avoid unnecessary temporaries when converting primitives to Strings78
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.78

Kuali Rice Implementation - org/kuali/rice/kew/xml/export/RuleTemplateXmlExporter.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kew.util.KEWConstants'30

Kuali Rice Implementation - org/kuali/rice/kew/xml/export/RuleXmlExporter.java

ViolationLine
Avoid unused private methods such as 'exportRuleDelegations(Element,RuleBaseValues)'.183

Kuali Rice Implementation - org/kuali/rice/kew/xml/export/XmlExporterServiceImpl.java

ViolationLine
Avoid unused imports such as 'org.jdom.output.Format.TextMode'27
Avoid unused imports such as 'org.kuali.rice.kns.exception.ExportNotSupportedException'33

Kuali Rice Implementation - org/kuali/rice/kim/bo/entity/impl/KimEntityBioDemographicsImpl.java

ViolationLine
Avoid unused private methods such as 'dateMask()'.372

Kuali Rice Implementation - org/kuali/rice/kim/bo/entity/impl/KimEntityEmailImpl.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kim.util.KimCommonUtils'34

Kuali Rice Implementation - org/kuali/rice/kim/bo/entity/impl/KimEntityEmploymentInformationImpl.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kim.bo.reference.EmploymentStatus'30
Avoid unused imports such as 'org.kuali.rice.kim.bo.reference.EmploymentType'31

Kuali Rice Implementation - org/kuali/rice/kim/bo/entity/impl/KimEntityNameImpl.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kim.bo.entity.dto.KimEntityDefaultInfo'31
Avoid unused imports such as 'org.kuali.rice.kim.util.KimCommonUtils'35

Kuali Rice Implementation - org/kuali/rice/kim/bo/impl/PersonImpl.java

ViolationLine
The null check here is misplaced; if the variable is null therell be a NullPointerException185
These nested if statements could be combined205 - 211

Kuali Rice Implementation - org/kuali/rice/kim/bo/reference/impl/KimCodeBase.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kim.bo.reference.dto.AddressTypeInfo'27

Kuali Rice Implementation - org/kuali/rice/kim/bo/role/impl/RoleMemberImpl.java

ViolationLine
Avoid unused imports such as 'java.util.Set'21
Avoid unused imports such as 'org.apache.commons.lang.builder.EqualsBuilder'28
Avoid unused imports such as 'org.apache.commons.lang.builder.HashCodeBuilder'29
Avoid unused imports such as 'org.kuali.rice.kim.bo.Role'30

Kuali Rice Implementation - org/kuali/rice/kim/bo/ui/GroupDocumentMember.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kim.bo.impl.KimAbstractMemberImpl'25

Kuali Rice Implementation - org/kuali/rice/kim/bo/ui/KimDocumentBoBase.java

ViolationLine
Avoid unused imports such as 'java.sql.Date'18

Kuali Rice Implementation - org/kuali/rice/kim/bo/ui/KimDocumentRoleMember.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kim.bo.Person'26
Avoid unused imports such as 'org.kuali.rice.kns.bo.BusinessObject'33

Kuali Rice Implementation - org/kuali/rice/kim/bo/ui/PersonDocumentCitizenship.java

ViolationLine
Avoid unused imports such as 'javax.persistence.FetchType'23
Avoid unused imports such as 'javax.persistence.JoinColumn'25
Avoid unused imports such as 'javax.persistence.ManyToOne'26
Avoid unused imports such as 'org.kuali.rice.kim.bo.reference.CitizenshipStatus'29
Avoid unused imports such as 'org.kuali.rice.kim.bo.reference.impl.CitizenshipStatusImpl'30
Avoid unused imports such as 'org.kuali.rice.kns.bo.PersistableBusinessObjectBase'31

Kuali Rice Implementation - org/kuali/rice/kim/bo/ui/PersonDocumentEmploymentInfo.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kns.bo.PersistableBusinessObjectBase'33

Kuali Rice Implementation - org/kuali/rice/kim/bo/ui/PersonDocumentGroup.java

ViolationLine
Avoid unused imports such as 'java.sql.Date'18

Kuali Rice Implementation - org/kuali/rice/kim/bo/ui/PersonDocumentName.java

ViolationLine
Avoid unused imports such as 'java.util.ArrayList'18
Avoid unused imports such as 'org.kuali.rice.kns.bo.PersistableBusinessObjectBase'31

Kuali Rice Implementation - org/kuali/rice/kim/bo/ui/PersonDocumentPrivacy.java

ViolationLine
Avoid unused imports such as 'javax.persistence.Id'22

Kuali Rice Implementation - org/kuali/rice/kim/bo/ui/PersonDocumentRole.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kim.service.impl.UiDocumentServiceImpl'35

Kuali Rice Implementation - org/kuali/rice/kim/bo/ui/RoleDocumentDelegationMember.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kim.bo.entity.dto.KimPrincipalInfo'26
Avoid unused imports such as 'org.kuali.rice.kns.bo.BusinessObject'33

Kuali Rice Implementation - org/kuali/rice/kim/client/acegi/KualiDistributedSessionFilter.java

ViolationLine
These nested if statements could be combined82 - 86

Kuali Rice Implementation - org/kuali/rice/kim/client/acegi/KualiTestAuthenticationProvider.java

ViolationLine
Avoid unused imports such as 'org.apache.commons.logging.Log'24
Avoid unused imports such as 'org.apache.commons.logging.LogFactory'25

Kuali Rice Implementation - org/kuali/rice/kim/config/KIMThinClientConfigurer.java

ViolationLine
Avoid unused imports such as 'java.util.LinkedList'19
Avoid unused imports such as 'java.util.List'20
Avoid unused imports such as 'org.kuali.rice.core.lifecycle.Lifecycle'23

Kuali Rice Implementation - org/kuali/rice/kim/dao/impl/KimGroupDaoOjb.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kim.bo.entity.impl.KimPrincipalImpl'30

Kuali Rice Implementation - org/kuali/rice/kim/dao/impl/KimRoleDaoOjb.java

ViolationLine
Avoid empty try blocks628 - 630

Kuali Rice Implementation - org/kuali/rice/kim/document/IdentityManagementPersonDocument.java

ViolationLine
Avoid unused imports such as 'org.apache.ojb.broker.PersistenceBroker'25
Avoid unused imports such as 'org.apache.ojb.broker.PersistenceBrokerException'26
Avoid unused imports such as 'org.kuali.rice.kim.util.KimCommonUtils'48

Kuali Rice Implementation - org/kuali/rice/kim/document/rule/ActiveRoleMemberHelper.java

ViolationLine
Avoid unused private fields such as 'LOG'.32

Kuali Rice Implementation - org/kuali/rice/kim/document/rule/GenericPermissionMaintenanceDocumentRule.java

ViolationLine
Avoid unused local variables such as 'spacesPattern'.99

Kuali Rice Implementation - org/kuali/rice/kim/document/rule/IdentityManagementGroupDocumentRule.java

ViolationLine
These nested if statements could be combined92 - 99

Kuali Rice Implementation - org/kuali/rice/kim/document/rule/IdentityManagementPersonDocumentRule.java

ViolationLine
These nested if statements could be combined298 - 307
These nested if statements could be combined453 - 464
Avoid unused local variables such as 'i'.707

Kuali Rice Implementation - org/kuali/rice/kim/document/rule/IdentityManagementRoleDocumentRule.java

ViolationLine
These nested if statements could be combined155 - 159
These nested if statements could be combined372 - 385
These nested if statements could be combined373 - 384
These nested if statements could be combined530 - 543
These nested if statements could be combined531 - 542

Kuali Rice Implementation - org/kuali/rice/kim/inquiry/PermissionInquirableImpl.java

ViolationLine
Avoid empty if statements75 - 77

Kuali Rice Implementation - org/kuali/rice/kim/inquiry/ResponsibilityInquirableImpl.java

ViolationLine
Avoid empty if statements77 - 79

Kuali Rice Implementation - org/kuali/rice/kim/lookup/GroupLookupable.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kns.lookup.Lookupable'23

Kuali Rice Implementation - org/kuali/rice/kim/lookup/GroupLookupableHelperServiceImpl.java

ViolationLine
Avoid unused imports such as 'java.util.Collections.sort'18
Avoid unused imports such as 'java.util.ListIterator'28
Avoid unused imports such as 'org.kuali.rice.kim.bo.group.dto.GroupInfo'39
Avoid unused imports such as 'org.kuali.rice.kim.bo.ui.KimAttributeDataComparator'43
Avoid unused local variables such as 'skipPropTypeCheck'.290

Kuali Rice Implementation - org/kuali/rice/kim/lookup/GroupLookupableImpl.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kim.bo.impl.GenericPermission'21
Avoid unused imports such as 'org.kuali.rice.kim.bo.impl.GroupImpl'22
Avoid unused imports such as 'org.kuali.rice.kim.bo.types.impl.KimTypeImpl'23

Kuali Rice Implementation - org/kuali/rice/kim/lookup/RoleLookupableHelperServiceImpl.java

ViolationLine
Avoid unused private fields such as 'LOG'.58
Avoid unused local variables such as 'kimTypeId'.110
Avoid unused private methods such as 'setupAttributeRows()'.143
Avoid unused local variables such as 'attributeRows'.253

Kuali Rice Implementation - org/kuali/rice/kim/lookup/RoleMemberLookupableHelperServiceImpl.java

ViolationLine
Overriding method merely calls super136 - 149

Kuali Rice Implementation - org/kuali/rice/kim/rule/event/ui/AddGroupMemberEvent.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kim.rule.ui.AddMemberRule'21

Kuali Rice Implementation - org/kuali/rice/kim/rule/event/ui/AddPersonDelegationMemberEvent.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kim.rule.ui.AddDelegationMemberRule'20

Kuali Rice Implementation - org/kuali/rice/kim/rule/event/ui/AddPersonDocumentDelegationMemberQualifierEvent.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kim.rule.ui.AddPersonDocumentRoleQualifierRule'21

Kuali Rice Implementation - org/kuali/rice/kim/rule/event/ui/AddPersonDocumentRoleQualifierEvent.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kim.bo.ui.PersonDocumentGroup'19
Avoid unused imports such as 'org.kuali.rice.kns.document.Document'23

Kuali Rice Implementation - org/kuali/rice/kim/rules/ui/KimDocumentMemberRule.java

ViolationLine
Avoid unused imports such as 'java.util.ArrayList'18
Avoid unused imports such as 'java.util.List'20
Avoid unused imports such as 'org.kuali.rice.kns.util.KNSConstants'36
Avoid unused local variables such as 'i'.81

Kuali Rice Implementation - org/kuali/rice/kim/rules/ui/PersonDocumentDelegationMemberRule.java

ViolationLine
Avoid unused local variables such as 'document'.42

Kuali Rice Implementation - org/kuali/rice/kim/rules/ui/PersonDocumentRoleRule.java

ViolationLine
Avoid unused imports such as 'java.util.HashMap'18
Avoid unused imports such as 'java.util.Map'19
Avoid unused imports such as 'org.kuali.rice.kim.bo.impl.KimAttributes'22
Avoid unused imports such as 'org.kuali.rice.kim.document.IdentityManagementRoleDocument'25
Avoid unused imports such as 'org.kuali.rice.kim.util.KimConstants'28

Kuali Rice Implementation - org/kuali/rice/kim/rules/ui/RoleDocumentDelegationMemberRule.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kim.bo.ui.KimDocumentRoleMember'23
Avoid unused imports such as 'org.kuali.rice.kim.bo.ui.RoleDocumentDelegation'24
Avoid unused local variables such as 'i'.71

Kuali Rice Implementation - org/kuali/rice/kim/service/impl/GroupServiceImpl.java

ViolationLine
These nested if statements could be combined136 - 138

Kuali Rice Implementation - org/kuali/rice/kim/service/impl/GroupUpdateServiceImpl.java

ViolationLine
Avoid unused private fields such as 'LOG'.46

Kuali Rice Implementation - org/kuali/rice/kim/service/impl/IdentityArchiveServiceImpl.java

ViolationLine
Avoid unused private fields such as 'EXEC_INTERVAL_SECS'.69
Avoid unused private fields such as 'MAX_WRITE_QUEUE_SIZE'.70

Kuali Rice Implementation - org/kuali/rice/kim/service/impl/KimModuleService.java

ViolationLine
These nested if statements could be combined77 - 79

Kuali Rice Implementation - org/kuali/rice/kim/service/impl/PermissionServiceImpl.java

ViolationLine
Avoid unused private fields such as 'LOG'.63
These nested if statements could be combined224 - 226

Kuali Rice Implementation - org/kuali/rice/kim/service/impl/PersonServiceImpl.java

ViolationLine
These nested if statements could be combined423 - 439
These nested if statements could be combined603 - 605

Kuali Rice Implementation - org/kuali/rice/kim/service/impl/ResponsibilityServiceImpl.java

ViolationLine
Avoid unused imports such as 'java.util.Iterator'21
Avoid unused imports such as 'org.kuali.rice.kew.service.KEWServiceLocator'29
Avoid unused imports such as 'org.kuali.rice.kim.bo.role.impl.ResponsibilityAttributeDataImpl'39
Avoid unused imports such as 'org.kuali.rice.kim.bo.role.impl.RoleMemberAttributeDataImpl'40
Avoid unused imports such as 'org.kuali.rice.kim.bo.types.dto.KimTypeAttributeInfo'44
Avoid unused imports such as 'org.kuali.rice.kim.service.ResponsibilityUpdateService'48
Avoid unused imports such as 'org.kuali.rice.kns.service.BusinessObjectService'54
Avoid unused imports such as 'org.kuali.rice.kns.service.SequenceAccessorService'56
Avoid unused imports such as 'org.kuali.rice.ksb.cache.RiceCacheAdministrator'58

Kuali Rice Implementation - org/kuali/rice/kim/service/impl/RoleManagementServiceImpl.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.core.exception.RiceRemoteServiceConnectionException'32
Avoid unused imports such as 'org.kuali.rice.core.resourceloader.GlobalResourceLoader'33
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.415

Kuali Rice Implementation - org/kuali/rice/kim/service/impl/RoleServiceBase.java

ViolationLine
These nested if statements could be combined206 - 209

Kuali Rice Implementation - org/kuali/rice/kim/service/impl/RoleServiceImpl.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kns.bo.BusinessObject'60
These nested if statements could be combined684 - 700
These nested if statements could be combined980 - 982
These nested if statements could be combined992 - 994

Kuali Rice Implementation - org/kuali/rice/kim/service/impl/UiDocumentServiceImpl.java

ViolationLine
Avoid unused private methods such as 'getPrincipalImpl(String)'.623
Avoid empty if statements1679 - 1681
Avoid empty if statements1687 - 1689
Avoid empty if statements1695 - 1697
These nested if statements could be combined2307 - 2309
These nested if statements could be combined2316 - 2318

Kuali Rice Implementation - org/kuali/rice/kim/service/support/KimDelegationTypeService.java

ViolationLine
Avoid unused imports such as 'java.util.List'18
Avoid unused imports such as 'org.kuali.rice.kim.bo.role.dto.DelegateInfo'20

Kuali Rice Implementation - org/kuali/rice/kim/service/support/impl/KimTypeServiceBase.java

ViolationLine
These nested if statements could be combined239 - 251
Avoid empty catch blocks261 - 263
These nested if statements could be combined385 - 387
These nested if statements could be combined394 - 397
These nested if statements could be combined404 - 408
Avoid empty catch blocks478 - 480
Avoid empty catch blocks492 - 494

Kuali Rice Implementation - org/kuali/rice/kim/sesn/timeouthandlers/AbstractTimeoutHandler.java

ViolationLine
Avoid unused private fields such as 'LAST_ACCCESS_TIMEOUT_FIELD'.28

Kuali Rice Implementation - org/kuali/rice/kim/util/KimCommonUtils.java

ViolationLine
Avoid unused private fields such as 'kimTypeServiceCache'.61
These nested if statements could be combined322 - 328
These nested if statements could be combined338 - 344

Kuali Rice Implementation - org/kuali/rice/kim/util/KualiDateMask.java

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

Kuali Rice Implementation - org/kuali/rice/kim/web/struts/action/IdentityManagementDocumentActionBase.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kns.question.ConfirmationQuestion'37

Kuali Rice Implementation - org/kuali/rice/kim/web/struts/action/IdentityManagementGroupDocumentAction.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kim.bo.impl.RoleImpl'36
Avoid unused imports such as 'org.kuali.rice.kns.bo.BusinessObject'45

Kuali Rice Implementation - org/kuali/rice/kim/web/struts/action/IdentityManagementPersonDocumentAction.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kim.bo.impl.GroupImpl'37

Kuali Rice Implementation - org/kuali/rice/kim/web/struts/action/IdentityManagementRoleDocumentAction.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kns.bo.BusinessObject'57
Avoid empty if statements548 - 551
These nested if statements could be combined576
These nested if statements could be combined585 - 587

Kuali Rice Implementation - org/kuali/rice/kim/web/struts/form/IdentityManagementDocumentFormBase.java

ViolationLine
Avoid unused imports such as 'java.util.Map'20
Avoid unused imports such as 'org.apache.commons.lang.StringUtils'24

Kuali Rice Implementation - org/kuali/rice/kns/authorization/BusinessObjectAuthorizerBase.java

ViolationLine
Avoid unused private fields such as 'persistenceStructureService'.43

Kuali Rice Implementation - org/kuali/rice/kns/authorization/BusinessObjectRestrictions.java

ViolationLine
Avoid unused imports such as 'java.util.Map'19
Avoid unused imports such as 'java.util.Set'20

Kuali Rice Implementation - org/kuali/rice/kns/authorization/BusinessObjectRestrictionsBase.java

ViolationLine
Avoid unused imports such as 'java.util.HashSet'19
Avoid unused imports such as 'org.apache.commons.lang.StringUtils'23
Avoid unused imports such as 'org.kuali.rice.kns.util.KNSConstants'25

Kuali Rice Implementation - org/kuali/rice/kns/authorization/FieldRestriction.java

ViolationLine
These nested if statements could be combined270 - 278
These nested if statements could be combined274 - 276

Kuali Rice Implementation - org/kuali/rice/kns/bo/AdHocRouteWorkgroup.java

ViolationLine
Avoid unused imports such as 'javax.persistence.Column'18
Avoid unused imports such as 'javax.persistence.Id'19
Avoid unused imports such as 'javax.persistence.CascadeType'20

Kuali Rice Implementation - org/kuali/rice/kns/bo/Attachment.java

ViolationLine
Avoid unused imports such as 'javax.persistence.Version'21
Avoid unused imports such as 'javax.persistence.CascadeType'24

Kuali Rice Implementation - org/kuali/rice/kns/bo/Country.java

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

Kuali Rice Implementation - org/kuali/rice/kns/bo/CountryImpl.java

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

Kuali Rice Implementation - org/kuali/rice/kns/bo/County.java

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

Kuali Rice Implementation - org/kuali/rice/kns/bo/CountyImpl.java

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

Kuali Rice Implementation - org/kuali/rice/kns/bo/JpaToDdl.java

ViolationLine
These nested if statements could be combined178 - 180

Kuali Rice Implementation - org/kuali/rice/kns/bo/JpaToOjbMetadata.java

ViolationLine
These nested if statements could be combined205 - 207

Kuali Rice Implementation - org/kuali/rice/kns/bo/LookupResults.java

ViolationLine
Avoid unused imports such as 'javax.persistence.Version'21
Avoid unused imports such as 'javax.persistence.TemporalType'22
Avoid unused imports such as 'javax.persistence.Temporal'23
Avoid unused imports such as 'javax.persistence.Id'25
Avoid unused imports such as 'javax.persistence.CascadeType'26

Kuali Rice Implementation - org/kuali/rice/kns/bo/Note.java

ViolationLine
Avoid unused private fields such as 'attachmentLink'.74

Kuali Rice Implementation - org/kuali/rice/kns/bo/NoteType.java

ViolationLine
Avoid unused imports such as 'javax.persistence.Version'19
Avoid unused imports such as 'javax.persistence.CascadeType'22

Kuali Rice Implementation - org/kuali/rice/kns/bo/PersistableBusinessObjectBase.java

ViolationLine
These nested if statements could be combined171 - 178
These nested if statements could be combined190 - 197

Kuali Rice Implementation - org/kuali/rice/kns/bo/PostalCode.java

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

Kuali Rice Implementation - org/kuali/rice/kns/bo/PostalCodeImpl.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kns.bo.ExternalizableBusinessObject'21
No need to import a type that lives in the same package21
No need to import a type that lives in the same package22
No need to import a type that lives in the same package23
Avoid unused private fields such as 'buildingCode'.34
Avoid unused private fields such as 'buildingRoomNumber'.35

Kuali Rice Implementation - org/kuali/rice/kns/bo/SelectedObjectIds.java

ViolationLine
Avoid unused imports such as 'javax.persistence.Version'21
Avoid unused imports such as 'javax.persistence.TemporalType'22
Avoid unused imports such as 'javax.persistence.Temporal'23
Avoid unused imports such as 'javax.persistence.Id'25
Avoid unused imports such as 'javax.persistence.CascadeType'26

Kuali Rice Implementation - org/kuali/rice/kns/bo/SessionDocument.java

ViolationLine
Overriding method merely calls super148 - 151
Overriding method merely calls super159 - 163
Overriding method merely calls super171 - 175

Kuali Rice Implementation - org/kuali/rice/kns/bo/State.java

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

Kuali Rice Implementation - org/kuali/rice/kns/bo/StateImpl.java

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

Kuali Rice Implementation - org/kuali/rice/kns/dao/impl/AttachmentDaoJpa.java

ViolationLine
Avoid unused private fields such as 'LOG'.33

Kuali Rice Implementation - org/kuali/rice/kns/dao/impl/AttachmentDaoOjb.java

ViolationLine
Avoid unused private fields such as 'LOG'.30

Kuali Rice Implementation - org/kuali/rice/kns/dao/impl/BusinessObjectDaoJpa.java

ViolationLine
Avoid unused private fields such as 'LOG'.42
Avoid unused private fields such as 'ojbCollectionHelper'.49
Avoid empty catch blocks71

Kuali Rice Implementation - org/kuali/rice/kns/dao/impl/DocumentDaoJpa.java

ViolationLine
Avoid unused imports such as 'java.util.HashMap'19
Avoid unused imports such as 'org.apache.commons.beanutils.BeanUtils'26
Avoid unused imports such as 'org.kuali.rice.kim.bo.Group'29
Avoid unused imports such as 'org.kuali.rice.kim.service.KIMServiceLocator'30
Avoid unused imports such as 'org.kuali.rice.kns.bo.AdHocRoutePerson'31
Avoid unused imports such as 'org.kuali.rice.kns.bo.AdHocRouteWorkgroup'32
Avoid unused private fields such as 'LOG'.45

Kuali Rice Implementation - org/kuali/rice/kns/dao/impl/DocumentDaoOjb.java

ViolationLine
Avoid unused imports such as 'java.util.HashMap'19
Avoid unused imports such as 'org.kuali.rice.kim.bo.Group'26
Avoid unused imports such as 'org.kuali.rice.kim.service.KIMServiceLocator'27
Avoid unused imports such as 'org.kuali.rice.kns.bo.AdHocRoutePerson'28
Avoid unused imports such as 'org.kuali.rice.kns.bo.AdHocRouteWorkgroup'29

Kuali Rice Implementation - org/kuali/rice/kns/dao/impl/DocumentHeaderDaoOjb.java

ViolationLine
Avoid unused private fields such as 'LOG'.29

Kuali Rice Implementation - org/kuali/rice/kns/dao/impl/LookupDaoJpa.java

ViolationLine
Avoid unused imports such as 'java.sql.Date'20
Avoid unused imports such as 'org.apache.ojb.broker.query.QueryFactory'35
Avoid empty catch blocks227

Kuali Rice Implementation - org/kuali/rice/kns/dao/impl/LookupDaoOjb.java

ViolationLine
Avoid unused imports such as 'java.sql.Date'19

Kuali Rice Implementation - org/kuali/rice/kns/dao/impl/NoteDaoJpa.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kns.bo.DocumentHeader'27
Avoid unused private fields such as 'LOG'.39

Kuali Rice Implementation - org/kuali/rice/kns/dao/impl/NoteDaoOjb.java

ViolationLine
Avoid unused private fields such as 'LOG'.37

Kuali Rice Implementation - org/kuali/rice/kns/dao/impl/PersistedLookupMetadataDaoJpa.java

ViolationLine
Avoid unused private fields such as 'LOG'.32

Kuali Rice Implementation - org/kuali/rice/kns/dao/impl/PersistedLookupMetadataDaoOjb.java

ViolationLine
Avoid unused private fields such as 'LOG'.28

Kuali Rice Implementation - org/kuali/rice/kns/dao/impl/PersistenceDaoJpa.java

ViolationLine
Avoid unused imports such as 'javax.persistence.EntityManager'23
Avoid unused imports such as 'javax.persistence.PersistenceContext'24
Avoid empty catch blocks120

Kuali Rice Implementation - org/kuali/rice/kns/dao/impl/SessionDocumentDaoJpa.java

ViolationLine
Avoid unused private fields such as 'LOG'.31

Kuali Rice Implementation - org/kuali/rice/kns/dao/impl/SessionDocumentDaoOjb.java

ViolationLine
Avoid unused private fields such as 'LOG'.33
Avoid unused private fields such as 'businessObjectDao'.34

Kuali Rice Implementation - org/kuali/rice/kns/dao/proxy/BusinessObjectDaoProxy.java

ViolationLine
Avoid unused private fields such as 'LOG'.41

Kuali Rice Implementation - org/kuali/rice/kns/dao/proxy/DocumentDaoProxy.java

ViolationLine
Avoid unused private fields such as 'LOG'.43
Avoid unused private fields such as 'DOCUMENT_AD_HOC_SERVICE_NAME'.51

Kuali Rice Implementation - org/kuali/rice/kns/dao/proxy/PersistenceDaoProxy.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.core.config.ConfigurationException'23
Avoid unused imports such as 'org.kuali.rice.kns.dao.impl.PersistenceDaoJpa'27
Avoid unused local variables such as 'entityManager'.55

Kuali Rice Implementation - org/kuali/rice/kns/dao/proxy/SessionDocumentDaoProxy.java

ViolationLine
Avoid unused private fields such as 'LOG'.29

Kuali Rice Implementation - org/kuali/rice/kns/datadictionary/AttributeSecurity.java

ViolationLine
Avoid unused imports such as 'java.util.Map'18
Avoid unused imports such as 'org.apache.commons.lang.StringUtils'20
Avoid unused imports such as 'org.apache.commons.logging.LogFactory'21
Avoid unused imports such as 'org.kuali.rice.kew.attribute.Attribute'22

Kuali Rice Implementation - org/kuali/rice/kns/datadictionary/DataDictionary.java

ViolationLine
Avoid unused imports such as 'java.util.Collections'25
Avoid unused imports such as 'java.util.HashSet'27
Avoid unused imports such as 'org.kuali.rice.kns.datadictionary.exception.CompletionException'40
Avoid unused imports such as 'org.kuali.rice.kns.service.ModuleService'42
Avoid unused local variables such as 'indexName'.122
These nested if statements could be combined506 - 534
Avoid empty catch blocks583 - 585

Kuali Rice Implementation - org/kuali/rice/kns/datadictionary/DataDictionaryIndexMapper.java

ViolationLine
Avoid empty catch blocks117 - 118

Kuali Rice Implementation - org/kuali/rice/kns/datadictionary/FieldDefinition.java

ViolationLine
These nested if statements could be combined270 - 272
These nested if statements could be combined276 - 278

Kuali Rice Implementation - org/kuali/rice/kns/datadictionary/InactivationBlockingDefinition.java

ViolationLine
These nested if statements could be combined49 - 53

Kuali Rice Implementation - org/kuali/rice/kns/datadictionary/InquirySectionDefinition.java

ViolationLine
Avoid unused imports such as 'org.apache.commons.lang.StringUtils'24

Kuali Rice Implementation - org/kuali/rice/kns/datadictionary/MaintainableCollectionDefinition.java

ViolationLine
These nested if statements could be combined123 - 125

Kuali Rice Implementation - org/kuali/rice/kns/datadictionary/MaintainableFieldDefinition.java

ViolationLine
These nested if statements could be combined193 - 195
These nested if statements could be combined199 - 201

Kuali Rice Implementation - org/kuali/rice/kns/datadictionary/MaintainableSectionDefinition.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kns.util.KNSConstants'23

Kuali Rice Implementation - org/kuali/rice/kns/datadictionary/WorkflowAttributes.java

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

Kuali Rice Implementation - org/kuali/rice/kns/datadictionary/control/ControlDefinitionBase.java

ViolationLine
Ensure you override both equals() and hashCode()419

Kuali Rice Implementation - org/kuali/rice/kns/datadictionary/control/LinkControlDefinition.java

ViolationLine
Avoid unused imports such as 'java.util.HashMap'19
Avoid unused imports such as 'java.util.List'20

Kuali Rice Implementation - org/kuali/rice/kns/datadictionary/exporter/AttributesMapBuilder.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kns.datadictionary.mask.MaskFormatterLiteral'27

Kuali Rice Implementation - org/kuali/rice/kns/datadictionary/impl/BeanOverrideImpl.java

ViolationLine
Avoid unused private fields such as 'LOG'.34

Kuali Rice Implementation - org/kuali/rice/kns/datadictionary/validation/CharacterLevelValidationPattern.java

ViolationLine
Avoid unused local variables such as 'regexString'.81

Kuali Rice Implementation - org/kuali/rice/kns/document/Document.java

ViolationLine
Avoid unused imports such as 'java.util.Map'19
Avoid unused imports such as 'org.kuali.rice.kns.exception.ValidationException'30

Kuali Rice Implementation - org/kuali/rice/kns/document/DocumentBase.java

ViolationLine
These nested if statements could be combined327 - 331
These nested if statements could be combined596 - 620

Kuali Rice Implementation - org/kuali/rice/kns/document/MaintenanceDocumentBase.java

ViolationLine
These nested if statements could be combined710 - 718
Avoid empty if statements737 - 744

Kuali Rice Implementation - org/kuali/rice/kns/document/TransactionalDocumentBase.java

ViolationLine
Avoid unused private fields such as 'LOG'.27

Kuali Rice Implementation - org/kuali/rice/kns/document/authorization/DocumentAuthorizerBase.java

ViolationLine
These nested if statements could be combined127 - 132

Kuali Rice Implementation - org/kuali/rice/kns/document/authorization/DocumentPresentationControllerBase.java

ViolationLine
Avoid empty catch blocks171 - 173

Kuali Rice Implementation - org/kuali/rice/kns/document/authorization/PessimisticLock.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kim.bo.impl.PersonImpl'28

Kuali Rice Implementation - org/kuali/rice/kns/document/authorization/TransactionalDocumentAuthorizer.java

ViolationLine
Avoid unused imports such as 'java.util.Map'18

Kuali Rice Implementation - org/kuali/rice/kns/document/authorization/TransactionalDocumentPresentationController.java

ViolationLine
Avoid unused imports such as 'java.util.List'18
Avoid unused imports such as 'java.util.Map'19

Kuali Rice Implementation - org/kuali/rice/kns/document/authorization/TransactionalDocumentPresentationControllerBase.java

ViolationLine
Avoid unused imports such as 'java.util.ArrayList'18
Avoid unused imports such as 'java.util.List'20
Avoid unused private fields such as 'LOG'.31

Kuali Rice Implementation - org/kuali/rice/kns/exception/ExceptionIncident.java

ViolationLine
Avoid unused imports such as 'java.util.List'21

Kuali Rice Implementation - org/kuali/rice/kns/inquiry/InquiryAuthorizer.java

ViolationLine
Avoid unused imports such as 'java.util.Set'18
Avoid unused imports such as 'org.kuali.rice.kim.bo.Person'20
Avoid unused imports such as 'org.kuali.rice.kns.bo.BusinessObject'22

Kuali Rice Implementation - org/kuali/rice/kns/inquiry/InquiryAuthorizerBase.java

ViolationLine
Avoid unused imports such as 'java.util.HashMap'18
Avoid unused imports such as 'java.util.Map'20
Avoid unused imports such as 'org.kuali.rice.kim.bo.Person'23
Avoid unused imports such as 'org.kuali.rice.kim.bo.impl.KimAttributes'24
Avoid unused imports such as 'org.kuali.rice.kim.util.KimConstants'25
Avoid unused imports such as 'org.kuali.rice.kns.bo.BusinessObject'27
Avoid unused imports such as 'org.kuali.rice.kns.util.KNSConstants'28

Kuali Rice Implementation - org/kuali/rice/kns/inquiry/InquiryPresentationController.java

ViolationLine
Avoid unused imports such as 'java.util.Set'18
Avoid unused imports such as 'org.kuali.rice.kns.bo.BusinessObject'21

Kuali Rice Implementation - org/kuali/rice/kns/lookup/AbstractLookupableHelperServiceImpl.java

ViolationLine
These nested if statements could be combined359 - 368
These nested if statements could be combined959 - 961
These nested if statements could be combined1009 - 1016
Avoid unused local variables such as 'fieldsForLookup'.1085

Kuali Rice Implementation - org/kuali/rice/kns/lookup/DataDictionaryLookupResultsSupportStrategy.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kns.bo.SelectedObjectIds'29
Avoid unused imports such as 'org.kuali.rice.kns.exception.AuthorizationException'32

Kuali Rice Implementation - org/kuali/rice/kns/lookup/HtmlData.java

ViolationLine
Avoid unused private methods such as 'getBusinessObjectAuthorizationService()'.206
Avoid unused local variables such as 'elementClass'.214

Kuali Rice Implementation - org/kuali/rice/kns/lookup/KualiLookupableImpl.java

ViolationLine
Avoid unused private fields such as 'LOG'.39

Kuali Rice Implementation - org/kuali/rice/kns/lookup/LookupResultsService.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kns.bo.SelectedObjectIds'25

Kuali Rice Implementation - org/kuali/rice/kns/lookup/LookupResultsServiceImpl.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kns.bo.PersistableBusinessObject'30
Avoid unused imports such as 'org.kuali.rice.kns.util.KNSPropertyConstants'37

Kuali Rice Implementation - org/kuali/rice/kns/lookup/LookupUtils.java

ViolationLine
Avoid unused private fields such as 'kualiConfigurationService'.69
Avoid empty catch blocks142 - 144
These nested if statements could be combined495 - 514
These nested if statements could be combined567 - 569
Avoid unused local variables such as 'attributeRefName'.624
Avoid unused method parameters such as 'nestedObjectPrefix'.692 - 729

Kuali Rice Implementation - org/kuali/rice/kns/lookup/ParameterDetailTypeLookupableHelperServiceImpl.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kns.service.RiceApplicationConfigurationService'28
Avoid unused private fields such as 'parameterService'.33

Kuali Rice Implementation - org/kuali/rice/kns/lookup/ParameterLookupableHelperServiceImpl.java

ViolationLine
Avoid unused private fields such as 'parameterService'.52
These nested if statements could be combined98 - 100

Kuali Rice Implementation - org/kuali/rice/kns/lookup/PersistableBusinessObjectLookupResultsSupportStrategyImpl.java

ViolationLine
Avoid unused imports such as 'java.util.ArrayList'18
Avoid unused imports such as 'org.kuali.rice.kns.bo.SelectedObjectIds'26
Avoid unused imports such as 'org.kuali.rice.kns.exception.AuthorizationException'27

Kuali Rice Implementation - org/kuali/rice/kns/lookup/keyvalues/ApcValuesFinder.java

ViolationLine
Avoid unused constructor parameters such as 'parameterNamesapce'.40 - 45

Kuali Rice Implementation - org/kuali/rice/kns/maintenance/KualiGlobalMaintainableImpl.java

ViolationLine
These nested if statements could be combined160 - 162
These nested if statements could be combined168 - 170

Kuali Rice Implementation - org/kuali/rice/kns/maintenance/KualiMaintainableImpl.java

ViolationLine
Avoid empty if statements409 - 412
These nested if statements could be combined426 - 428
Avoid empty if statements452 - 455
Avoid unused local variables such as 'cachedValues'.710
These nested if statements could be combined1321 - 1356
Avoid unused local variables such as 'catchme'.1332
Avoid unused local variables such as 'catchme'.1399

Kuali Rice Implementation - org/kuali/rice/kns/maintenance/rules/MaintenanceDocumentRuleBase.java

ViolationLine
Avoid empty catch blocks134 - 136
Avoid unused local variables such as 'fieldValues'.306
These nested if statements could be combined1076 - 1078

Kuali Rice Implementation - org/kuali/rice/kns/rule/event/AddAdHocRoutePersonEvent.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kns.util.ObjectUtils'22

Kuali Rice Implementation - org/kuali/rice/kns/rule/event/AddAdHocRouteWorkgroupEvent.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kns.util.ObjectUtils'22

Kuali Rice Implementation - org/kuali/rice/kns/rule/event/AddNoteEvent.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kns.util.ObjectUtils'22

Kuali Rice Implementation - org/kuali/rice/kns/rule/event/KualiAddLineEvent.java

ViolationLine
Avoid unused private methods such as 'logEvent()'.46

Kuali Rice Implementation - org/kuali/rice/kns/rule/event/SaveEvent.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kns.document.Document'18

Kuali Rice Implementation - org/kuali/rice/kns/rules/DocumentRuleBase.java

ViolationLine
Avoid unused local variables such as 'docOrBoClass'.380

Kuali Rice Implementation - org/kuali/rice/kns/rules/PromptBeforeValidationBase.java

ViolationLine
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.222

Kuali Rice Implementation - org/kuali/rice/kns/service/BusinessObjectAuthorizationService.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kim.bo.types.dto.AttributeSet'19

Kuali Rice Implementation - org/kuali/rice/kns/service/DataDictionaryService.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kns.datadictionary.mask.Mask'30

Kuali Rice Implementation - org/kuali/rice/kns/service/InactivationBlockingDisplayService.java

ViolationLine
Avoid unused imports such as 'java.util.Collection'18

Kuali Rice Implementation - org/kuali/rice/kns/service/PersistenceService.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kns.exception.ClassNotPersistableException'22

Kuali Rice Implementation - org/kuali/rice/kns/service/PersistenceStructureService.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kns.exception.ClassNotPersistableException'23

Kuali Rice Implementation - org/kuali/rice/kns/service/SerializerService.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kns.bo.BusinessObject'18

Kuali Rice Implementation - org/kuali/rice/kns/service/impl/AbstractStaticConfigurationServiceImpl.java

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

Kuali Rice Implementation - org/kuali/rice/kns/service/impl/AttachmentServiceImpl.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kns.dao.NoteDao'33
These nested if statements could be combined243 - 245

Kuali Rice Implementation - org/kuali/rice/kns/service/impl/BusinessObjectAuthorizationServiceImpl.java

ViolationLine
These nested if statements could be combined227 - 251
These nested if statements could be combined290 - 300
Avoid empty catch blocks545 - 548
Avoid unused local variables such as 'namespaceCode'.619
Avoid unused local variables such as 'componentName'.620
Avoid unused local variables such as 'propertyName'.621

Kuali Rice Implementation - org/kuali/rice/kns/service/impl/BusinessObjectDictionaryServiceImpl.java

ViolationLine
These nested if statements could be combined207 - 209
These nested if statements could be combined224 - 226
These nested if statements could be combined240 - 242
These nested if statements could be combined257 - 259
These nested if statements could be combined274 - 277
These nested if statements could be combined342 - 344
Avoid empty if statements505 - 512
These nested if statements could be combined522 - 536
These nested if statements could be combined526 - 535
These nested if statements could be combined559 - 577
These nested if statements could be combined561 - 576
These nested if statements could be combined569 - 573
Avoid empty catch blocks587 - 591
These nested if statements could be combined660 - 662
These nested if statements could be combined730 - 732

Kuali Rice Implementation - org/kuali/rice/kns/service/impl/BusinessObjectMetaDataServiceImpl.java

ViolationLine
Avoid unused local variables such as 'attributeRefName'.431
These nested if statements could be combined506 - 509

Kuali Rice Implementation - org/kuali/rice/kns/service/impl/BusinessObjectServiceImpl.java

ViolationLine
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.146
Avoid empty catch blocks288 - 291
Avoid unused method parameters such as 'refFieldName'.435 - 450

Kuali Rice Implementation - org/kuali/rice/kns/service/impl/CountryServiceImpl.java

ViolationLine
These nested if statements could be combined54 - 56
These nested if statements could be combined89 - 91

Kuali Rice Implementation - org/kuali/rice/kns/service/impl/DataDictionaryServiceImpl.java

ViolationLine
These nested if statements could be combined240 - 242
These nested if statements could be combined689 - 692
These nested if statements could be combined703 - 707

Kuali Rice Implementation - org/kuali/rice/kns/service/impl/DictionaryValidationServiceImpl.java

ViolationLine
These nested if statements could be combined267 - 278
These nested if statements could be combined273 - 275
Avoid empty catch blocks462 - 464
Avoid empty catch blocks477 - 479
These nested if statements could be combined782 - 784

Kuali Rice Implementation - org/kuali/rice/kns/service/impl/DocumentHeaderServiceImpl.java

ViolationLine
Avoid unused private fields such as 'LOG'.34

Kuali Rice Implementation - org/kuali/rice/kns/service/impl/DocumentServiceImpl.java

ViolationLine
This usage of the Collection.toArray() method will throw a ClassCastException.159
Avoid unused method parameters such as 'documentHeaderId'.598 - 604

Kuali Rice Implementation - org/kuali/rice/kns/service/impl/DocumentTypeAndAttachmentTypePermissionTypeService.java

ViolationLine
Avoid unused imports such as 'org.apache.commons.lang.StringUtils'21
Avoid unused imports such as 'org.kuali.rice.kns.util.KNSConstants'25

Kuali Rice Implementation - org/kuali/rice/kns/service/impl/InactivationBlockingDisplayServiceImpl.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kew.util.Utilities'25
Avoid unused imports such as 'org.kuali.rice.kim.service.KIMServiceLocator'27
Avoid unused imports such as 'org.kuali.rice.kns.datadictionary.mask.Mask'32
Avoid unused private fields such as 'persistenceService'.54
Avoid unused local variables such as 'formatter'.126

Kuali Rice Implementation - org/kuali/rice/kns/service/impl/KNSModuleService.java

ViolationLine
These nested if statements could be combined37 - 39
These nested if statements could be combined46 - 48

Kuali Rice Implementation - org/kuali/rice/kns/service/impl/KualiConfigurationServiceImpl.java

ViolationLine
Avoid unused private fields such as 'LOG'.28
Avoid unused private methods such as 'checkParameterArgument(Parameter,String)'.97

Kuali Rice Implementation - org/kuali/rice/kns/service/impl/LookupServiceImpl.java

ViolationLine
Avoid unused private fields such as 'LOG'.39
Avoid unused private fields such as 'EMPTY_COLLECTION'.40
Avoid unused private fields such as 'dataDictionaryService'.44
Avoid unused private fields such as 'persistenceStructureService'.45

Kuali Rice Implementation - org/kuali/rice/kns/service/impl/MailServiceImpl.java

ViolationLine
Avoid unused imports such as 'java.util.Arrays'18
Avoid unused imports such as 'java.util.Collections'19
Avoid unused imports such as 'java.util.Iterator'20
Avoid unused imports such as 'java.util.Set'21

Kuali Rice Implementation - org/kuali/rice/kns/service/impl/MaintenanceDocumentDictionaryServiceImpl.java

ViolationLine
These nested if statements could be combined578 - 581
Avoid unused method parameters such as 'businessObject'.654 - 671

Kuali Rice Implementation - org/kuali/rice/kns/service/impl/NamespaceWildcardAllowedAndOrStringExactMatchPermissionTypeServiceImpl.java

ViolationLine
These nested if statements could be combined63 - 65
These nested if statements could be combined73 - 75

Kuali Rice Implementation - org/kuali/rice/kns/service/impl/NoteServiceImpl.java

ViolationLine
Avoid unused private fields such as 'LOG'.52

Kuali Rice Implementation - org/kuali/rice/kns/service/impl/ParameterServiceBase.java

ViolationLine
Avoid unused imports such as 'org.apache.log4j.Logger'23
Avoid unused local variables such as 'key'.426

Kuali Rice Implementation - org/kuali/rice/kns/service/impl/ParameterServiceImpl.java

ViolationLine
Avoid unused imports such as 'org.apache.log4j.Logger'26

Kuali Rice Implementation - org/kuali/rice/kns/service/impl/ParameterServiceProxyImpl.java

ViolationLine
Avoid unused imports such as 'org.apache.log4j.Logger'21
Avoid unused imports such as 'org.kuali.rice.kns.util.KNSConstants'27

Kuali Rice Implementation - org/kuali/rice/kns/service/impl/PersistenceServiceImpl.java

ViolationLine
Avoid unused private fields such as 'LOG'.36

Kuali Rice Implementation - org/kuali/rice/kns/service/impl/PersistenceServiceJpaImpl.java

ViolationLine
These nested if statements could be combined131 - 133
Avoid unused local variables such as 'refPkNames'.310

Kuali Rice Implementation - org/kuali/rice/kns/service/impl/PersistenceServiceOjbImpl.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kns.service.KualiModuleService'48
These nested if statements could be combined408 - 410

Kuali Rice Implementation - org/kuali/rice/kns/service/impl/PersistenceStructureServiceJpaImpl.java

ViolationLine
Avoid unused imports such as 'javax.persistence.CascadeType'27
Avoid unused imports such as 'org.kuali.rice.kim.bo.Person'37
These nested if statements could be combined554 - 556

Kuali Rice Implementation - org/kuali/rice/kns/service/impl/PersistenceStructureServiceOjbImpl.java

ViolationLine
These nested if statements could be combined582 - 584

Kuali Rice Implementation - org/kuali/rice/kns/service/impl/PostProcessorServiceImpl.java

ViolationLine
Avoid unused imports such as 'java.util.Arrays'19
Avoid unused imports such as 'java.util.Collections'20
Avoid unused imports such as 'org.apache.commons.collections.ListUtils'23
Avoid unused private fields such as 'dateTimeService'.57

Kuali Rice Implementation - org/kuali/rice/kns/service/impl/RiceApplicationConfigurationMediationServiceImpl.java

ViolationLine
These nested if statements could be combined198 - 200

Kuali Rice Implementation - org/kuali/rice/kns/util/ActionFormUtilMap.java

ViolationLine
These nested if statements could be combined48 - 52

Kuali Rice Implementation - org/kuali/rice/kns/util/DateUtils.java

ViolationLine
Avoid unused local variables such as 'difference'.123
Avoid unused local variables such as 'difference'.155

Kuali Rice Implementation - org/kuali/rice/kns/util/ExceptionUtils.java

ViolationLine
Avoid empty catch blocks184 - 187

Kuali Rice Implementation - org/kuali/rice/kns/util/ExternalizableBusinessObjectUtils.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kns.bo.BusinessObject'18
Avoid unused imports such as 'org.kuali.rice.kns.service.KNSServiceLocator'20
Avoid unused imports such as 'org.kuali.rice.kns.service.KualiModuleService'21
Avoid unused imports such as 'org.kuali.rice.kns.service.ModuleService'22

Kuali Rice Implementation - org/kuali/rice/kns/util/FieldUtils.java

ViolationLine
Avoid unused imports such as 'java.util.Set'25
Avoid unused imports such as 'org.kuali.rice.kns.web.format.Formatter'67
Avoid unused private methods such as 'containsIntermediateNull(Object,String)'.692
These nested if statements could be combined748 - 754
Avoid empty if statements963 - 966
These nested if statements could be combined1015 - 1017
Avoid unused local variables such as 'propertyName'.1154

Kuali Rice Implementation - org/kuali/rice/kns/util/GlobalVariables.java

ViolationLine
Avoid unused imports such as 'java.util.LinkedList'19
Avoid unused imports such as 'java.util.List'20
Avoid unused imports such as 'org.kuali.rice.kew.engine.RouteContext'23

Kuali Rice Implementation - org/kuali/rice/kns/util/InactiveRecordsHidingUtils.java

ViolationLine
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.78

Kuali Rice Implementation - org/kuali/rice/kns/util/MaintenanceUtils.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kew.exception.WorkflowException'29

Kuali Rice Implementation - org/kuali/rice/kns/util/MessageList.java

ViolationLine
Avoid unused imports such as 'java.util.Collection'19
Avoid unused imports such as 'java.util.Iterator'20
Avoid unused imports such as 'java.util.List'21
Avoid unused imports such as 'java.util.ListIterator'22

Kuali Rice Implementation - org/kuali/rice/kns/util/MessageMap.java

ViolationLine
No need to import a type that lives in the same package30
Avoid unused local variables such as 'entryKey'.336
These nested if statements could be combined737 - 741
These nested if statements could be combined738 - 740

Kuali Rice Implementation - org/kuali/rice/kns/util/ObjectUtils.java

ViolationLine
Avoid empty catch blocks248 - 250
Avoid empty catch blocks250 - 252
Avoid empty catch blocks304 - 306
Avoid empty catch blocks309 - 311
An empty statement (semicolon) not part of a loop611
These nested if statements could be combined853 - 855
These nested if statements could be combined912 - 914

Kuali Rice Implementation - org/kuali/rice/kns/util/OjbCharBooleanFieldConversion.java

ViolationLine
Avoid unused private fields such as 'S_TRUE'.28
Avoid unused private fields such as 'S_FALSE'.29

Kuali Rice Implementation - org/kuali/rice/kns/util/OjbCollectionHelper.java

ViolationLine
Avoid empty catch blocks67 - 69
Avoid empty catch blocks109 - 111
Avoid unused method parameters such as 'origSource'.122 - 134

Kuali Rice Implementation - org/kuali/rice/kns/util/OjbDecimalKualiPercentFieldConversion.java

ViolationLine
Avoid creating BigDecimal with a decimal (float/double) literal. Use a String literal29
An operation on an Immutable object (BigDecimal or BigInteger) won't change the object itself65

Kuali Rice Implementation - org/kuali/rice/kns/util/OjbDecimalPercentageFieldConversion.java

ViolationLine
Avoid creating BigDecimal with a decimal (float/double) literal. Use a String literal28

Kuali Rice Implementation - org/kuali/rice/kns/util/TypedArrayList.java

ViolationLine
These nested if statements could be combined126 - 128

Kuali Rice Implementation - org/kuali/rice/kns/util/WebUtils.java

ViolationLine
Avoid unused local variables such as 'params'.346
Avoid unused local variables such as 'files'.364
Avoid unused private methods such as 'getMultipartHandler(HttpServletRequest,ActionForm)'.408
Avoid unused method parameters such as 'request'.408 - 417
Avoid empty if statements410 - 412
These nested if statements could be combined458 - 461
These nested if statements could be combined506 - 508

Kuali Rice Implementation - org/kuali/rice/kns/util/cache/CopiedObject.java

ViolationLine
Avoid empty catch blocks73 - 75
Avoid unused local variables such as 'copySize'.87
Avoid empty catch blocks108 - 110

Kuali Rice Implementation - org/kuali/rice/kns/util/cache/ObjectCacheOSCacheImpl.java

ViolationLine
Avoid unused constructor parameters such as 'prop'.74 - 76
Avoid unused constructor parameters such as 'broker'.74 - 76
Avoid unused local variables such as 'cache'.83

Kuali Rice Implementation - org/kuali/rice/kns/util/documentserializer/DocumentSerializationState.java

ViolationLine
Avoid unused imports such as 'java.util.Collection'19
Avoid unused imports such as 'org.kuali.rice.kns.bo.BusinessObject'22

Kuali Rice Implementation - org/kuali/rice/kns/util/documentserializer/MaintenanceDocumentPropertySerializibilityEvaluator.java

ViolationLine
Avoid empty if statements66 - 68

Kuali Rice Implementation - org/kuali/rice/kns/util/documentserializer/PropertySerializabilityEvaluatorBase.java

ViolationLine
These nested if statements could be combined108 - 110

Kuali Rice Implementation - org/kuali/rice/kns/util/documentserializer/PropertySerializerTrie.java

ViolationLine
Avoid unused imports such as 'java.util.ArrayList'18
Avoid unused imports such as 'java.util.List'19

Kuali Rice Implementation - org/kuali/rice/kns/util/documentserializer/SerializationState.java

ViolationLine
Avoid unused imports such as 'java.util.Collection'19
Avoid unused imports such as 'org.kuali.rice.kns.bo.BusinessObject'22

Kuali Rice Implementation - org/kuali/rice/kns/util/properties/PropertyHolder.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kns.exception.PropertiesException'23

Kuali Rice Implementation - org/kuali/rice/kns/util/properties/PropertySource.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kns.exception.PropertiesException'20

Kuali Rice Implementation - org/kuali/rice/kns/util/spring/AnnotationAndNameMatchingTransactionAttributeSource.java

ViolationLine
Avoid empty catch blocks72 - 74

Kuali Rice Implementation - org/kuali/rice/kns/util/spring/ClassOrMethodAnnotationFilter.java

ViolationLine
Avoid unused imports such as 'org.springframework.transaction.annotation.Transactional'22

Kuali Rice Implementation - org/kuali/rice/kns/util/spring/KualiTransactionInterceptor.java

ViolationLine
These nested if statements could be combined37 - 53
These nested if statements could be combined66 - 82
These nested if statements could be combined94 - 110

Kuali Rice Implementation - org/kuali/rice/kns/web/RiceConfigurationListener.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.core.config.SimpleConfig'29

Kuali Rice Implementation - org/kuali/rice/kns/web/format/ArrayFormatter.java

ViolationLine
Avoid unused imports such as 'java.util.Collection'18
No need to import a type that lives in the same package20

Kuali Rice Implementation - org/kuali/rice/kns/web/format/CurrencyFormatter.java

ViolationLine
These nested if statements could be combined79 - 81

Kuali Rice Implementation - org/kuali/rice/kns/web/format/DateFormatter.java

ViolationLine
Avoid empty catch blocks133 - 135

Kuali Rice Implementation - org/kuali/rice/kns/web/format/DelegationTypeFormatter.java

ViolationLine
Avoid unused imports such as 'java.util.Arrays'21
Avoid unused imports such as 'java.util.List'22
Avoid unused imports such as 'org.kuali.rice.kns.util.RiceKeyConstants'25

Kuali Rice Implementation - org/kuali/rice/kns/web/format/Formatter.java

ViolationLine
Avoid unused imports such as 'javax.servlet.http.HttpServletRequest'34

Kuali Rice Implementation - org/kuali/rice/kns/web/format/NoOpStringFormatter.java

ViolationLine
These nested if statements could be combined39 - 41
Overriding method merely calls super47 - 49
Overriding method merely calls super51 - 53
Overriding method merely calls super55 - 57
Overriding method merely calls super59 - 61
Overriding method merely calls super63 - 65

Kuali Rice Implementation - org/kuali/rice/kns/web/format/TypeFormatter.java

ViolationLine
Overriding method merely calls super37 - 41

Kuali Rice Implementation - org/kuali/rice/kns/web/servlet/KualiDWRServlet.java

ViolationLine
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.50

Kuali Rice Implementation - org/kuali/rice/kns/web/struts/action/AuthorizationExceptionAction.java

ViolationLine
Avoid unused method parameters such as 'form'.75 - 82

Kuali Rice Implementation - org/kuali/rice/kns/web/struts/action/KualiAction.java

ViolationLine
Avoid unused method parameters such as 'response'.254 - 265
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.542
These nested if statements could be combined628 - 630
Avoid unused method parameters such as 'response'.782 - 815

Kuali Rice Implementation - org/kuali/rice/kns/web/struts/action/KualiDocumentActionBase.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kns.exception.ValidationException'68
Avoid unused imports such as 'org.kuali.rice.kns.rule.event.SaveDocumentEvent'75
Avoid unnecessary temporaries when converting primitives to Strings947
These nested if statements could be combined1162 - 1178
Avoid empty catch blocks1304 - 1305

Kuali Rice Implementation - org/kuali/rice/kns/web/struts/action/KualiHelpAction.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kew.service.KEWServiceLocator'29
Avoid unused local variables such as 'label'.313
Avoid unused local variables such as 'objectDescription'.314
Avoid unused local variables such as 'helpForm'.458

Kuali Rice Implementation - org/kuali/rice/kns/web/struts/action/KualiInquiryAction.java

ViolationLine
Avoid unused local variables such as 'kualiInquirable'.297

Kuali Rice Implementation - org/kuali/rice/kns/web/struts/action/KualiLookupAction.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kns.datadictionary.BusinessObjectEntry'38
Avoid empty if statements121 - 123
These nested if statements could be combined133 - 135
Avoid unused method parameters such as 'request'.164 - 168
Avoid unused local variables such as 'refreshCaller'.241

Kuali Rice Implementation - org/kuali/rice/kns/web/struts/action/KualiMaintenanceDocumentAction.java

ViolationLine
These nested if statements could be combined232 - 249
Avoid empty catch blocks247
Avoid empty catch blocks788 - 790
Avoid empty catch blocks791 - 793
Avoid empty catch blocks794 - 796
These nested if statements could be combined829 - 832
Avoid unused local variables such as 'documentAuthorizer'.952
Avoid unused local variables such as 'newBo'.958
Avoid unused local variables such as 'maintenanceDocumentAuthorizer'.994

Kuali Rice Implementation - org/kuali/rice/kns/web/struts/action/KualiMultipleValueLookupAction.java

ViolationLine
Avoid unused local variables such as 'refreshCaller'.137

Kuali Rice Implementation - org/kuali/rice/kns/web/struts/action/KualiPropertyMessageResources.java

ViolationLine
Avoid unused imports such as 'java.util.Properties'20

Kuali Rice Implementation - org/kuali/rice/kns/web/struts/action/KualiPropertyMessageResourcesFactory.java

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

Kuali Rice Implementation - org/kuali/rice/kns/web/struts/action/KualiRequestProcessor.java

ViolationLine
These nested if statements could be combined214 - 219
These nested if statements could be combined215 - 218
These nested if statements could be combined537 - 541
These nested if statements could be combined558 - 562
Avoid unused method parameters such as 'response'.704 - 715

Kuali Rice Implementation - org/kuali/rice/kns/web/struts/action/QuestionPromptAction.java

ViolationLine
Avoid unused imports such as 'java.util.Map'19

Kuali Rice Implementation - org/kuali/rice/kns/web/struts/form/AuthorizationExceptionForm.java

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

Kuali Rice Implementation - org/kuali/rice/kns/web/struts/form/BackdoorForm.java

ViolationLine
Avoid unused private fields such as 'targetName'.37

Kuali Rice Implementation - org/kuali/rice/kns/web/struts/form/DisplayInactivationBlockersForm.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kns.service.DataDictionaryService'30

Kuali Rice Implementation - org/kuali/rice/kns/web/struts/form/InquiryForm.java

ViolationLine
Avoid unused private fields such as 'inactiveRecordDisplay'.79

Kuali Rice Implementation - org/kuali/rice/kns/web/struts/form/KualiDocumentFormBase.java

ViolationLine
These nested if statements could be combined348 - 350

Kuali Rice Implementation - org/kuali/rice/kns/web/struts/form/KualiForm.java

ViolationLine
Overriding method merely calls super428 - 430

Kuali Rice Implementation - org/kuali/rice/kns/web/struts/form/KualiMaintenanceForm.java

ViolationLine
These nested if statements could be combined117 - 151
These nested if statements could be combined189 - 192
These nested if statements could be combined195 - 198
Avoid unused local variables such as 'docTypeName'.453

Kuali Rice Implementation - org/kuali/rice/kns/web/struts/form/LookupForm.java

ViolationLine
Avoid unused local variables such as 'ddService'.147
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.223
These nested if statements could be combined322 - 325

Kuali Rice Implementation - org/kuali/rice/kns/web/struts/form/MultipleValueLookupForm.java

ViolationLine
Avoid unused private fields such as 'LOG'.38

Kuali Rice Implementation - org/kuali/rice/kns/web/struts/pojo/PojoFormBase.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kns.web.format.EncryptionFormatter'46
Avoid empty catch blocks178 - 180
Avoid unused method parameters such as 'requestParams'.234 - 252
Avoid unused private methods such as 'getAllParametersForMultipartRequest(HttpServletRequest,MultipartRequestHandler)'.278

Kuali Rice Implementation - org/kuali/rice/kns/web/struts/pojo/PojoPropertyUtilsBean.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kns.service.KNSServiceLocator'35
Avoid unused imports such as 'org.kuali.rice.kns.util.ExternalizableBusinessObjectUtils'36
Avoid empty catch blocks369 - 370

Kuali Rice Implementation - org/kuali/rice/kns/web/taglib/html/KNSCheckboxTag.java

ViolationLine
Avoid unused imports such as 'org.apache.struts.taglib.TagUtils'22

Kuali Rice Implementation - org/kuali/rice/kns/web/taglib/html/KNSTextTag.java

ViolationLine
Avoid unused imports such as 'org.apache.struts.taglib.TagUtils'22

Kuali Rice Implementation - org/kuali/rice/kns/web/taglib/html/KNSTextareaTag.java

ViolationLine
Avoid unused imports such as 'org.apache.struts.taglib.TagUtils'22

Kuali Rice Implementation - org/kuali/rice/kns/web/ui/FieldBridge.java

ViolationLine
These nested if statements could be combined205 - 209
These nested if statements could be combined263 - 265
These nested if statements could be combined285 - 287
These nested if statements could be combined506 - 508

Kuali Rice Implementation - org/kuali/rice/kns/web/ui/Section.java

ViolationLine
These nested if statements could be combined192 - 194

Kuali Rice Implementation - org/kuali/rice/kns/web/ui/SectionBridge.java

ViolationLine
Avoid unused private methods such as 'getBusinessObjectAuthorizationService()'.63
Avoid unused local variables such as 'row'.101
These nested if statements could be combined354 - 673

Kuali Rice Implementation - org/kuali/rice/kns/workflow/attribute/DataDictionarySearchableAttribute.java

ViolationLine
Avoid empty catch blocks182 - 184
Avoid unused local variables such as 'boEntry'.436

Kuali Rice Implementation - org/kuali/rice/kns/workflow/attribute/KualiXmlAttributeHelper.java

ViolationLine
Avoid unused local variables such as 'docContent'.96
Avoid unused local variables such as 'name'.118
These nested if statements could be combined163 - 204
Avoid unused private methods such as 'getLastXPath(Element)'.459

Kuali Rice Implementation - org/kuali/rice/kns/workflow/postprocessor/KualiPostProcessor.java

ViolationLine
Avoid unused private fields such as 'LOG'.50

Kuali Rice Implementation - org/kuali/rice/kns/workflow/service/KualiWorkflowDocument.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kew.dto.UserIdDTO'23
Avoid unused imports such as 'org.kuali.rice.kew.exception.InvalidActionTakenException'25
Avoid unused imports such as 'org.kuali.rice.kew.exception.ResourceUnavailableException'26

Kuali Rice Implementation - org/kuali/rice/kns/workflow/service/WorkflowDocumentService.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kew.exception.ResourceUnavailableException'20

Kuali Rice Implementation - org/kuali/rice/kns/workflow/service/impl/KualiWorkflowDocumentImpl.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kew.exception.InvalidActionTakenException'32
Avoid unused imports such as 'org.kuali.rice.kew.exception.ResourceUnavailableException'33
These nested if statements could be combined291 - 293

Kuali Rice Implementation - org/kuali/rice/kns/workflow/service/impl/WorkflowAttributePropertyResolutionServiceImpl.java

ViolationLine
These nested if statements could be combined456 - 459

Kuali Rice Implementation - org/kuali/rice/kns/workflow/service/impl/WorkflowDocumentServiceImpl.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kew.exception.InvalidActionTakenException'24

Kuali Rice Implementation - org/kuali/rice/ksb/cache/RiceCacheAdministratorImpl.java

ViolationLine
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.141

Kuali Rice Implementation - org/kuali/rice/ksb/cache/RiceDistributedCacheListener.java

ViolationLine
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.62

Kuali Rice Implementation - org/kuali/rice/ksb/config/xfire/XFireWSS4JInHandler.java

ViolationLine
Avoid unused imports such as 'java.util.Properties'19
Avoid unused imports such as 'org.apache.log4j.Logger'21
Avoid unused imports such as 'org.apache.ws.security.components.crypto.Crypto'22
Avoid unused imports such as 'org.apache.ws.security.components.crypto.Merlin'23
Avoid unused imports such as 'org.apache.ws.security.handler.RequestData'24
Avoid unused imports such as 'org.apache.ws.security.handler.WSHandlerConstants'25
Avoid unused imports such as 'org.kuali.rice.core.config.ConfigContext'31
Avoid unused imports such as 'org.kuali.rice.core.exception.RiceRuntimeException'32
Avoid unused imports such as 'org.kuali.rice.core.util.ClassLoaderUtils'33
Avoid unused imports such as 'org.kuali.rice.ksb.config.wss4j.CryptoPasswordCallbackHandler'34
Avoid unused imports such as 'org.kuali.rice.ksb.messaging.ServiceInfo'35

Kuali Rice Implementation - org/kuali/rice/ksb/config/xfire/XFireWSS4JOutHandler.java

ViolationLine
Avoid unused imports such as 'java.util.Properties'19
Avoid unused imports such as 'org.apache.log4j.Logger'21
Avoid unused imports such as 'org.apache.ws.security.components.crypto.Crypto'22
Avoid unused imports such as 'org.apache.ws.security.components.crypto.Merlin'23
Avoid unused imports such as 'org.apache.ws.security.handler.RequestData'24
Avoid unused imports such as 'org.apache.ws.security.handler.WSHandlerConstants'25
Avoid unused imports such as 'org.kuali.rice.core.config.ConfigContext'30
Avoid unused imports such as 'org.kuali.rice.core.exception.RiceRuntimeException'31
Avoid unused imports such as 'org.kuali.rice.core.util.ClassLoaderUtils'32
Avoid unused imports such as 'org.kuali.rice.ksb.config.wss4j.CryptoPasswordCallbackHandler'33
Avoid unused imports such as 'org.kuali.rice.ksb.messaging.ServiceInfo'34

Kuali Rice Implementation - org/kuali/rice/ksb/messaging/KSBHttpInvokerServiceExporter.java

ViolationLine
Overriding method merely calls super91 - 93

Kuali Rice Implementation - org/kuali/rice/ksb/messaging/MessageServiceInvoker.java

ViolationLine
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.72

Kuali Rice Implementation - org/kuali/rice/ksb/messaging/PropertyConditionalKSBExporter.java

ViolationLine
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.58
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.73
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.75

Kuali Rice Implementation - org/kuali/rice/ksb/messaging/RESTServiceDefinition.java

ViolationLine
Overriding method merely calls super91 - 93

Kuali Rice Implementation - org/kuali/rice/ksb/messaging/RemoteResourceServiceLocatorImpl.java

ViolationLine
These nested if statements could be combined80 - 82
These nested if statements could be combined157 - 159

Kuali Rice Implementation - org/kuali/rice/ksb/messaging/ServiceDefinition.java

ViolationLine
Avoid unused imports such as 'java.net.URLEncoder'21
Avoid unused local variables such as 'i'.115

Kuali Rice Implementation - org/kuali/rice/ksb/messaging/ServiceInfo.java

ViolationLine
Avoid empty catch blocks289

Kuali Rice Implementation - org/kuali/rice/ksb/messaging/config/KSBConfigurer.java

ViolationLine
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.172

Kuali Rice Implementation - org/kuali/rice/ksb/messaging/dao/impl/MessageQueueDAOJpaImpl.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.core.util.OrmUtils'29

Kuali Rice Implementation - org/kuali/rice/ksb/messaging/exceptionhandling/DefaultMessageExceptionHandler.java

ViolationLine
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.140

Kuali Rice Implementation - org/kuali/rice/ksb/messaging/quartz/KSBSchedulerFactoryBean.java

ViolationLine
Avoid unused private fields such as 'transactionManager'.37
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.64

Kuali Rice Implementation - org/kuali/rice/ksb/messaging/quartz/QuartzConfigPropertiesFactoryBean.java

ViolationLine
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.41
These nested if statements could be combined61 - 63

Kuali Rice Implementation - org/kuali/rice/ksb/messaging/resourceloader/KSBResourceLoaderFactory.java

ViolationLine
Avoid unused private fields such as 'LOG'.44

Kuali Rice Implementation - org/kuali/rice/ksb/messaging/service/impl/MessageQueueServiceImpl.java

ViolationLine
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.43
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.52

Kuali Rice Implementation - org/kuali/rice/ksb/messaging/serviceconnectors/AbstractServiceConnector.java

ViolationLine
Avoid empty catch blocks83 - 85

Kuali Rice Implementation - org/kuali/rice/ksb/messaging/serviceconnectors/HttpInvokerConnector.java

ViolationLine
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.136

Kuali Rice Implementation - org/kuali/rice/ksb/messaging/serviceexporters/RESTServiceExporter.java

ViolationLine
Avoid unused private fields such as 'serviceInfo'.43
Avoid unused private fields such as 'serviceLocator'.44
Avoid unused local variables such as 'server'.102

Kuali Rice Implementation - org/kuali/rice/ksb/messaging/serviceproxies/MessageSender.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.core.config.Config'15
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.35

Kuali Rice Implementation - org/kuali/rice/ksb/messaging/serviceproxies/SynchronousServiceCallProxy.java

ViolationLine
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.63

Kuali Rice Implementation - org/kuali/rice/ksb/messaging/servlet/CXFServletControllerAdapter.java

ViolationLine
Avoid unused private fields such as 'serviceInfo'.38

Kuali Rice Implementation - org/kuali/rice/ksb/messaging/servlet/KSBHttpInvokerHandler.java

ViolationLine
Avoid unused private fields such as 'LOG'.35
Avoid unused private fields such as 'urlPathHelper'.37

Kuali Rice Implementation - org/kuali/rice/ksb/messaging/threadpool/KSBScheduledThreadPoolExecutor.java

ViolationLine
Avoid empty catch blocks46 - 48

Kuali Rice Implementation - org/kuali/rice/ksb/messaging/web/KSBAction.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kim.bo.Person'33
Avoid unused imports such as 'org.kuali.rice.kim.bo.impl.KimAttributes'34

Kuali Rice Implementation - org/kuali/rice/ksb/messaging/web/MessageQueueAction.java

ViolationLine
Avoid unused local variables such as 'routeQueueId'.77
These nested if statements could be combined390 - 393

Kuali Rice Implementation - org/kuali/rice/ksb/security/admin/service/impl/JavaSecurityManagementServiceImpl.java

ViolationLine
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN)201

Kuali Rice Implementation - org/kuali/rice/ksb/security/admin/web/JavaSecurityManagementAction.java

ViolationLine
Avoid empty catch blocks120

Kuali Rice Implementation - org/kuali/rice/ksb/security/admin/web/JavaSecurityManagementForm.java

ViolationLine
These nested if statements could be combined57 - 59

Kuali Rice Implementation - org/kuali/rice/test/BaselineTestCase.java

ViolationLine
These nested if statements could be combined95 - 97

Kuali Rice Implementation - org/kuali/rice/test/ClearDatabaseLifecycle.java

ViolationLine
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.97

Kuali Rice Implementation - org/kuali/rice/test/JettyServerTestCase.java

ViolationLine
These nested if statements could be combined69 - 71

Kuali Rice Implementation - org/kuali/rice/test/TestUtilities.java

ViolationLine
An empty statement (semicolon) not part of a loop159
Avoid empty catch blocks162 - 164

Kuali Rice Implementation - org/kuali/rice/test/lifecycles/SQLDataLoaderLifecycle.java

ViolationLine
Overriding method merely calls super61 - 64

Kuali Rice Implementation - org/kuali/rice/test/runners/RiceUnitTestClassRunner.java

ViolationLine
Avoid empty catch blocks91 - 93

sampleapp - edu/sampleu/travel/bo/TravelAccountType.java

ViolationLine
Avoid unused imports such as 'javax.persistence.CascadeType'21

sampleapp - edu/sampleu/travel/infrastructure/TravelAppInitializeListener.java

ViolationLine
Avoid unused imports such as 'uk.ltd.getahead.dwr.util.LoggingOutput'27

sampleapp - edu/sampleu/travel/workflow/DestinationRuleAttribute.java

ViolationLine
Avoid unused private fields such as 'rows'.34