PMD Results
The following document contains the results of PMD 7.17.0.
Violations By Priority
Priority 2
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/AbstractEventEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 391 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 1090 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 1137 |
Opencast :: asset-manager-impl - org/opencastproject/assetmanager/impl/AssetManagerImpl.java
| Rule | Violation | Line |
|---|---|---|
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 796 |
Opencast :: asset-manager-workflowoperation - org/opencastproject/workflow/handler/assetmanager/SelectVersionWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 150 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 181 |
Opencast :: common - org/opencastproject/util/JobUtil.java
| Rule | Violation | Line |
|---|---|---|
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 70 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 204 |
Opencast :: common - org/opencastproject/util/RestUtil.java
| Rule | Violation | Line |
|---|---|---|
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 198 |
Opencast :: common - org/opencastproject/util/data/Option.java
| Rule | Violation | Line |
|---|---|---|
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 314 |
Opencast :: common - org/opencastproject/util/data/functions/Options.java
| Rule | Violation | Line |
|---|---|---|
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 66 |
Opencast :: composer-workflowoperation - org/opencastproject/workflow/handler/composer/PartialImportWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 1039 |
Opencast :: distribution-service-aws-s3-remote - org/opencastproject/distribution/aws/s3/remote/AwsS3DistributionServiceRemoteImpl.java
| Rule | Violation | Line |
|---|---|---|
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 125 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 147 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 171 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 195 |
Opencast :: distribution-service-download-remote - org/opencastproject/distribution/download/remote/DownloadDistributionServiceRemoteImpl.java
| Rule | Violation | Line |
|---|---|---|
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 129 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 151 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 175 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 199 |
Opencast :: distribution-service-streaming-remote - org/opencastproject/distribution/streaming/remote/StreamingDistributionServiceRemoteImpl.java
| Rule | Violation | Line |
|---|---|---|
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 140 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 162 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 185 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 209 |
Opencast :: external-api - org/opencastproject/external/endpoint/EventsEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 458–459 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 534 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 653 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 1208 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 1286 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 1325 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 1393 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 1465 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 1606 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 1660 |
Opencast :: kernel - org/opencastproject/kernel/scanner/AbstractScanner.java
| Rule | Violation | Line |
|---|---|---|
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 298 |
Opencast :: oaipmh - org/opencastproject/oaipmh/matterhorn/MatterhornInlinedMetadataProvider.java
| Rule | Violation | Line |
|---|---|---|
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 92 |
Opencast :: oaipmh - org/opencastproject/oaipmh/server/OaiPmhServer.java
| Rule | Violation | Line |
|---|---|---|
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 218 |
Opencast :: publication-service-oaipmh - org/opencastproject/publication/oaipmh/OaiPmhPublicationServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 850–851 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 999 |
Opencast :: scheduler-impl - org/opencastproject/scheduler/impl/CaptureNowProlongingService.java
| Rule | Violation | Line |
|---|---|---|
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 422 |
Opencast :: series-service-impl - org/opencastproject/series/impl/SeriesServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 210 |
Opencast :: static-file-service-impl - org/opencastproject/staticfiles/impl/StaticFileServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 281 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 293 |
Opencast :: transcription-service-amberscript - org/opencastproject/transcription/amberscript/AmberscriptTranscriptionService.java
| Rule | Violation | Line |
|---|---|---|
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 877 |
Opencast :: transcription-service-google-speech-impl - org/opencastproject/transcription/googlespeech/GoogleSpeechTranscriptionService.java
| Rule | Violation | Line |
|---|---|---|
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 783 |
Opencast :: videoeditor-workflowoperation - org/opencastproject/workflow/handler/videoeditor/SilenceDetectionWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 286 |
Opencast :: workflow-service-api - org/opencastproject/workflow/api/AbstractWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 352 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 365 |
Opencast :: working-file-repository-service-impl - org/opencastproject/workingfilerepository/impl/WorkingFileRepositoryRestEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 180 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 243 |
Opencast :: workspace-impl - org/opencastproject/workspace/impl/WorkspaceImpl.java
| Rule | Violation | Line |
|---|---|---|
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 530 |
Priority 3
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/AbstractEventEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–3112 |
| UnnecessaryReturn | Unnecessary return statement | 1227 |
| UnusedLocalVariable | Avoid unused local variables such as 'ignore'. | 2188 |
| UnusedLocalVariable | Avoid unused local variables such as 'ignore'. | 2222 |
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/AclEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–433 |
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/CaptureAgentsEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–330 |
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/GroupsEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–381 |
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/JobEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 21–495 |
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/SeriesEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–1420 |
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/TasksEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–229 |
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/ThemesEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–727 |
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/UserSettingsEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–194 |
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/UsersEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–578 |
Opencast :: admin-ui - org/opencastproject/adminui/tobira/TobiraException.java
| Rule | Violation | Line |
|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'response'. | 29 |
| UnusedPrivateField | Avoid unused private fields such as 'errors'. | 30 |
Opencast :: admin-ui - org/opencastproject/adminui/util/ClassPathInspector.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 43 |
| UnusedLocalVariable | Avoid unused local variables such as 'file'. | 58 |
Opencast :: adopter-registration-impl - org/opencastproject/adopter/registration/AdopterRegistrationRestService.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–282 |
Opencast :: adopter-registration-impl - org/opencastproject/adopter/registration/AdopterRegistrationSender.java
| Rule | Violation | Line |
|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'logger'. | 47 |
Opencast :: adopter-registration-impl - org/opencastproject/adopter/registration/dto/Adopter.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 55 |
Opencast :: asset-manager-api - org/opencastproject/assetmanager/api/fn/ARecords.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 48 |
Opencast :: asset-manager-impl - org/opencastproject/assetmanager/impl/AssetManagerImpl.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 21–1636 |
| EmptyCatchBlock | Avoid empty catch blocks | 1254–1256 |
| UnusedLocalVariable | Avoid unused local variables such as 'toString'. | 1487 |
| EmptyCatchBlock | Avoid empty catch blocks | 1529 |
Opencast :: asset-manager-impl - org/opencastproject/assetmanager/impl/AssetManagerJobProducer.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 118 |
| UnnecessarySemicolon | Unnecessary semicolon | 142 |
Opencast :: asset-manager-impl - org/opencastproject/assetmanager/impl/SnapshotImpl.java
| Rule | Violation | Line |
|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'id'. | 31 |
Opencast :: asset-manager-impl - org/opencastproject/assetmanager/impl/endpoint/AbstractAssetManagerRestEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 21–541 |
Opencast :: asset-manager-impl - org/opencastproject/assetmanager/impl/endpoint/AbstractTieredStorageAssetManagerRestEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 21–348 |
Opencast :: asset-manager-impl - org/opencastproject/assetmanager/impl/query/AbstractASelectQuery.java
| Rule | Violation | Line |
|---|---|---|
| UnusedPrivateMethod | Avoid unused private methods such as 'toARecord(SelectQueryContribution)'. | 289 |
| UnusedPrivateMethod | Avoid unused private methods such as 'vary(Stream<? extends A>)'. | 352 |
| UnusedPrivateMethod | Avoid unused private methods such as 'sizeOf(Stream<A>)'. | 356 |
| UnusedLocalVariable | Avoid unused local variables such as 'ignore'. | 358 |
Opencast :: asset-manager-impl - org/opencastproject/assetmanager/impl/query/PropertyPredicates.java
| Rule | Violation | Line |
|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'Q_SNAPSHOT_ALIAS'. | 39 |
Opencast :: asset-manager-static-file-authorization - org/opencastproject/assetmanager/auth/AssetManagerStaticFileAuthorization.java
| Rule | Violation | Line |
|---|---|---|
| UnusedLocalVariable | Avoid unused local variables such as 'newPattern'. | 91 |
Opencast :: asset-manager-storage-fs - org/opencastproject/assetmanager/storage/impl/fs/AbstractFileSystemAssetStore.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 21–309 |
Opencast :: asset-manager-storage-fs - org/opencastproject/assetmanager/storage/impl/fs/OsgiFileSystemAssetStore.java
| Rule | Violation | Line |
|---|---|---|
| UnusedPrivateMethod | Avoid unused private methods such as 'getRootDirectories()'. | 163 |
Opencast :: asset-manager-workflowoperation - org/opencastproject/workflow/handler/assetmanager/AssetManagerSnapshotWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| UnusedLocalVariable | Avoid unused local variables such as 'currentOperation'. | 92 |
Opencast :: authorization-manager - org/opencastproject/authorization/xacml/manager/endpoint/AbstractAclServiceRestEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–387 |
Opencast :: authorization-manager - org/opencastproject/authorization/xacml/manager/endpoint/JsonConv.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–86 |
Opencast :: authorization-manager - org/opencastproject/authorization/xacml/manager/impl/AclServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 86–89 |
Opencast :: caption-impl - org/opencastproject/caption/converters/DFXPCaptionConverter.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 145–146 |
Opencast :: caption-impl - org/opencastproject/caption/converters/SubRipCaptionConverter.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 89–90 |
Opencast :: caption-impl - org/opencastproject/caption/impl/CaptionServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 106 |
| EmptyCatchBlock | Avoid empty catch blocks | 332–334 |
| EmptyCatchBlock | Avoid empty catch blocks | 446–448 |
Opencast :: capture-admin-service-impl - org/opencastproject/capture/admin/endpoint/CaptureAgentStateRestService.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–505 |
Opencast :: capture-admin-service-impl - org/opencastproject/capture/admin/impl/AgentImpl.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 131 |
Opencast :: capture-admin-service-impl - org/opencastproject/capture/admin/impl/CaptureAgentStateServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–689 |
| EmptyCatchBlock | Avoid empty catch blocks | 521–523 |
| EmptyCatchBlock | Avoid empty catch blocks | 597–600 |
Opencast :: comments-workflowoperation - org/opencastproject/workflow/handler/comments/CommentWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 79 |
Opencast :: common-jpa-impl - org/opencastproject/serviceregistry/impl/jpa/HostRegistrationJpaImpl.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 112 |
Opencast :: common - org/opencastproject/db/DBSessionImpl.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 178–179 |
Opencast :: common - org/opencastproject/mediapackage/AbstractMediaPackageElement.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 502–503 |
Opencast :: common - org/opencastproject/mediapackage/AdaptivePlaylist.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 647 |
Opencast :: common - org/opencastproject/mediapackage/MediaPackageImpl.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 219–220 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 704–706 |
Opencast :: common - org/opencastproject/mediapackage/MediaPackageSupport.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–355 |
Opencast :: common - org/opencastproject/mediapackage/XMLCatalogImpl.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–841 |
| UselessOverridingMethod | Overriding method merely calls super | 471 |
| EmptyCatchBlock | Avoid empty catch blocks | 717–720 |
Opencast :: common - org/opencastproject/mediapackage/attachment/AttachmentImpl.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 91 |
Opencast :: common - org/opencastproject/mediapackage/elementbuilder/AttachmentBuilderPlugin.java
| Rule | Violation | Line |
|---|---|---|
| UselessOverridingMethod | Overriding method merely calls super | 65 |
Opencast :: common - org/opencastproject/mediapackage/selector/AbstractMediaPackageElementSelector.java
| Rule | Violation | Line |
|---|---|---|
| UnusedFormalParameter | Avoid unused method parameters such as 'object'. | 143 |
Opencast :: common - org/opencastproject/mediapackage/track/TrackImpl.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 129 |
Opencast :: common - org/opencastproject/security/api/AccessControlUtil.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–363 |
Opencast :: common - org/opencastproject/security/util/SecurityUtil.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–215 |
Opencast :: common - org/opencastproject/serviceregistry/api/Incidents.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 146–147 |
Opencast :: common - org/opencastproject/serviceregistry/api/RemoteBase.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 282–284 |
Opencast :: common - org/opencastproject/serviceregistry/api/ServiceRegistrationInMemoryImpl.java
| Rule | Violation | Line |
|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'serviceState'. | 60 |
Opencast :: common - org/opencastproject/serviceregistry/api/ServiceRegistrationParser.java
| Rule | Violation | Line |
|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'jaxbContext'. | 33 |
Opencast :: common - org/opencastproject/util/ChunkedFileInputStream.java
| Rule | Violation | Line |
|---|---|---|
| CheckSkipResult | Check the value returned by the skip() method of an InputStream to see if the requested number of bytes has been skipped. | 80 |
Opencast :: common - org/opencastproject/util/EnumSupport.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 62–63 |
| EmptyCatchBlock | Avoid empty catch blocks | 66–67 |
| EmptyCatchBlock | Avoid empty catch blocks | 71–72 |
| EmptyCatchBlock | Avoid empty catch blocks | 72–73 |
Opencast :: common - org/opencastproject/util/FileSupport.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–547 |
Opencast :: common - org/opencastproject/util/HttpUtil.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–141 |
Opencast :: common - org/opencastproject/util/IoSupport.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–541 |
| EmptyCatchBlock | Avoid empty catch blocks | 248–249 |
| EmptyCatchBlock | Avoid empty catch blocks | 509–510 |
Opencast :: common - org/opencastproject/util/JobUtil.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–330 |
Opencast :: common - org/opencastproject/util/JsonObj.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–152 |
Opencast :: common - org/opencastproject/util/MimeTypes.java
| Rule | Violation | Line |
|---|---|---|
| UselessOverridingMethod | Overriding method merely calls super | 311 |
| UselessOverridingMethod | Overriding method merely calls super | 316 |
| UselessOverridingMethod | Overriding method merely calls super | 321 |
Opencast :: common - org/opencastproject/util/RestUtil.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–369 |
Opencast :: common - org/opencastproject/util/ZipUtil.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 248–251 |
Opencast :: common - org/opencastproject/util/data/Function0.java
| Rule | Violation | Line |
|---|---|---|
| UselessQualifiedThis | Useless qualified this usage in the same class. | 40 |
| UselessQualifiedThis | Useless qualified this usage in the same class. | 45 |
Opencast :: common - org/opencastproject/util/data/Monadics.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–855 |
Opencast :: common - org/opencastproject/util/doc/rest/RestParameter.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 38 |
Opencast :: composer-ffmpeg - org/opencastproject/composer/impl/ComposerServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–2542 |
| EmptyCatchBlock | Avoid empty catch blocks | 1500–1502 |
| UnusedFormalParameter | Avoid unused method parameters such as 'ex'. | 1929 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 2217–2220 |
| UnusedLocalVariable | Avoid unused local variables such as 'sourceTrackFlavor'. | 2315 |
Opencast :: composer-ffmpeg - org/opencastproject/composer/impl/EncoderEngine.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 720–721 |
| UnusedLocalVariable | Avoid unused local variables such as 'maxrate'. | 818 |
Opencast :: composer-ffmpeg - org/opencastproject/composer/impl/EncodingProfileScanner.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 275–278 |
Opencast :: composer-workflowoperation - org/opencastproject/workflow/handler/composer/ConcatWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 100 |
Opencast :: composer-workflowoperation - org/opencastproject/workflow/handler/composer/ImageWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–627 |
Opencast :: composer-workflowoperation - org/opencastproject/workflow/handler/composer/MultiEncodeWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 274–278 |
| UnusedFormalParameter | Avoid unused method parameters such as 'track'. | 486 |
| UnusedFormalParameter | Avoid unused method parameters such as 'mediaPackage'. | 486 |
Opencast :: composer-workflowoperation - org/opencastproject/workflow/handler/composer/ProcessSmilWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 166 |
| UnusedFormalParameter | Avoid unused method parameters such as 'track'. | 591 |
| UnusedFormalParameter | Avoid unused method parameters such as 'mediaPackage'. | 591 |
Opencast :: composer-workflowoperation - org/opencastproject/workflow/handler/composer/SanitizeAdaptiveWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| UnusedLocalVariable | Avoid unused local variables such as 'operation'. | 140 |
Opencast :: conductor - org/opencastproject/event/handler/AssetManagerUpdatedEventHandler.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 280–282 |
Opencast :: conductor - org/opencastproject/event/handler/ConductingEpisodeUpdatedEventHandler.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 74–76 |
Opencast :: crop-workflowoperation - org/opencastproject/workflow/handler/crop/CropWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| UnusedLocalVariable | Avoid unused local variables such as 'operation'. | 96 |
Opencast :: distribution-service-aws-s3-remote - org/opencastproject/distribution/aws/s3/remote/AwsS3DistributionServiceRemoteImpl.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 21–221 |
Opencast :: distribution-service-aws-s3 - org/opencastproject/distribution/aws/s3/AwsS3DistributionServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| UnusedLocalVariable | Avoid unused local variables such as 'distributedElementUriStr'. | 554 |
Opencast :: distribution-service-download-remote - org/opencastproject/distribution/download/remote/DownloadDistributionServiceRemoteImpl.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–218 |
Opencast :: distribution-service-download - org/opencastproject/distribution/download/DownloadDistributionServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 21–946 |
Opencast :: distribution-service-streaming-remote - org/opencastproject/distribution/streaming/remote/StreamingDistributionServiceRemoteImpl.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–227 |
Opencast :: distribution-service-streaming-wowza - org/opencastproject/distribution/streaming/wowza/WowzaStreamingDistributionService.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 179 |
Opencast :: distribution-workflowoperation - org/opencastproject/workflow/handler/distribution/PartialRetractEngageWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| UnusedPrivateMethod | Avoid unused private methods such as 'findPublicationElement(MediaPackage)'. | 190 |
Opencast :: distribution-workflowoperation - org/opencastproject/workflow/handler/distribution/PublishEngageWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–813 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 602–609 |
Opencast :: distribution-workflowoperation - org/opencastproject/workflow/handler/distribution/PublishOaiPmhWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 21–286 |
Opencast :: dublincore - org/opencastproject/metadata/dublincore/DublinCoreMetadataCollection.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 226–229 |
Opencast :: dublincore - org/opencastproject/metadata/dublincore/DublinCores.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–206 |
Opencast :: dublincore - org/opencastproject/metadata/dublincore/EncodingSchemeUtils.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 159–160 |
| EmptyCatchBlock | Avoid empty catch blocks | 171–172 |
| EmptyCatchBlock | Avoid empty catch blocks | 206–207 |
| EmptyCatchBlock | Avoid empty catch blocks | 215–216 |
| EmptyCatchBlock | Avoid empty catch blocks | 229–230 |
| EmptyCatchBlock | Avoid empty catch blocks | 237–238 |
| EmptyCatchBlock | Avoid empty catch blocks | 331–333 |
Opencast :: dublincore - org/opencastproject/metadata/dublincore/MetadataJson.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–480 |
Opencast :: dublincore - org/opencastproject/metadata/dublincore/OpencastDctermsDublinCore.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 21–608 |
| EmptyCatchBlock | Avoid empty catch blocks | 372–373 |
Opencast :: dublincore - org/opencastproject/metadata/dublincore/StaticMetadataServiceDublinCoreImpl.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–420 |
| UnusedLocalVariable | Avoid unused local variables such as 'start'. | 172 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 232–235 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 243–245 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 253–255 |
| UnusedPrivateMethod | Avoid unused private methods such as 'flavorPredicate(MediaPackageElementFlavor)'. | 397 |
Opencast :: editor-service-api - org/opencastproject/editor/api/EditingData.java
| Rule | Violation | Line |
|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'title'. | 48 |
| UnusedPrivateField | Avoid unused private fields such as 'date'. | 49 |
| UnusedPrivateField | Avoid unused private fields such as 'duration'. | 50 |
| UnusedPrivateField | Avoid unused private fields such as 'series'. | 51 |
| UnusedPrivateField | Avoid unused private fields such as 'waveformURIs'. | 63 |
| UnusedPrivateField | Avoid unused private fields such as 'local'. | 65 |
Opencast :: editor-service-api - org/opencastproject/editor/api/SeriesData.java
| Rule | Violation | Line |
|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'id'. | 24 |
| UnusedPrivateField | Avoid unused private fields such as 'title'. | 25 |
Opencast :: editor-service-api - org/opencastproject/editor/api/TrackData.java
| Rule | Violation | Line |
|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'uri'. | 38 |
| UnusedPrivateField | Avoid unused private fields such as 'thumbnailPriority'. | 41 |
Opencast :: editor-service-api - org/opencastproject/editor/api/TrackSubData.java
| Rule | Violation | Line |
|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'available'. | 27 |
Opencast :: editor-service-api - org/opencastproject/editor/api/WorkflowData.java
| Rule | Violation | Line |
|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'name'. | 25 |
| UnusedPrivateField | Avoid unused private fields such as 'displayOrder'. | 26 |
| UnusedPrivateField | Avoid unused private fields such as 'description'. | 27 |
Opencast :: editor-service - org/opencastproject/editor/EditorServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 824–826 |
Opencast :: elasticsearch-api - org/opencastproject/elasticsearch/api/SearchTerms.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 35 |
Opencast :: elasticsearch-index - org/opencastproject/elasticsearch/index/objects/event/EventSearchQuery.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 123–125 |
Opencast :: elasticsearch-index - org/opencastproject/elasticsearch/index/objects/series/SeriesSearchQuery.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 100–102 |
Opencast :: elasticsearch-index - org/opencastproject/elasticsearch/index/rebuild/IndexRebuildService.java
| Rule | Violation | Line |
|---|---|---|
| UselessQualifiedThis | Useless qualified this usage in the same class. | 282 |
Opencast :: event-comment - org/opencastproject/event/comment/persistence/EventCommentDto.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 377 |
Opencast :: event-comment - org/opencastproject/event/comment/persistence/EventCommentReplyDto.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 208 |
Opencast :: external-api - org/opencastproject/external/endpoint/BaseEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 21–276 |
Opencast :: external-api - org/opencastproject/external/endpoint/EventsEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 21–2171 |
| UnnecessarySemicolon | Unnecessary semicolon | 253 |
Opencast :: external-api - org/opencastproject/external/endpoint/GroupsEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 21–420 |
Opencast :: external-api - org/opencastproject/external/endpoint/PlaylistsEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 21–379 |
Opencast :: external-api - org/opencastproject/external/endpoint/SecurityEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 21–168 |
Opencast :: external-api - org/opencastproject/external/endpoint/SeriesEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 21–1508 |
Opencast :: external-api - org/opencastproject/external/endpoint/WorkflowDefinitionsEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 21–296 |
Opencast :: external-api - org/opencastproject/external/endpoint/WorkflowsEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 21–447 |
Opencast :: external-api - org/opencastproject/external/util/CaptureAgentUtils.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 21–70 |
Opencast :: external-api - org/opencastproject/external/util/SchedulingUtils.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 21–431 |
Opencast :: graphql - org/opencastproject/graphql/command/CreateSeriesCommand.java
| Rule | Violation | Line |
|---|---|---|
| UnusedLocalVariable | Avoid unused local variables such as 'seriesService'. | 72 |
Opencast :: graphql - org/opencastproject/graphql/datafetcher/event/CommonEventMetadataDataFetcher.java
| Rule | Violation | Line |
|---|---|---|
| UnusedLocalVariable | Avoid unused local variables such as 'e'. | 63 |
Opencast :: graphql - org/opencastproject/graphql/execution/context/OpencastContext.java
| Rule | Violation | Line |
|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'arguments'. | 37 |
Opencast :: graphql - org/opencastproject/graphql/schema/SchemaBuilder.java
| Rule | Violation | Line |
|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'logger'. | 53 |
| UnusedPrivateField | Avoid unused private fields such as 'organization'. | 57 |
Opencast :: index-service - org/opencastproject/index/service/api/IndexService.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 60 |
Opencast :: index-service - org/opencastproject/index/service/catalog/adapter/CatalogUIAdapterFactory.java
| Rule | Violation | Line |
|---|---|---|
| SimplifiedTernary | This conditional expression can be simplified with || or && | 123 |
Opencast :: index-service - org/opencastproject/index/service/catalog/adapter/ConfigurableDCCatalogUIAdapter.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 104–107 |
Opencast :: index-service - org/opencastproject/index/service/impl/IndexServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–2105 |
| UnusedLocalVariable | Avoid unused local variables such as 'ingest'. | 996 |
Opencast :: index-service - org/opencastproject/index/service/resources/list/provider/EventCommentsListProvider.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 58 |
| UnnecessarySemicolon | Unnecessary semicolon | 63 |
Opencast :: index-service - org/opencastproject/index/service/resources/list/provider/SeriesListProvider.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 243–252 |
Opencast :: index-service - org/opencastproject/index/service/resources/list/query/ServicesListQuery.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 202–204 |
Opencast :: index-service - org/opencastproject/index/service/util/RestUtils.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–336 |
Opencast :: ingest-service-impl - org/opencastproject/ingest/impl/IngestServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–2158 |
| UnusedLocalVariable | Avoid unused local variables such as 'createdSeries'. | 2142 |
Opencast :: ingest-service-impl - org/opencastproject/ingest/scanner/InboxScannerService.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 256 |
Opencast :: ingest-service-impl - org/opencastproject/ingest/scanner/Ingestor.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 278–280 |
| EmptyCatchBlock | Avoid empty catch blocks | 282–284 |
| UselessQualifiedThis | Useless qualified this usage in the same class. | 348 |
| UselessQualifiedThis | Useless qualified this usage in the same class. | 355 |
Opencast :: inspection-service-api - org/opencastproject/inspection/api/util/Options.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 44 |
Opencast :: inspection-service-ffmpeg - org/opencastproject/inspection/ffmpeg/FFmpegAnalyzer.java
| Rule | Violation | Line |
|---|---|---|
| PrimitiveWrapperInstantiation | Do not use `new Double(...)`, prefer `Double.valueOf(...)` | 203 |
| PrimitiveWrapperInstantiation | Do not use `new Float(...)`, prefer `Float.valueOf(...)` | 215 |
| PrimitiveWrapperInstantiation | Do not use `new Double(...)`, prefer `Double.valueOf(...)` | 261 |
| PrimitiveWrapperInstantiation | Do not use `new Float(...)`, prefer `Float.valueOf(...)` | 273 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 359–363 |
Opencast :: inspection-service-ffmpeg - org/opencastproject/inspection/ffmpeg/MediaInspector.java
| Rule | Violation | Line |
|---|---|---|
| UnusedFormalParameter | Avoid unused method parameters such as 'options'. | 336 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 411–413 |
| EmptyControlStatement | Empty if statement | 536–540 |
Opencast :: inspection-service-remote - org/opencastproject/inspection/remote/MediaInspectionServiceRemoteImpl.java
| Rule | Violation | Line |
|---|---|---|
| PrimitiveWrapperInstantiation | Do not use `new Boolean(...)`, prefer `Boolean.valueOf` | 154 |
Opencast :: kernel - org/opencastproject/kernel/bundleinfo/BundleInfoImpl.java
| Rule | Violation | Line |
|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'dbSchemaVersion'. | 34 |
Opencast :: kernel - org/opencastproject/kernel/bundleinfo/BundleInfoLogger.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–124 |
Opencast :: kernel - org/opencastproject/kernel/bundleinfo/BundleInfoRestEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–233 |
Opencast :: kernel - org/opencastproject/kernel/mail/BaseSmtpService.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 47 |
Opencast :: kernel - org/opencastproject/kernel/rest/CleanSessionsFilter.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 98–102 |
Opencast :: kernel - org/opencastproject/kernel/security/RemoteUserAndOrganizationFilter.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–320 |
Opencast :: kernel - org/opencastproject/kernel/security/SystemTokenBasedRememberMeService.java
| Rule | Violation | Line |
|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'logger'. | 39 |
Opencast :: kernel - org/opencastproject/kernel/security/SystemTokenRememberMeUtils.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 67–69 |
| EmptyCatchBlock | Avoid empty catch blocks | 77–79 |
Opencast :: live-schedule-impl - org/opencastproject/liveschedule/impl/LiveScheduleServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 431–433 |
| EmptyCatchBlock | Avoid empty catch blocks | 552–556 |
Opencast :: live-schedule-impl - org/opencastproject/liveschedule/message/SchedulerEventUpdateHandler.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 129–131 |
Opencast :: mattermost-notification-workflowoperation - org/opencastproject/workflow/handler/mattermost/notification/MattermostNotificationWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 21–311 |
Opencast :: message-broker-api - org/opencastproject/message/broker/api/scheduler/SchedulerItem.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 64 |
Opencast :: message-broker-api - org/opencastproject/message/broker/api/series/SeriesItem.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 53 |
Opencast :: mpeg7 - org/opencastproject/metadata/mpeg7/KeywordAnnotation.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 62 |
Opencast :: mpeg7 - org/opencastproject/metadata/mpeg7/MediaDurationImpl.java
| Rule | Violation | Line |
|---|---|---|
| UselessOverridingMethod | Overriding method merely calls super | 296 |
Opencast :: mpeg7 - org/opencastproject/metadata/mpeg7/MediaRelTimePointImpl.java
| Rule | Violation | Line |
|---|---|---|
| UselessOverridingMethod | Overriding method merely calls super | 146 |
Opencast :: mpeg7 - org/opencastproject/metadata/mpeg7/Mpeg7Parser.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 59 |
Opencast :: mpeg7 - org/opencastproject/metadata/mpeg7/MultimediaContent.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 39 |
Opencast :: mpeg7 - org/opencastproject/metadata/mpeg7/MultimediaContentType.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 37 |
Opencast :: mpeg7 - org/opencastproject/metadata/mpeg7/Segment.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 83 |
Opencast :: mpeg7 - org/opencastproject/metadata/mpeg7/TemporalDecomposition.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 39 |
Opencast :: mpeg7 - org/opencastproject/metadata/mpeg7/VideoText.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 67 |
Opencast :: oaipmh-persistence - org/opencastproject/oaipmh/persistence/impl/AbstractOaiPmhDatabase.java
| Rule | Violation | Line |
|---|---|---|
| UnusedLocalVariable | Avoid unused local variables such as 'lastDate'. | 196 |
| UnusedLocalVariable | Avoid unused local variables such as 'resultSize'. | 197 |
| UnusedLocalVariable | Avoid unused local variables such as 'resultOffset'. | 198 |
| UnusedLocalVariable | Avoid unused local variables such as 'resultLimit'. | 199 |
Opencast :: oaipmh - org/opencastproject/oaipmh/server/OaiPmhRepository.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 21–775 |
| UselessQualifiedThis | Useless qualified this usage in the same class. | 291 |
Opencast :: oaipmh - org/opencastproject/oaipmh/server/OaiPmhServer.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 21–285 |
Opencast :: oaipmh - org/opencastproject/oaipmh/server/OaiXmlGen.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 21–220 |
Opencast :: playlists - org/opencastproject/playlists/PlaylistRestService.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 21–659 |
Opencast :: playlists - org/opencastproject/playlists/PlaylistService.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 203–206 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 211–214 |
Opencast :: publication-service-configurable - org/opencastproject/publication/configurable/ConfigurablePublicationServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| UselessOverridingMethod | Overriding method merely calls super | 71 |
| UselessOverridingMethod | Overriding method merely calls super | 80 |
Opencast :: publication-service-oaipmh - org/opencastproject/publication/oaipmh/OaiPmhPublicationServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 650–653 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 800–805 |
| EmptyControlStatement | Empty if statement | 995–997 |
Opencast :: rename-files-workflowoperation - org/opencastproject/workflow/handler/rename/RenameFilesWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| UnusedLocalVariable | Avoid unused local variables such as 'extension'. | 131 |
Opencast :: rest-test-environment - org/opencastproject/test/rest/RestServiceTestEnv.java
| Rule | Violation | Line |
|---|---|---|
| AvoidUsingHardCodedIP | Do not hard code the IP address ${variableName} | 133 |
Opencast :: runtime-info - org/opencastproject/runtimeinfo/rest/RestEndpointData.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 294–312 |
Opencast :: runtime-info - org/opencastproject/runtimeinfo/rest/RestParamData.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 39 |
Opencast :: scheduler-impl - org/opencastproject/scheduler/endpoint/SchedulerRestService.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–2041 |
Opencast :: scheduler-impl - org/opencastproject/scheduler/impl/CaptureNowProlongingService.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 236–237 |
Opencast :: scheduler-impl - org/opencastproject/scheduler/impl/SchedulerServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 21–1824 |
| EmptyCatchBlock | Avoid empty catch blocks | 323 |
Opencast :: scheduler-remote - org/opencastproject/scheduler/remote/SchedulerServiceRemoteImpl.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–919 |
| UnnecessaryReturn | Unnecessary return statement | 136 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 540–545 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 737–742 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 877–890 |
Opencast :: search-service-impl - org/opencastproject/search/endpoint/SearchRestService.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–588 |
Opencast :: search-service-impl - org/opencastproject/search/impl/SearchServiceIndex.java
| Rule | Violation | Line |
|---|---|---|
| UselessPureMethodCall | Do not call pure method getAndIncrement if the result is not used. | 540 |
Opencast :: search-service-impl - org/opencastproject/search/impl/persistence/SearchServiceDatabaseImpl.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–554 |
Opencast :: security-aai - org/opencastproject/security/aai/DynamicLoginHandler.java
| Rule | Violation | Line |
|---|---|---|
| UnusedFormalParameter | Avoid unused method parameters such as 'id'. | 216 |
Opencast :: series-service-impl - org/opencastproject/series/endpoint/SeriesRestService.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–1370 |
Opencast :: series-service-impl - org/opencastproject/series/impl/SeriesServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–876 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 195–198 |
| EmptyCatchBlock | Avoid empty catch blocks | 597 |
Opencast :: series-service-remote - org/opencastproject/series/remote/SeriesServiceRemoteImpl.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–703 |
Opencast :: serviceregistry - org/opencastproject/serviceregistry/impl/AbstractIncidentService.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 118–119 |
Opencast :: serviceregistry - org/opencastproject/serviceregistry/impl/IncidentDto.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–174 |
Opencast :: serviceregistry - org/opencastproject/serviceregistry/impl/JobDispatcher.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 396–398 |
| EmptyCatchBlock | Avoid empty catch blocks | 564–566 |
| UnusedPrivateField | Avoid unused private fields such as 'toHostRegistration'. | 620 |
| UnusedPrivateField | Avoid unused private fields such as 'toMaxLoad'. | 627 |
| UnusedPrivateField | Avoid unused private fields such as 'sortFloatValuesDesc'. | 634 |
Opencast :: serviceregistry - org/opencastproject/serviceregistry/impl/ServiceRegistryJpaImpl.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–2673 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 2227–2232 |
Opencast :: serviceregistry - org/opencastproject/serviceregistry/impl/endpoint/IncidentServiceEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–360 |
Opencast :: serviceregistry - org/opencastproject/serviceregistry/impl/endpoint/ServiceRegistryEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–769 |
Opencast :: smil-impl - org/opencastproject/smil/entity/SmilObjectImpl.java
| Rule | Violation | Line |
|---|---|---|
| UnusedPrivateMethod | Avoid unused private methods such as 'setId(String)'. | 73 |
Opencast :: smil-impl - org/opencastproject/smil/impl/SmilResponseImpl.java
| Rule | Violation | Line |
|---|---|---|
| UnusedPrivateMethod | Avoid unused private methods such as 'setSmil(Smil)'. | 117 |
| UnusedPrivateMethod | Avoid unused private methods such as 'getResponseEntities()'. | 211 |
| UnusedPrivateMethod | Avoid unused private methods such as 'setResponseEntities(SmilResponseEntity<SmilObject>[])'. | 224 |
| UnusedPrivateMethod | Avoid unused private methods such as 'setEntity(SmilObject)'. | 253 |
Opencast :: static-file-service-impl - org/opencastproject/staticfiles/impl/StaticFileServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 257 |
Opencast :: static - org/opencastproject/fsresources/StaticResourceServlet.java
| Rule | Violation | Line |
|---|---|---|
| CheckSkipResult | Check the value returned by the skip() method of an InputStream to see if the requested number of bytes has been skipped. | 472 |
Opencast :: statistics-export-service-impl - org/opencastproject/statistics/export/impl/StatisticsExportServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| UnusedFormalParameter | Avoid unused method parameters such as 'limit'. | 311 |
| UnusedFormalParameter | Avoid unused method parameters such as 'limit'. | 332 |
| UnusedFormalParameter | Avoid unused method parameters such as 'limit'. | 399 |
Opencast :: subtitle-parser - org/opencastproject/subtitleparser/webvttparser/WebVTTParser.java
| Rule | Violation | Line |
|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'WEBVTT_METADATA_HEADER'. | 46 |
| EmptyControlStatement | Empty while statement | 127–129 |
Opencast :: termination-state-api - org/opencastproject/terminationstate/api/TerminationStateService.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 44 |
Opencast :: termination-state-aws - org/opencastproject/terminationstate/aws/AutoScalingTerminationStateService.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 316–318 |
| EmptyCatchBlock | Avoid empty catch blocks | 368–370 |
Opencast :: termination-state-impl - org/opencastproject/terminationstate/impl/TerminationStateServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 140–142 |
Opencast :: textanalyzer-impl - org/opencastproject/textanalyzer/impl/TextAnalyzerServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 95 |
Opencast :: themes-workflowoperation - org/opencastproject/workflow/handler/themes/ThemeWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 266–274 |
| EmptyControlStatement | Empty else statement | 289–291 |
Opencast :: timelinepreviews-ffmpeg - org/opencastproject/timelinepreviews/ffmpeg/TimelinePreviewsServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 91 |
| EmptyCatchBlock | Avoid empty catch blocks | 435–437 |
Opencast :: timelinepreviews-workflowoperation - org/opencastproject/workflow/handler/timelinepreviews/TimelinePreviewsWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 282–284 |
Opencast :: transcription-service-amberscript - org/opencastproject/transcription/amberscript/AmberscriptTranscriptionService.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 702–703 |
| EmptyCatchBlock | Avoid empty catch blocks | 772–773 |
| EmptyCatchBlock | Avoid empty catch blocks | 818–819 |
Opencast :: transcription-service-google-speech-impl - org/opencastproject/transcription/googlespeech/GoogleSpeechTranscriptionService.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 579–580 |
| EmptyCatchBlock | Avoid empty catch blocks | 668–669 |
| EmptyCatchBlock | Avoid empty catch blocks | 718–719 |
| EmptyCatchBlock | Avoid empty catch blocks | 850–851 |
Opencast :: transcription-service-google-speech-impl - org/opencastproject/transcription/googlespeech/GoogleSpeechTranscriptionServiceStorage.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 123–124 |
| EmptyCatchBlock | Avoid empty catch blocks | 169–170 |
Opencast :: transcription-service-ibm-watson-impl - org/opencastproject/transcription/ibmwatson/IBMWatsonTranscriptionService.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 307–309 |
| EmptyCatchBlock | Avoid empty catch blocks | 329–331 |
| EmptyCatchBlock | Avoid empty catch blocks | 339–341 |
| EmptyCatchBlock | Avoid empty catch blocks | 587–588 |
| EmptyCatchBlock | Avoid empty catch blocks | 688–689 |
| EmptyCatchBlock | Avoid empty catch blocks | 767–768 |
Opencast :: transcription-service-microsoft-azure - org/opencastproject/transcription/microsoft/azure/MicrosoftAzureAuthorization.java
| Rule | Violation | Line |
|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'logger'. | 46 |
Opencast :: transcription-service-microsoft-azure - org/opencastproject/transcription/microsoft/azure/MicrosoftAzureSpeechServicesClient.java
| Rule | Violation | Line |
|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'logger'. | 60 |
Opencast :: transcription-service-microsoft-azure - org/opencastproject/transcription/microsoft/azure/MicrosoftAzureStorageClient.java
| Rule | Violation | Line |
|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'logger'. | 56 |
Opencast :: transcription-service-microsoft-azure - org/opencastproject/transcription/microsoft/azure/MicrosoftAzureTranscriptionService.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 348–351 |
| EmptyCatchBlock | Avoid empty catch blocks | 365–368 |
Opencast :: transcription-service-persistence - org/opencastproject/transcription/persistence/TranscriptionDatabaseImpl.java
| Rule | Violation | Line |
|---|---|---|
| UnusedLocalVariable | Avoid unused local variables such as 'dto'. | 184 |
Opencast :: transcription-service-workflowoperation - org/opencastproject/transcription/workflowoperation/MicrosoftAzureStartTranscriptionOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 217–219 |
Opencast :: urlsigning-common - org/opencastproject/urlsigning/common/ResourceRequest.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 29 |
Opencast :: urlsigning-common - org/opencastproject/urlsigning/utils/PolicyUtils.java
| Rule | Violation | Line |
|---|---|---|
| PrimitiveWrapperInstantiation | Do not use `new Long(...)`, prefer `Long.valueOf(...)` | 125 |
| PrimitiveWrapperInstantiation | Do not use `new Long(...)`, prefer `Long.valueOf(...)` | 127 |
Opencast :: urlsigning-service-api - org/opencastproject/security/urlsigning/exception/UrlSigningException.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 32 |
Opencast :: urlsigning-verifier-service-impl - org/opencastproject/security/urlsigning/filter/UrlSigningFilter.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryReturn | Unnecessary return statement | 183 |
| UnnecessaryReturn | Unnecessary return statement | 193 |
Opencast :: userdirectory-brightspace - org/opencastproject/userdirectory/brightspace/BrightspaceUserProviderFactory.java
| Rule | Violation | Line |
|---|---|---|
| UnusedLocalVariable | Avoid unused local variables such as 'adminUserName'. | 149 |
Opencast :: userdirectory-brightspace - org/opencastproject/userdirectory/brightspace/BrightspaceUserProviderInstance.java
| Rule | Violation | Line |
|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'LTI_LEARNER_ROLE'. | 68 |
Opencast :: userdirectory-canvas - org/opencastproject/userdirectory/canvas/CanvasUserRoleProvider.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 347–349 |
| EmptyCatchBlock | Avoid empty catch blocks | 367–369 |
| EmptyCatchBlock | Avoid empty catch blocks | 409–411 |
Opencast :: userdirectory - org/opencastproject/userdirectory/UserIdRoleProvider.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 112 |
| UnnecessarySemicolon | Unnecessary semicolon | 116 |
Opencast :: userdirectory - org/opencastproject/userdirectory/endpoint/GroupRoleEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–376 |
Opencast :: userdirectory - org/opencastproject/userdirectory/endpoint/UserEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–438 |
Opencast :: videoeditor-workflowoperation - org/opencastproject/workflow/handler/videoeditor/VideoEditorWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 410–413 |
Opencast :: videogrid-service-impl - org/opencastproject/videogrid/impl/VideoGridServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 205–207 |
Opencast :: videogrid-workflowoperation - org/opencastproject/workflow/handler/videogrid/VideoGridWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| UnusedPrivateMethod | Avoid unused private methods such as 'getTrackPath(Track)'. | 998 |
Opencast :: videosegmenter-ffmpeg - org/opencastproject/videosegmenter/ffmpeg/VideoSegmenterServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 109 |
| UnnecessarySemicolon | Unnecessary semicolon | 115 |
| EmptyControlStatement | Empty if statement | 554–706 |
| UnusedLocalVariable | Avoid unused local variables such as 'currentSegEnd'. | 1169 |
Opencast :: waveform-ffmpeg - org/opencastproject/waveform/ffmpeg/WaveformServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 142 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 205–211 |
| EmptyCatchBlock | Avoid empty catch blocks | 386–388 |
Opencast :: workflow-service-api - org/opencastproject/workflow/api/AbstractWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'logger'. | 63 |
| UnnecessarySemicolon | Unnecessary semicolon | 80 |
Opencast :: workflow-service-impl - org/opencastproject/workflow/endpoint/WorkflowRestService.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–864 |
Opencast :: workflow-service-impl - org/opencastproject/workflow/impl/WorkflowOperationWorker.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 127–129 |
Opencast :: workflow-service-impl - org/opencastproject/workflow/impl/WorkflowServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–2415 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 760–763 |
| EmptyCatchBlock | Avoid empty catch blocks | 914–916 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1047–1050 |
| EmptyCatchBlock | Avoid empty catch blocks | 1188–1190 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1631–1633 |
| EmptyCatchBlock | Avoid empty catch blocks | 2272–2274 |
Opencast :: workflow-service-remote - org/opencastproject/workflow/remote/WorkflowServiceRemoteImpl.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–676 |
Opencast :: workflow-workflowoperation - org/opencastproject/workflow/handler/workflow/CleanupWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 189–191 |
| EmptyCatchBlock | Avoid empty catch blocks | 316–318 |
Opencast :: workflow-workflowoperation - org/opencastproject/workflow/handler/workflow/WebvttToCutMarksWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 302–304 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 317–319 |
Opencast :: workflow-workflowoperation - org/opencastproject/workflow/handler/workflow/ZipWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| SimplifiedTernary | This conditional expression can be simplified with || or && | 226 |
Opencast :: working-file-repository-service-impl - org/opencastproject/workingfilerepository/impl/WorkingFileRepositoryCleaner.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 127–128 |
Opencast :: working-file-repository-service-impl - org/opencastproject/workingfilerepository/impl/WorkingFileRepositoryImpl.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 577–579 |
| EmptyCatchBlock | Avoid empty catch blocks | 642–644 |
| EmptyCatchBlock | Avoid empty catch blocks | 865–867 |
Opencast :: working-file-repository-service-impl - org/opencastproject/workingfilerepository/impl/WorkingFileRepositoryRestEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–680 |
Opencast :: workspace-impl - org/opencastproject/workspace/impl/WorkspaceCleaner.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 120–121 |
Opencast :: workspace-impl - org/opencastproject/workspace/impl/WorkspaceImpl.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–998 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 369–389 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 409–419 |
Priority 4
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/AbstractEventEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 315 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 332 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 333 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 369 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 386 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 387 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 403 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 437 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 438 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 439 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 503 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 504 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 527 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 528 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Stream': '$' is already in scope | 533 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 590 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 591 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 613 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 614 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 703 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 704 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 711 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 712 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 768 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 769 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 794 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 795 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 984 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 985 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NO_CONTENT' is already in scope because it is imported in this file | 1047 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 1048 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 1118 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 1168 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1235 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 1236 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1309 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 1312 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1406 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 1407 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_INTERNAL_SERVER_ERROR' is already in scope because it is imported in this file | 1408 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 1409 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NO_CONTENT' is already in scope because it is imported in this file | 1478 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 1479 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 1481 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 1534 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 1535 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1574 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 1575 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 1576 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 1587 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NO_CONTENT' is already in scope because it is imported in this file | 1602 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_INTERNAL_SERVER_ERROR' is already in scope because it is imported in this file | 1606 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1668 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 1669 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1698 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 1699 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1714 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 1715 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1730 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 1731 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1746 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 1747 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1762 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 1763 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1778 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 1779 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1794 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 1795 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1810 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 1811 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1883 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 1884 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 1896 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 1900 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 1919 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 1921 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 1921 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 1922 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 1923 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 1924 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 1935 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NO_CONTENT' is already in scope because it is imported in this file | 1945 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 1946 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 1994 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 2004 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 2005 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 2006 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 2037 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 2041 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 2042 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 2043 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 2044 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 2044 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 2045 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 2047 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 2048 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 2065 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 2066 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 2067 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 2091 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 2095 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 2096 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 2097 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 2098 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 2121 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 2122 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 2123 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 2155 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 2156 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 2159 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 2161 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 2162 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 2163 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 2164 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 2166 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 2167 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 2179 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 2180 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 2181 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 2212 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 2213 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 2214 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 2295 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 2296 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 2297 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'NULL' is already in scope because it is imported in this file | 2397 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NO_CONTENT' is already in scope because it is imported in this file | 2406 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 2408 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 2576 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 2704 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Stream': '$' is already in scope | 2956 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'nul' is already in scope | 2972 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 2985 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 2987 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 3033 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 3051 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 3077 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 3081 |
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/AclEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `AclsListQuery.FILTER_TEXT_NAME.equals(name)`. | 205 |
| UselessParentheses | Useless parentheses around `StringUtils.isNotBlank(value)`. | 205 |
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/CaptureAgentsEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `StringUtils.isEmpty(devices)`. | 288 |
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/JobEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `server.isPresent()`. | 205 |
| UselessParentheses | Useless parentheses around `job.getRootJobId() != null && !StringUtils.equa...`. | 221 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 286 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 290 |
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/SeriesEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 317 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 601 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 677 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 694 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 695 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Status': 'BAD_REQUEST' is already in scope because it is imported in this file | 698 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Status': 'BAD_REQUEST' is already in scope because it is imported in this file | 707 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Status': 'BAD_REQUEST' is already in scope because it is imported in this file | 710 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 893 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 925 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 926 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 989 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 990 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 1357 |
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/ThemesEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 200 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 283 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 284 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 297 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 298 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 326 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 333 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 334 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 335 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 336 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 337 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 338 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 339 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 340 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 357 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 358 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 359 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 360 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 360 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 361 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 362 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 363 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 363 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RestUtils': 'okJson' is already in scope | 377 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 388 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 395 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 396 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 397 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 398 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 399 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 400 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 401 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 402 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 454 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 455 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 456 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 457 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 457 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 458 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 459 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 460 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 460 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RestUtils': 'okJson' is already in scope | 473 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isNotBlank' is already in scope | 599 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isNotBlank' is already in scope | 613 |
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/UserSettingsEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `Response.serverError().build()`. | 136 |
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/UsersEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `UsersListQuery.FILTER_TEXT_NAME.equals(name)`. | 231 |
| UselessParentheses | Useless parentheses around `StringUtils.isNotBlank(value)`. | 231 |
Opencast :: admin-ui - org/opencastproject/adminui/util/BulkUpdateUtil.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `(String) result.get("weekday")`. | 139 |
Opencast :: adopter-registration-impl - org/opencastproject/adopter/registration/AdopterRegistrationRestService.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 101 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 116 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 230 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 248 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 268 |
Opencast :: asset-manager-impl - org/opencastproject/assetmanager/impl/AssetManagerImpl.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Prelude': 'chuck' is already in scope | 483 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Enrichments': 'enrich' is already in scope | 586 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Enrichments': 'enrich' is already in scope | 599 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Enrichments': 'enrich' is already in scope | 608 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Enrichments': 'enrich' is already in scope | 617 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Enrichments': 'enrich' is already in scope | 626 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Enrichments': 'enrich' is already in scope | 636 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Enrichments': 'enrich' is already in scope | 651 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Enrichments': 'enrich' is already in scope | 687 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Enrichments': 'enrich' is already in scope | 714 |
| UselessParentheses | Useless parentheses around `originalOrg != null ? securityService.getUser()...`. | 913 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 1242 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 1581 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 1595 |
Opencast :: asset-manager-impl - org/opencastproject/assetmanager/impl/endpoint/AbstractAssetManagerRestEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 211 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AssetManager': 'DEFAULT_OWNER' is already in scope because it is imported in this file | 234 |
Opencast :: asset-manager-impl - org/opencastproject/assetmanager/impl/persistence/AssetDto.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `"checksum"`. | 41 |
| UselessParentheses | Useless parentheses around `"mediapackage_element_id"`. | 42 |
Opencast :: asset-manager-impl - org/opencastproject/assetmanager/impl/persistence/PropertyDto.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `"val_date"`. | 52 |
| UselessParentheses | Useless parentheses around `"val_long"`. | 53 |
| UselessParentheses | Useless parentheses around `"val_string"`. | 54 |
| UselessParentheses | Useless parentheses around `"val_bool"`. | 55 |
| UselessParentheses | Useless parentheses around `"mediapackage_id"`. | 56 |
| UselessParentheses | Useless parentheses around `"namespace"`. | 57 |
| UselessParentheses | Useless parentheses around `"property_name"`. | 58 |
Opencast :: asset-manager-impl - org/opencastproject/assetmanager/impl/persistence/SnapshotDto.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `"archival_date"`. | 65 |
| UselessParentheses | Useless parentheses around `"mediapackage_id"`. | 66 |
| UselessParentheses | Useless parentheses around `"organization_id"`. | 67 |
| UselessParentheses | Useless parentheses around `"owner"`. | 68 |
| UselessParentheses | Useless parentheses around `"series_id, version"`. | 69 |
Opencast :: asset-manager-storage-aws - org/opencastproject/assetmanager/aws/AwsAbstractArchive.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `map != null`. | 130 |
Opencast :: asset-manager-storage-aws - org/opencastproject/assetmanager/aws/persistence/AwsAssetMappingDto.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `"object_key"`. | 58 |
Opencast :: asset-manager-storage-aws - org/opencastproject/assetmanager/aws/s3/AwsS3AssetStore.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AssetStore': 'STORE_TYPE_PROPERTY' is already in scope because it is inherited by an enclosing type | 183 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AssetStore': 'STORE_TYPE_PROPERTY' is already in scope because it is inherited by an enclosing type | 187 |
Opencast :: asset-manager-storage-fs - org/opencastproject/assetmanager/storage/impl/fs/OsgiFileSystemAssetStore.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AssetStore': 'STORE_TYPE_PROPERTY' is already in scope because it is inherited by an enclosing type | 199 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AssetStore': 'STORE_TYPE_PROPERTY' is already in scope because it is inherited by an enclosing type | 200 |
Opencast :: authorization-manager - org/opencastproject/authorization/xacml/manager/impl/AclServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `oldName.get().getName().equals(acl.getName())`. | 86 |
Opencast :: authorization-manager - org/opencastproject/authorization/xacml/manager/impl/persistence/JpaAclDb.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ManagedAclEntity': 'findByIdAndOrgQuery' is already in scope | 86 |
Opencast :: authorization-xacml - org/opencastproject/authorization/xacml/XACMLAuthorizationService.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Tuple': 'tuple' is already in scope | 293 |
Opencast :: authorization-xacml - org/opencastproject/authorization/xacml/XACMLUtils.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'jBossXacmlJaxbContext' is already in scope because it is declared in an enclosing type | 88 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'jBossXacmlJaxbContext' is already in scope because it is declared in an enclosing type | 119 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'RULE_COMBINING_ALG' is already in scope because it is declared in an enclosing type | 184 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'XACML_STRING_EQUAL' is already in scope because it is declared in an enclosing type | 191 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'W3C_STRING' is already in scope because it is declared in an enclosing type | 193 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'RESOURCE_IDENTIFIER' is already in scope because it is declared in an enclosing type | 196 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'W3C_STRING' is already in scope because it is declared in an enclosing type | 197 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'XACML_STRING_EQUAL' is already in scope because it is declared in an enclosing type | 223 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'W3C_STRING' is already in scope because it is declared in an enclosing type | 225 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'ACTION_IDENTIFIER' is already in scope because it is declared in an enclosing type | 228 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'W3C_STRING' is already in scope because it is declared in an enclosing type | 229 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'XACML_STRING_IS_IN' is already in scope because it is declared in an enclosing type | 241 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'W3C_STRING' is already in scope because it is declared in an enclosing type | 244 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'W3C_STRING' is already in scope because it is declared in an enclosing type | 248 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'SUBJECT_ROLE_IDENTIFIER' is already in scope because it is declared in an enclosing type | 249 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'jBossXacmlJaxbContext' is already in scope because it is declared in an enclosing type | 266 |
Opencast :: caption-impl - org/opencastproject/caption/converters/GoogleSpeechCaptionConverter.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `wordTSList.get("startTime").toString()`. | 127 |
| UselessParentheses | Useless parentheses around `wordTSList.get("endTime").toString()`. | 133 |
| UselessParentheses | Useless parentheses around `ms % 3600000L`. | 184 |
| UselessParentheses | Useless parentheses around `ms % 60000L`. | 185 |
Opencast :: caption-impl - org/opencastproject/caption/converters/IBMWatsonCaptionConverter.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `wordTsArray.get(1).toString()`. | 125 |
| UselessParentheses | Useless parentheses around `wordTsArray.get(2).toString()`. | 130 |
| UselessParentheses | Useless parentheses around `ms % 3600000L`. | 181 |
| UselessParentheses | Useless parentheses around `ms % 60000L`. | 182 |
Opencast :: capture-admin-service-impl - org/opencastproject/capture/admin/endpoint/CaptureAgentStateRestService.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'javax.ws.rs.core': 'Response' is already in scope because it is imported in this file | 203 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'javax.ws.rs.core': 'Response' is already in scope because it is imported in this file | 369 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'javax.ws.rs.core': 'Response' is already in scope because it is imported in this file | 389 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 440 |
Opencast :: capture-admin-service-impl - org/opencastproject/capture/admin/impl/CaptureAgentStateServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 262 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 264 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AgentState': 'UNKNOWN' is already in scope because it is imported in this file | 283 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AgentState': 'UNKNOWN' is already in scope because it is imported in this file | 332 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 467 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AgentState': 'UNKNOWN' is already in scope because it is imported in this file | 529 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AgentState': 'UNKNOWN' is already in scope because it is imported in this file | 585 |
Opencast :: comments-workflowoperation - org/opencastproject/workflow/handler/comments/CommentWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `new Date().getTime()`. | 136 |
Opencast :: common-jpa-impl - org/opencastproject/job/jpa/JpaJob.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `"parent"`. | 73 |
| UselessParentheses | Useless parentheses around `"root"`. | 74 |
| UselessParentheses | Useless parentheses around `"creator_service"`. | 75 |
| UselessParentheses | Useless parentheses around `"processor_service"`. | 76 |
| UselessParentheses | Useless parentheses around `"status"`. | 77 |
| UselessParentheses | Useless parentheses around `"date_created"`. | 78 |
| UselessParentheses | Useless parentheses around `"date_completed"`. | 79 |
| UselessParentheses | Useless parentheses around `"dispatchable"`. | 80 |
| UselessParentheses | Useless parentheses around `"operation"`. | 81 |
| UselessParentheses | Useless parentheses around `"id"`. | 190 |
Opencast :: common-jpa-impl - org/opencastproject/security/impl/jpa/JpaOrganization.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `"organization"`. | 85 |
| UselessParentheses | Useless parentheses around `"name"`. | 86 |
| UselessParentheses | Useless parentheses around `"port"`. | 87 |
Opencast :: common-jpa-impl - org/opencastproject/serviceregistry/impl/jpa/HostRegistrationJpaImpl.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `"online"`. | 46 |
| UselessParentheses | Useless parentheses around `"active"`. | 47 |
Opencast :: common-jpa-impl - org/opencastproject/serviceregistry/impl/jpa/ServiceRegistrationJpaImpl.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `"service_type"`. | 58 |
| UselessParentheses | Useless parentheses around `"service_state"`. | 59 |
| UselessParentheses | Useless parentheses around `"active"`. | 60 |
| UselessParentheses | Useless parentheses around `"host_registration"`. | 61 |
Opencast :: common - org/opencastproject/job/api/JobBarrier.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Thread': 'sleep' is already in scope | 284 |
Opencast :: common - org/opencastproject/mediapackage/AdaptivePlaylist.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `br.lines().map(l -> { ... }).collect(Collectors...`. | 168–175 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AdaptivePlaylist': 'isPlaylist' is already in scope | 429 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AdaptivePlaylist': 'isPlaylist' is already in scope | 438 |
| UselessParentheses | Useless parentheses around `e`. | 498 |
Opencast :: common - org/opencastproject/mediapackage/EName.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'EName': 'fromString' is already in scope | 214 |
Opencast :: common - org/opencastproject/mediapackage/MediaPackageImpl.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `elements.contains(element)`. | 423 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MediaPackageImpl': 'valueOf' is already in scope | 1077 |
Opencast :: common - org/opencastproject/mediapackage/MediaPackageReferenceImpl.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MediaPackageReference': 'TYPE_MEDIAPACKAGE' is already in scope because it is inherited by an enclosing type | 130 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MediaPackageReferenceImpl': 'fromString' is already in scope | 300 |
Opencast :: common - org/opencastproject/mediapackage/MediaPackageSupport.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.util': 'Collections' is already in scope because it is imported in this file | 53 |
Opencast :: common - org/opencastproject/mediapackage/track/AbstractStreamImpl.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `(String) xpath.evaluate("encoder/@type", node...)`. | 177 |
| UselessParentheses | Useless parentheses around `(String) xpath.evaluate("encoder/@version", nod...`. | 178 |
| UselessParentheses | Useless parentheses around `(String) xpath.evaluate("encoder/@vendor", node...`. | 179 |
Opencast :: common - org/opencastproject/mediapackage/track/TrackImpl.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Track': 'TYPE' is already in scope because it is inherited by an enclosing type | 97 |
Opencast :: common - org/opencastproject/rest/RestConstants.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RestConstants': 'SERVICE_PATH_PROPERTY' is already in scope because it is declared in an enclosing type | 46 |
Opencast :: common - org/opencastproject/security/api/DefaultOrganization.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DefaultOrganization': 'DEFAULT_ORGANIZATION_ID' is already in scope because it is declared in an enclosing type | 66 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DefaultOrganization': 'DEFAULT_ORGANIZATION_NAME' is already in scope because it is declared in an enclosing type | 66 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DefaultOrganization': 'DEFAULT_ORGANIZATION_ADMIN' is already in scope because it is declared in an enclosing type | 67 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DefaultOrganization': 'DEFAULT_ORGANIZATION_ANONYMOUS' is already in scope because it is declared in an enclosing type | 67 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DefaultOrganization': 'DEFAULT_ORGANIZATION_ID' is already in scope because it is declared in an enclosing type | 72 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DefaultOrganization': 'DEFAULT_ORGANIZATION_NAME' is already in scope because it is declared in an enclosing type | 72 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DefaultOrganization': 'DEFAULT_ORGANIZATION_ADMIN' is already in scope because it is declared in an enclosing type | 74 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DefaultOrganization': 'DEFAULT_ORGANIZATION_ANONYMOUS' is already in scope because it is declared in an enclosing type | 74 |
Opencast :: common - org/opencastproject/security/util/SecurityUtil.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SecurityConstants': 'GLOBAL_ADMIN_ROLE' is already in scope because it is imported in this file | 181 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SecurityUtil': 'getCaptureAgentRole' is already in scope | 184 |
Opencast :: common - org/opencastproject/util/Checksum.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `halfbyte - 10`. | 113 |
Opencast :: common - org/opencastproject/util/ChecksumType.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ChecksumType': 'fromString' is already in scope | 152 |
Opencast :: common - org/opencastproject/util/FileSupport.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `!aCanonical.equals(bCanonical) && bCanonical.st...`. | 383 |
Opencast :: common - org/opencastproject/util/IoSupport.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'IoSupport': 'closeQuietly' is already in scope | 283 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'IoSupport': 'closeQuietly' is already in scope | 294 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Option': 'some' is already in scope | 321 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Option': 'none' is already in scope | 323 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Option': 'none' is already in scope | 326 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'IoSupport': 'closeQuietly' is already in scope | 371 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'IoSupport': 'closeQuietly' is already in scope | 398 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'IoSupport': 'closeQuietly' is already in scope | 421 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'IoSupport': 'closeQuietly' is already in scope | 435 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'IoSupport': 'closeQuietly' is already in scope | 511 |
Opencast :: common - org/opencastproject/util/MimeTypes.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 100 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 101 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 102 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 103 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 104 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 105 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 106 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 107 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 108 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 109 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 110 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 111 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 112 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 113 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 114 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 115 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 116 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 117 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 118 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'fromString' is already in scope | 238 |
Opencast :: common - org/opencastproject/util/XmlUtil.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XmlUtil': 'toXml' is already in scope | 116 |
Opencast :: common - org/opencastproject/util/ZipUtil.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `e`. | 274 |
Opencast :: common - org/opencastproject/util/data/Monadics.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Monadics': 'emptyIter' is already in scope | 700 |
Opencast :: common - org/opencastproject/util/data/functions/Misc.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `(Object) ((Number) v).intValue()`. | 67 |
| UselessParentheses | Useless parentheses around `((Number) v).intValue()`. | 67 |
| UselessParentheses | Useless parentheses around `(Object) ((Number) v).longValue()`. | 69 |
| UselessParentheses | Useless parentheses around `((Number) v).longValue()`. | 69 |
| UselessParentheses | Useless parentheses around `(Object) ((Number) v).doubleValue()`. | 71 |
| UselessParentheses | Useless parentheses around `((Number) v).doubleValue()`. | 71 |
| UselessParentheses | Useless parentheses around `(Object) ((Number) v).floatValue()`. | 73 |
| UselessParentheses | Useless parentheses around `((Number) v).floatValue()`. | 73 |
| UselessParentheses | Useless parentheses around `(Object) ((Number) v).shortValue()`. | 75 |
| UselessParentheses | Useless parentheses around `((Number) v).shortValue()`. | 75 |
| UselessParentheses | Useless parentheses around `(Object) ((Number) v).byteValue()`. | 77 |
| UselessParentheses | Useless parentheses around `((Number) v).byteValue()`. | 77 |
Opencast :: composer-ffmpeg - org/opencastproject/composer/impl/ComposerServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 351 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 355 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 411 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 417 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 431 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 435 |
| UselessParentheses | Useless parentheses around `stream -> stream instanceof VideoStream`. | 505 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Tuple': 'tuple' is already in scope | 711 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Tuple': 'tuple' is already in scope | 711 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Option': 'none' is already in scope | 803 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ComposerService': 'BOTH' is already in scope because it is inherited by an enclosing type | 880 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ComposerService': 'UPPER' is already in scope because it is inherited by an enclosing type | 883 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ComposerService': 'LOWER' is already in scope because it is inherited by an enclosing type | 885 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 990 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 1121 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Option': 'none' is already in scope | 1583 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Option': 'none' is already in scope | 1597 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Option': 'some' is already in scope | 1602 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 1692 |
| UselessParentheses | Useless parentheses around `'a' + i + 1 - ((characterCount - 1) * 25)`. | 1822 |
| UselessParentheses | Useless parentheses around `'a' + i + 1 - ((characterCount - 1) * 25)`. | 1846 |
| UselessParentheses | Useless parentheses around `serviceRegistry.createJob(JOB_TYPE, Operation.P...`. | 2219 |
| UselessParentheses | Useless parentheses around `profiles`. | 2247 |
| UselessParentheses | Useless parentheses around `(SmilMediaParamGroup) smil.get(trackParamGroupId)`. | 2271 |
Opencast :: composer-ffmpeg - org/opencastproject/composer/impl/EncoderEngine.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `al`. | 517 |
| UselessParentheses | Useless parentheses around `hasVideo ? videoOut : null`. | 1295 |
| UselessParentheses | Useless parentheses around `hasAudio ? audioOut : null`. | 1296 |
Opencast :: composer-ffmpeg - org/opencastproject/composer/impl/endpoint/ComposerRestService.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 211 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 252 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 295 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 354 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 355 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 356 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 424 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 486 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 550 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 551 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 552 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 553 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 554 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 555 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 556 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 557 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 630 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 635 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 693 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 744 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 784 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 828 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 864 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 906 |
Opencast :: composer-workflowoperation - org/opencastproject/workflow/handler/composer/ConcatWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `new File(left.getURI().getPath())`. | 251 |
| UselessParentheses | Useless parentheses around `new File(right.getURI().getPath())`. | 252 |
| UselessParentheses | Useless parentheses around `l.compareTo(r)`. | 253 |
Opencast :: composer-workflowoperation - org/opencastproject/workflow/handler/composer/DemuxWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `new MediaPackageElementFlavor(flavorType, flavo...`. | 264 |
Opencast :: composer-workflowoperation - org/opencastproject/workflow/handler/composer/ImageWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `(double) durationMs - endMarginMs`. | 368 |
Opencast :: composer-workflowoperation - org/opencastproject/workflow/handler/composer/MultiEncodeWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `targetTags.length != 1 && sourceTags.length != ...`. | 224 |
| UselessParentheses | Useless parentheses around `sourceTags.length != 1 && sourceFlavors.length ...`. | 234 |
| UselessParentheses | Useless parentheses around `targetFlavors.length != 1 && sourceFlavors.leng...`. | 244 |
| UselessParentheses | Useless parentheses around `profiles.length != 1 && sourceFlavors.length !=...`. | 257 |
| UselessParentheses | Useless parentheses around `new MediaPackageElementFlavor(flavorType, flavo...`. | 511 |
Opencast :: composer-workflowoperation - org/opencastproject/workflow/handler/composer/PartialImportWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `trackDimension.getB().getWidth() / 2`. | 681 |
| UselessParentheses | Useless parentheses around `trackDimension.getB().getHeight() / 2`. | 681–682 |
Opencast :: composer-workflowoperation - org/opencastproject/workflow/handler/composer/PrepareAVWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `QUESTION_MARK.equals(flavor.getType())`. | 371 |
| UselessParentheses | Useless parentheses around `QUESTION_MARK.equals(flavor.getSubtype())`. | 372 |
Opencast :: composer-workflowoperation - org/opencastproject/workflow/handler/composer/ProcessSmilWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `options`. | 252 |
| UselessParentheses | Useless parentheses around `(trackFlavor.getType().equals(sourceFlavor.getT...`. | 611–615 |
Opencast :: distribution-service-streaming-wowza - org/opencastproject/distribution/streaming/wowza/WowzaStreamingDistributionService.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 267 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 268 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 275 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 282 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 432 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RequireUtil': 'notNull' is already in scope | 806 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RequireUtil': 'notNull' is already in scope | 807 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RequireUtil': 'notNull' is already in scope | 808 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 832 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 859 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 1115 |
Opencast :: distribution-workflowoperation - org/opencastproject/workflow/handler/distribution/ConfigurablePublishWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `downloadDistributionService != null`. | 151 |
| UselessParentheses | Useless parentheses around `streamingDistributionService != null`. | 157 |
| UselessParentheses | Useless parentheses around `"fail"`. | 245 |
| UselessParentheses | Useless parentheses around `"merge"`. | 249 |
| UselessParentheses | Useless parentheses around `streaming ? "streaming" : "download"`. | 329 |
Opencast :: distribution-workflowoperation - org/opencastproject/workflow/handler/distribution/ConfigurableRetractWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `downloadDistributionService != null`. | 78 |
| UselessParentheses | Useless parentheses around `streamingDistributionService != null`. | 84 |
| UselessParentheses | Useless parentheses around `channelId`. | 103 |
Opencast :: distribution-workflowoperation - org/opencastproject/workflow/handler/distribution/ConfigurableWorkflowOperationHandlerBase.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `(publication != null) && (mp != null)`. | 70 |
| UselessParentheses | Useless parentheses around `(channelId != null) && (publication != null) &&...`. | 101 |
| UselessParentheses | Useless parentheses around `(mp != null) && (channelId != null)`. | 161 |
| UselessParentheses | Useless parentheses around `publications != null`. | 165 |
| UselessParentheses | Useless parentheses around `(mp != null) && (channelId != null)`. | 171 |
Opencast :: distribution-workflowoperation - org/opencastproject/workflow/handler/distribution/PublishEngageWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 406 |
Opencast :: dublincore - org/opencastproject/metadata/dublincore/DublinCoreCatalog.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `language.equals(lang)`. | 119 |
Opencast :: dublincore - org/opencastproject/metadata/dublincore/DublinCoreCatalogService.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DublinCore': 'PROPERTY_TEMPORAL' is already in scope because it is imported in this file | 113 |
Opencast :: dublincore - org/opencastproject/metadata/dublincore/DublinCoreJsonFormat.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DublinCore': 'LANGUAGE_UNDEFINED' is already in scope because it is imported in this file | 151 |
Opencast :: dublincore - org/opencastproject/metadata/dublincore/DublinCoreXmlFormat.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `mergeEntry.getEName()`. | 193 |
Opencast :: dublincore - org/opencastproject/metadata/dublincore/EncodingSchemeUtils.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.util': 'Date' is already in scope because it is imported in this file | 213 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.util': 'Date' is already in scope because it is imported in this file | 235 |
Opencast :: dublincore - org/opencastproject/metadata/dublincore/MetadataJson.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MetadataJson': 'fillCollectionFromJson' is already in scope | 456 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MetadataJson': 'collectionToJson' is already in scope | 474 |
Opencast :: editor-service-api - org/opencastproject/editor/api/EditorRestEndpointBase.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 237 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 239 |
Opencast :: editor-service-remote - org/opencastproject/editor/remote/EditorServiceRemoteImpl.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'EditorService': 'JOB_TYPE' is already in scope because it is inherited by an enclosing type | 72 |
Opencast :: editor-service - org/opencastproject/editor/EditorLock.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `null != getLockData(mediaPackage)`. | 77 |
Opencast :: editor-service - org/opencastproject/editor/EditorServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'EditorService': 'TARGET_FILE_NAME' is already in scope because it is inherited by an enclosing type | 515 |
Opencast :: elasticsearch-impl - org/opencastproject/elasticsearch/impl/AbstractElasticsearchQueryBuilder.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'IndexSchema': 'TEXT' is already in scope because it is imported in this file | 163 |
Opencast :: elasticsearch-impl - org/opencastproject/elasticsearch/impl/AbstractSearchQuery.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Quantifier': 'Any' is already in scope because it is imported in this file | 183 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Quantifier': 'Any' is already in scope because it is imported in this file | 191 |
Opencast :: elasticsearch-index - org/opencastproject/elasticsearch/index/objects/event/Comment.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'IndexObject': 'INDEX_XML_NAMESPACE' is already in scope because it is inherited by an enclosing type | 207 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Comment': 'context' is already in scope because it is declared in an enclosing type | 236 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Comment': 'context' is already in scope because it is declared in an enclosing type | 280 |
Opencast :: elasticsearch-index - org/opencastproject/elasticsearch/index/objects/event/Event.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'IndexObject': 'INDEX_XML_NAMESPACE' is already in scope because it is inherited by an enclosing type | 1171 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Event': 'context' is already in scope because it is declared in an enclosing type | 1200 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Event': 'context' is already in scope because it is declared in an enclosing type | 1244 |
Opencast :: elasticsearch-index - org/opencastproject/elasticsearch/index/objects/series/Series.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'IndexObject': 'INDEX_XML_NAMESPACE' is already in scope because it is inherited by an enclosing type | 617 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Series': 'context' is already in scope because it is declared in an enclosing type | 646 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Series': 'context' is already in scope because it is declared in an enclosing type | 690 |
Opencast :: elasticsearch-index - org/opencastproject/elasticsearch/index/objects/theme/IndexTheme.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'IndexTheme': 'context' is already in scope because it is declared in an enclosing type | 365 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'IndexTheme': 'valueOf' is already in scope | 385 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'IndexTheme': 'DOCUMENT_TYPE' is already in scope because it is declared in an enclosing type | 395 |
Opencast :: event-comment - org/opencastproject/event/comment/EventCommentParser.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XPathConstants': 'STRING' is already in scope because it is imported in this file | 105 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XPathConstants': 'STRING' is already in scope because it is imported in this file | 116 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XPathConstants': 'STRING' is already in scope because it is imported in this file | 122 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XPathConstants': 'STRING' is already in scope because it is imported in this file | 127 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XPathConstants': 'STRING' is already in scope because it is imported in this file | 163 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XPathConstants': 'STRING' is already in scope because it is imported in this file | 171 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XPathConstants': 'STRING' is already in scope because it is imported in this file | 176 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XPathConstants': 'STRING' is already in scope because it is imported in this file | 195 |
Opencast :: execute-impl - org/opencastproject/execute/impl/ExecuteServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ExecuteService': 'COLLECTION' is already in scope because it is inherited by an enclosing type | 502 |
Opencast :: execute-impl - org/opencastproject/execute/impl/endpoint/ExecuteRestEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'javax.ws.rs.core': 'Response' is already in scope because it is imported in this file | 198 |
Opencast :: execute-remote - org/opencastproject/execute/remote/ExecuteServiceRemoteImpl.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ExecuteService': 'ENDPOINT_NAME' is already in scope because it is inherited by an enclosing type | 97 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ExecuteService': 'ENDPOINT_NAME' is already in scope because it is inherited by an enclosing type | 142 |
Opencast :: external-api - org/opencastproject/external/endpoint/EventsEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 580 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 581 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 582 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 586 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ApiVersion': 'VERSION_1_1_0' is already in scope because it is imported in this file | 817 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ApiVersion': 'VERSION_1_1_0' is already in scope because it is imported in this file | 836 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 1120 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 1121 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 1123 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 1158 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'com.entwinemedia.fn.Stream': '$' is already in scope | 1190 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 1340 |
| UselessParentheses | Useless parentheses around `(includeInternalPublication != null && includeI...`. | 1701 |
| UselessParentheses | Useless parentheses around `!requestedVersion.isSmallerThan(VERSION_1_11_0)...`. | 1830 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 1970 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 1971 |
Opencast :: external-api - org/opencastproject/external/endpoint/GroupsEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 153 |
| UselessParentheses | Useless parentheses around `members1.size() - members2.size()`. | 265 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 273 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 274 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NO_CONTENT' is already in scope because it is imported in this file | 298 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 299 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_CREATED' is already in scope because it is imported in this file | 323 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 324 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NO_CONTENT' is already in scope because it is imported in this file | 398 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 399 |
Opencast :: external-api - org/opencastproject/external/endpoint/PlaylistsEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 155 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 156 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 195 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 285 |
Opencast :: external-api - org/opencastproject/external/endpoint/SeriesEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 215 |
| UselessParentheses | Useless parentheses around `withAcl != null && withAcl`. | 340 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 428 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'com.entwinemedia.fn.Stream': '$' is already in scope | 496 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 509 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 514 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 673 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 700 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 701 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 705 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 771 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 795 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 830 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 858 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 899 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 900 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 924 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 950 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 997 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 1022 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1062 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1103 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 1108 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 1470 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 1471 |
Opencast :: external-api - org/opencastproject/external/util/CaptureAgentUtils.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `StringUtils.isEmpty(devices)`. | 67 |
Opencast :: external-api - org/opencastproject/external/util/SchedulingUtils.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 409 |
Opencast :: graphql - org/opencastproject/graphql/directive/RolesAllowedWiring.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Duplicate parentheses around `(dataFetchingEnvironment, value) -> { ... }`. | 40–51 |
Opencast :: graphql - org/opencastproject/graphql/type/output/field/GqlBooleanMetadataField.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `metadataField.getValue()`. | 50 |
Opencast :: graphql - org/opencastproject/graphql/type/output/field/GqlIntMetadataField.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `metadataField.getValue()`. | 52 |
Opencast :: graphql - org/opencastproject/graphql/type/output/field/GqlListMetadataField.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryImport | Unused static import 'org.opencastproject.graphql.type.output.field.GqlListMetadataField.TYPE_NAME' | 24 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'GqlListMetadataField': 'TYPE_NAME' is already in scope because it is imported in this file | 34 |
| UselessParentheses | Useless parentheses around `metadataField.getValue()`. | 54 |
Opencast :: graphql - org/opencastproject/graphql/type/output/field/GqlLongMetadataField.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryImport | Unused static import 'org.opencastproject.graphql.type.output.field.GqlLongMetadataField.TYPE_NAME' | 24 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'GqlLongMetadataField': 'TYPE_NAME' is already in scope because it is imported in this file | 32 |
| UselessParentheses | Useless parentheses around `metadataField.getValue()`. | 52 |
Opencast :: graphql - org/opencastproject/graphql/type/output/field/GqlStringMetadataField.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryImport | Unused static import 'org.opencastproject.graphql.type.output.field.GqlStringMetadataField.TYPE_NAME' | 24 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'GqlStringMetadataField': 'TYPE_NAME' is already in scope because it is imported in this file | 32 |
| UselessParentheses | Useless parentheses around `metadataField.getValue()`. | 52 |
Opencast :: index-service - org/opencastproject/index/service/impl/IndexServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `(removedScheduler || notFoundScheduler) && (rem...`. | 1584–1585 |
Opencast :: index-service - org/opencastproject/index/service/resources/list/provider/UsersListProvider.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `(user != null) && (user.getUsername() != null)`. | 141 |
| UselessParentheses | Useless parentheses around `name != null`. | 148 |
Opencast :: index-service - org/opencastproject/index/service/util/RequestUtils.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.json.simple.parser': 'ParseException' is already in scope because it is imported in this file | 136 |
Opencast :: ingest-service-impl - org/opencastproject/ingest/impl/IngestServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `(String) properties.get(DOWNLOAD_USER)`. | 416 |
| UselessParentheses | Useless parentheses around `(String) properties.get(DOWNLOAD_SOURCE)`. | 417 |
| UselessParentheses | Useless parentheses around `(String) properties.get(SERIES_APPENDIX)`. | 442 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DublinCore': 'PROPERTY_IDENTIFIER' is already in scope because it is imported in this file | 922 |
Opencast :: ingest-service-impl - org/opencastproject/ingest/scanner/Ingestor.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 576 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 594 |
Opencast :: inspection-service-ffmpeg - org/opencastproject/inspection/ffmpeg/MediaInspectionServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `options != null`. | 190 |
| UselessParentheses | Useless parentheses around `options != null`. | 220 |
Opencast :: inspection-service-ffmpeg - org/opencastproject/inspection/ffmpeg/endpoints/MediaInspectionRestEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'javax.ws.rs.core': 'Response' is already in scope because it is imported in this file | 218 |
Opencast :: inspection-service-remote - org/opencastproject/inspection/remote/MediaInspectionServiceRemoteImpl.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `options != null`. | 113 |
| UselessParentheses | Useless parentheses around `options != null`. | 150 |
Opencast :: kernel - org/opencastproject/kernel/mail/BaseSmtpService.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'javax.mail': 'Session' is already in scope because it is imported in this file | 259 |
Opencast :: kernel - org/opencastproject/kernel/rest/RestPublisher.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RestConstants': 'HTTP_CONTEXT_ID' is already in scope because it is inherited by an enclosing type | 197 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RestConstants': 'HTTP_CLASSPATH' is already in scope because it is inherited by an enclosing type | 453 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RestConstants': 'HTTP_ALIAS' is already in scope because it is inherited by an enclosing type | 454 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RestConstants': 'HTTP_WELCOME' is already in scope because it is inherited by an enclosing type | 455 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RestConstants': 'HTTP_SPA_REDIRECT' is already in scope because it is inherited by an enclosing type | 457 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RestConstants': 'HTTP_CONTEXT_ID' is already in scope because it is inherited by an enclosing type | 462 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RestConstants': 'HTTP_CLASSPATH' is already in scope because it is inherited by an enclosing type | 486 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RestConstants': 'HTTP_ALIAS' is already in scope because it is inherited by an enclosing type | 487 |
Opencast :: kernel - org/opencastproject/kernel/scanner/AbstractScanner.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.quartz': 'SchedulerException' is already in scope because it is imported in this file | 235 |
Opencast :: kernel - org/opencastproject/kernel/security/AsyncTimeoutRedirectFilter.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ThrowableAnalyzer': 'verifyThrowableHierarchy' is already in scope | 103 |
Opencast :: kernel - org/opencastproject/kernel/security/SecurityServiceSpringImpl.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SecurityServiceSpringImpl': 'organization' is already in scope because it is declared in an enclosing type | 82 |
| UselessParentheses | Useless parentheses around `principal instanceof UserDetails`. | 120 |
Opencast :: kernel - org/opencastproject/kernel/security/TrustedHttpClientImpl.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `retryBaseDelay * MILLISECONDS_IN_SECONDS + vari...`. | 545 |
| UselessParentheses | Useless parentheses around `"Nonce has expired/timed out".equals(response.g...`. | 575 |
Opencast :: lti-service-remote - org/opencastproject/lti/endpoint/LtiServiceRemoteImpl.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'LtiService': 'JOB_TYPE' is already in scope because it is inherited by an enclosing type | 67 |
Opencast :: mpeg7 - org/opencastproject/metadata/mpeg7/MediaDurationImpl.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `milliseconds / MS_PER_SECOND`. | 93 |
| UselessParentheses | Useless parentheses around `milliseconds / MS_PER_MINUTE`. | 94 |
| UselessParentheses | Useless parentheses around `milliseconds / MS_PER_HOUR`. | 95 |
Opencast :: mpeg7 - org/opencastproject/metadata/mpeg7/MediaRelTimePointImpl.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `milliseconds / MS_PER_SECOND`. | 69 |
| UselessParentheses | Useless parentheses around `milliseconds / MS_PER_MINUTE`. | 70 |
| UselessParentheses | Useless parentheses around `milliseconds / MS_PER_HOUR`. | 71 |
Opencast :: mpeg7 - org/opencastproject/metadata/mpeg7/Mpeg7Parser.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `coordsL[2] - coordsL[0]`. | 367 |
Opencast :: mpeg7 - org/opencastproject/metadata/mpeg7/SpatioTemporalDecompositionImpl.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `hasGap ? "true" : "false"`. | 151 |
| UselessParentheses | Useless parentheses around `hasOverlap ? "true" : "false"`. | 152 |
Opencast :: mpeg7 - org/opencastproject/metadata/mpeg7/TemporalDecompositionImpl.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `gap ? "true" : "false"`. | 153 |
| UselessParentheses | Useless parentheses around `overlap ? "true" : "false"`. | 154 |
Opencast :: notification-workflowoperation - org/opencastproject/workflow/handler/notification/MediaPackagePostOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `"NO"`. | 231 |
| UselessParentheses | Useless parentheses around `"FALSE"`. | 231 |
Opencast :: oaipmh - org/opencastproject/oaipmh/server/OaiXmlGen.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'OaiPmhConstants': 'OAI_2_0_XML_NS' is already in scope because it is imported in this file | 63 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.util': 'Collections' is already in scope because it is imported in this file | 216 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.util': 'Collections' is already in scope because it is imported in this file | 217 |
Opencast :: runtime-info - org/opencastproject/runtimeinfo/rest/RestEndpointData.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `httpMethod.isEmpty()`. | 125 |
Opencast :: runtime-info - org/opencastproject/runtimeinfo/rest/RestFormatData.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `name.equalsIgnoreCase(MediaType.TEXT_XML)`. | 70 |
| UselessParentheses | Useless parentheses around `name.equalsIgnoreCase(MediaType.APPLICATION_XML)`. | 70 |
Opencast :: runtime-info - org/opencastproject/runtimeinfo/rest/RestParamData.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `defaultValue.isEmpty()`. | 97 |
| UselessParentheses | Useless parentheses around `description.isEmpty()`. | 106 |
Opencast :: scheduler-api - org/opencastproject/scheduler/api/Util.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Util': 'calculatePeriods' is already in scope | 94 |
Opencast :: scheduler-impl - org/opencastproject/scheduler/endpoint/SchedulerRestService.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 326 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 330 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 365 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 369 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 406 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 410 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 447 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 451 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 508 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 512 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 548 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 552 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 589 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 592 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 641 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 697 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 757 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 836 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 838 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 957 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 959 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1070 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 1080 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 1082 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1182 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1213 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1242 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1278 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1344 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 1346 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 1348 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1405 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 1407 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 1409 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1461 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 1463 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1499 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1526 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 1527 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1555 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1594 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1634 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 1681 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1807 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 1811 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DublinCore': 'PROPERTY_TEMPORAL' is already in scope because it is imported in this file | 1853 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1890 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 1893 |
Opencast :: scheduler-impl - org/opencastproject/scheduler/impl/CaptureNowProlongingService.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DublinCore': 'PROPERTY_TEMPORAL' is already in scope because it is imported in this file | 391 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DublinCore': 'PROPERTY_TEMPORAL' is already in scope because it is imported in this file | 410 |
Opencast :: scheduler-impl - org/opencastproject/scheduler/impl/SchedulerServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SchedulerService': 'JOB_TYPE' is already in scope because it is inherited by an enclosing type | 180 |
| UselessParentheses | Useless parentheses around `securityService.getUser().hasRole(GLOBAL_ADMIN_...`. | 850–851 |
Opencast :: scheduler-impl - org/opencastproject/scheduler/impl/persistence/ExtendedEventDto.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `"organization"`. | 75 |
| UselessParentheses | Useless parentheses around `"capture_agent_id"`. | 76 |
| UselessParentheses | Useless parentheses around `"start_date, end_date"`. | 77 |
Opencast :: scheduler-impl - org/opencastproject/scheduler/impl/persistence/LastModifiedDto.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `"last_modified"`. | 47 |
Opencast :: search-service-api - org/opencastproject/search/api/SearchResult.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SearchResult': 'dehydrateAclForIndex' is already in scope | 250 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SearchResult': 'dehydrateAclForREST' is already in scope | 251 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SearchResult': 'dehydrateDC' is already in scope | 252 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SearchResult': 'dehydrateAclForIndex' is already in scope | 265 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SearchResult': 'dehydrateAclForREST' is already in scope | 266 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SearchResult': 'dehydrateDC' is already in scope | 267 |
Opencast :: search-service-impl - org/opencastproject/search/impl/persistence/SearchEntity.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `"series_id"`. | 48 |
| UselessParentheses | Useless parentheses around `"organization"`. | 49 |
Opencast :: security-jwt - org/opencastproject/security/jwt/DynamicLoginHandler.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `roleMappings == null ? new ArrayList<String>() ...`. | 329 |
Opencast :: security-jwt - org/opencastproject/security/jwt/JWTRequestHeaderAuthenticationFilter.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `super.getPreAuthenticatedPrincipal(request)`. | 52 |
Opencast :: security-shibboleth - org/opencastproject/security/shibboleth/ShibbolethRequestHeaderAuthenticationFilter.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `super.getPreAuthenticatedPrincipal(request)`. | 72 |
Opencast :: series-service-impl - org/opencastproject/series/endpoint/SeriesRestService.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 948 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 998 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 1004 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 1112 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 1118 |
Opencast :: series-service-impl - org/opencastproject/series/impl/persistence/SeriesEntity.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `"modified_date"`. | 66 |
Opencast :: serviceregistry - org/opencastproject/serviceregistry/impl/IncidentDto.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `"jobid"`. | 65 |
| UselessParentheses | Useless parentheses around `"severity"`. | 66 |
Opencast :: serviceregistry - org/opencastproject/serviceregistry/impl/ServiceRegistryJpaImpl.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 303 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 333 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 341 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 505 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 508 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 511 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Status': 'FAILED' is already in scope because it is imported in this file | 889 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Status': 'FAILED' is already in scope because it is imported in this file | 1023 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Status': 'FAILED' is already in scope because it is imported in this file | 1411 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 1879 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 1879 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 1879 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Status': 'FAILED' is already in scope because it is imported in this file | 2157 |
Opencast :: serviceregistry - org/opencastproject/serviceregistry/impl/endpoint/ServiceRegistryEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isNotBlank' is already in scope | 313 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 506 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isNotBlank' is already in scope | 510 |
Opencast :: silencedetection-impl - org/opencastproject/silencedetection/ffmpeg/FFmpegSilenceDetector.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.lang': 'Math' is already in scope because it is declared in java.lang | 213 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.lang': 'Math' is already in scope because it is declared in java.lang | 221 |
Opencast :: smil-api - org/opencastproject/smil/api/util/SmilUtil.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.w3c.dom': 'Document' is already in scope because it is imported in this file | 80 |
Opencast :: speech-to-text-workflowoperation - org/opencastproject/workflow/handler/speechtotext/SpeechToTextWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `presentationTracksWithAudio`. | 274 |
Opencast :: static-file-service-api - org/opencastproject/staticfiles/endpoint/StaticFileRestService.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 197 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 325 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 361 |
Opencast :: static-file-service-impl - org/opencastproject/staticfiles/impl/StaticFileServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 120 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 124 |
| UselessParentheses | Useless parentheses around `Files.getLastModifiedTime(path).toMillis() < ne...`. | 318 |
| UselessParentheses | Useless parentheses around `new Date()`. | 318 |
Opencast :: static - org/opencastproject/fsresources/StaticResourceServlet.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `ranges.isEmpty()`. | 233 |
| UselessParentheses | Useless parentheses around `ranges.isEmpty()`. | 248 |
| UselessParentheses | Useless parentheses around `ranges.hasNext()`. | 318 |
| UselessParentheses | Useless parentheses around `-1L`. | 362 |
| UselessParentheses | Useless parentheses around `(start >= 0) && (end >= 0) && (start <= end) &&...`. | 526 |
Opencast :: subtitle-parser - org/opencastproject/subtitleparser/webvttparser/WebVTTParser.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `value * 1000 + Long.parseLong(parts[1])`. | 188 |
Opencast :: termination-state-aws - org/opencastproject/terminationstate/aws/AutoScalingTerminationStateService.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.quartz': 'SchedulerException' is already in scope because it is imported in this file | 308 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.quartz': 'SchedulerException' is already in scope because it is imported in this file | 360 |
Opencast :: termination-state-impl - org/opencastproject/terminationstate/impl/TerminationStateServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.quartz': 'SchedulerException' is already in scope because it is imported in this file | 132 |
Opencast :: textanalyzer-workflowoperation - org/opencastproject/workflow/handler/textanalyzer/TextAnalysisWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `segment instanceof VideoSegment`. | 256 |
Opencast :: textextractor-tesseract - org/opencastproject/textextractor/tesseract/TesseractTextExtractor.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.util': 'Arrays' is already in scope because it is imported in this file | 84 |
Opencast :: themes - org/opencastproject/themes/persistence/ThemesServiceDatabaseImpl.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `StringUtils.isNotBlank(theme.getCreator().getNa...`. | 396–399 |
Opencast :: timelinepreviews-ffmpeg - org/opencastproject/timelinepreviews/ffmpeg/TimelinePreviewsServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `imageCount`. | 289 |
Opencast :: tobira - org/opencastproject/tobira/impl/Item.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DublinCore': 'PROPERTY_TITLE' is already in scope because it is imported in this file | 117 |
| UselessParentheses | Useless parentheses around `tagArray.length == 2 && tagArray[0].equals(prefix)`. | 298 |
Opencast :: transcription-service-amberscript - org/opencastproject/transcription/amberscript/AmberscriptTranscriptionService.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AmberscriptTranscriptionService': 'CONNECTION_TIMEOUT' is already in scope because it is declared in an enclosing type | 901 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AmberscriptTranscriptionService': 'CONNECTION_TIMEOUT' is already in scope because it is declared in an enclosing type | 903 |
Opencast :: transcription-service-google-speech-impl - org/opencastproject/transcription/googlespeech/GoogleSpeechTranscriptionService.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `database.findByJob(jobId).getDateCreated().getT...`. | 954–956 |
| UselessParentheses | Useless parentheses around `System.currentTimeMillis()`. | 957 |
Opencast :: urlsigning-common - org/opencastproject/urlsigning/utils/PolicyUtils.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'PolicyUtils': 'toJson' is already in scope | 164 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'PolicyUtils': 'toJson' is already in scope | 180 |
Opencast :: urlsigning-common - org/opencastproject/urlsigning/utils/SHA256Util.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `secretKey`. | 60 |
Opencast :: urlsigning-service-impl - org/opencastproject/security/urlsigning/provider/impl/AbstractUrlSigningProvider.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `v.startsWith(propertyValue)`. | 199 |
Opencast :: urlsigning-service-impl - org/opencastproject/security/urlsigning/provider/impl/WowzaUrlSigningProvider.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `uri.getScheme()`. | 94 |
Opencast :: urlsigning-service-impl - org/opencastproject/security/urlsigning/service/impl/UrlSigningEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `validFrom > 0 ? new DateTime(validFrom * DateTi...`. | 141–142 |
Opencast :: userdirectory-ldap - org/opencastproject/userdirectory/ldap/LdapUserProviderFactory.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'LdapUserProviderFactory': 'getObjectName' is already in scope | 424 |
Opencast :: userdirectory-moodle - org/opencastproject/userdirectory/moodle/MoodleUserProviderFactory.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MoodleUserProviderFactory': 'getObjectName' is already in scope | 283 |
Opencast :: userdirectory-sakai - org/opencastproject/userdirectory/sakai/SakaiUserProviderFactory.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SakaiUserProviderFactory': 'getObjectName' is already in scope | 239 |
Opencast :: userdirectory-sakai - org/opencastproject/userdirectory/sakai/SakaiUserProviderInstance.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `code == 200`. | 388 |
| UselessParentheses | Useless parentheses around `code == 200`. | 429 |
Opencast :: userdirectory-studip - org/opencastproject/userdirectory/studip/StudipUserProviderFactory.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StudipUserProviderFactory': 'getObjectName' is already in scope | 213 |
Opencast :: videoeditor-workflowoperation - org/opencastproject/workflow/handler/videoeditor/VideoEditorWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 196 |
Opencast :: videogrid-workflowoperation - org/opencastproject/workflow/handler/videogrid/VideoGridWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 602 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 623 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 697 |
| UselessParentheses | Useless parentheses around `videoCount / (float) tmpTilesV`. | 715 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 746 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 774 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 785 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 788 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 791 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 794 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 797 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 799 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 805 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 807 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 808 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 824 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 827 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 829 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 830 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 835 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 838 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 840 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 841 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 842 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 848 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 911 |
| UselessParentheses | Useless parentheses around `trackDimension.getB().getWidth() / 2`. | 949 |
| UselessParentheses | Useless parentheses around `trackDimension.getB().getHeight() / 2`. | 949–950 |
Opencast :: videosegmenter-ffmpeg - org/opencastproject/videosegmenter/ffmpeg/VideoSegmenterServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `track.getDuration() / 1000.0f`. | 841 |
| UselessParentheses | Useless parentheses around `(x + 0.5f) * 0.5f`. | 917 |
Opencast :: workflow-condition-parser - org/opencastproject/workflow/conditionparser/Atom.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Atom': 'fromNumber' is already in scope | 71 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Atom': 'fromString' is already in scope | 73 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Atom': 'fromNumber' is already in scope | 76 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Atom': 'fromNumber' is already in scope | 81 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Atom': 'fromNumber' is already in scope | 86 |
Opencast :: workflow-condition-parser - org/opencastproject/workflow/conditionparser/ComparisonOperator.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ComparisonOperator': 'LE' is already in scope because it is declared in an enclosing type | 32 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ComparisonOperator': 'LT' is already in scope because it is declared in an enclosing type | 34 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ComparisonOperator': 'EQ' is already in scope because it is declared in an enclosing type | 36 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ComparisonOperator': 'NE' is already in scope because it is declared in an enclosing type | 38 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ComparisonOperator': 'GT' is already in scope because it is declared in an enclosing type | 40 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ComparisonOperator': 'GE' is already in scope because it is declared in an enclosing type | 42 |
Opencast :: workflow-condition-parser - org/opencastproject/workflow/conditionparser/NumericalOperator.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'NumericalOperator': 'ADD' is already in scope because it is declared in an enclosing type | 32 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'NumericalOperator': 'SUBTRACT' is already in scope because it is declared in an enclosing type | 34 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'NumericalOperator': 'MULTIPLY' is already in scope because it is declared in an enclosing type | 36 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'NumericalOperator': 'DIVIDE' is already in scope because it is declared in an enclosing type | 38 |
Opencast :: workflow-service-api - org/opencastproject/workflow/api/WorkflowInstance.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `"mediapackage_id"`. | 79 |
| UselessParentheses | Useless parentheses around `"series_id"`. | 80 |
| UselessParentheses | Useless parentheses around `"workflow_id"`. | 194 |
Opencast :: workflow-service-api - org/opencastproject/workflow/api/WorkflowOperationInstance.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `"workflow_id"`. | 55 |
| UselessParentheses | Useless parentheses around `"workflow_operation_id"`. | 85 |
Opencast :: workflow-service-impl - org/opencastproject/workflow/endpoint/WorkflowRestService.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NO_CONTENT' is already in scope because it is imported in this file | 591 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 814 |
Opencast :: workflow-service-impl - org/opencastproject/workflow/impl/WorkflowCleanupScanner.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AbstractScanner': 'PARAM_KEY_ENABLED' is already in scope because it is inherited by an enclosing type | 150 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AbstractScanner': 'PARAM_KEY_CRON_EXPR' is already in scope because it is inherited by an enclosing type | 154 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AbstractScanner': 'PARAM_KEY_CRON_EXPR' is already in scope because it is inherited by an enclosing type | 156 |
Opencast :: workflow-service-impl - org/opencastproject/workflow/impl/WorkflowServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkflowState': 'PAUSED' is already in scope because it is imported in this file | 1031 |
| UselessParentheses | Useless parentheses around `currentUser.equals(workflowCreator)`. | 1153 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkflowState': 'PAUSED' is already in scope because it is imported in this file | 2253 |
Opencast :: workflow-service-remote - org/opencastproject/workflow/remote/WorkflowServiceRemoteImpl.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpStatus': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 644 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpStatus': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 647 |
Opencast :: workflow-workflowoperation - org/opencastproject/workflow/handler/workflow/CleanupWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `serviceRegistry.getJob(operationInstanceId)`. | 135 |
Opencast :: workflow-workflowoperation - org/opencastproject/workflow/handler/workflow/CopyWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 184 |
Opencast :: workflow-workflowoperation - org/opencastproject/workflow/handler/workflow/DuplicateEventWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `title.endsWith("}")`. | 356 |
Opencast :: workflow-workflowoperation - org/opencastproject/workflow/handler/workflow/WebvttToCutMarksWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `firstCutMark.begin + bufferTime`. | 298 |
Opencast :: working-file-repository-service-impl - org/opencastproject/workingfilerepository/impl/WorkingFileRepositoryRestEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'MEDIAPACKAGE_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 152 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'MEDIAPACKAGE_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 188 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'COLLECTION_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 218 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'MEDIAPACKAGE_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 250 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'COLLECTION_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 281 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'COLLECTION_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 310 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'COLLECTION_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 341 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'MEDIAPACKAGE_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 364 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'MEDIAPACKAGE_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 414 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'COLLECTION_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 465 |
Opencast :: workspace-impl - org/opencastproject/workspace/impl/WorkspaceImpl.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 471 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 479 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 543 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 650 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 695 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 735 |
Files
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/AbstractEventEndpoint.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–3112 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 315 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 332 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 333 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 369 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 386 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 387 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 391 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 403 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 437 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 438 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 439 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 503 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 504 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 527 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 528 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Stream': '$' is already in scope | 4 | 533 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 590 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 591 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 613 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 614 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 4 | 703 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 4 | 704 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 4 | 711 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 4 | 712 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 768 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 769 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 794 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 795 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 984 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 985 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NO_CONTENT' is already in scope because it is imported in this file | 4 | 1047 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 1048 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 1090 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 1118 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 1137 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 1168 |
| UnnecessaryReturn | Unnecessary return statement | 3 | 1227 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1235 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 1236 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1309 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 1312 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1406 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 1407 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_INTERNAL_SERVER_ERROR' is already in scope because it is imported in this file | 4 | 1408 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 1409 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NO_CONTENT' is already in scope because it is imported in this file | 4 | 1478 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 1479 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 1481 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 4 | 1534 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 4 | 1535 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1574 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 1575 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 1576 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 1587 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NO_CONTENT' is already in scope because it is imported in this file | 4 | 1602 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_INTERNAL_SERVER_ERROR' is already in scope because it is imported in this file | 4 | 1606 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1668 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 1669 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1698 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 1699 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1714 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 1715 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1730 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 1731 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1746 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 1747 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1762 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 1763 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1778 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 1779 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1794 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 1795 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1810 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 1811 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1883 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 1884 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 1896 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 1900 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 1919 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 4 | 1921 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 1921 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 1922 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 1923 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 1924 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 1935 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NO_CONTENT' is already in scope because it is imported in this file | 4 | 1945 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 1946 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 1994 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 2004 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 2005 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 2006 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 2037 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 2041 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 2042 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 2043 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 2044 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 2044 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 2045 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 2047 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 2048 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 2065 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 2066 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 2067 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 2091 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 2095 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 2096 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 2097 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 2098 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 2121 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 2122 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 2123 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 2155 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 2156 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 2159 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 2161 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 2162 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 2163 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 2164 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 2166 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 2167 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 2179 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 2180 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 2181 |
| UnusedLocalVariable | Avoid unused local variables such as 'ignore'. | 3 | 2188 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 2212 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 2213 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 2214 |
| UnusedLocalVariable | Avoid unused local variables such as 'ignore'. | 3 | 2222 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 2295 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 2296 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 2297 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'NULL' is already in scope because it is imported in this file | 4 | 2397 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NO_CONTENT' is already in scope because it is imported in this file | 4 | 2406 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 2408 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 2576 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 2704 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Stream': '$' is already in scope | 4 | 2956 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'nul' is already in scope | 4 | 2972 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 4 | 2985 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 4 | 2987 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 3033 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 3051 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 3077 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 3081 |
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/AclEndpoint.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–433 |
| UselessParentheses | Useless parentheses around `AclsListQuery.FILTER_TEXT_NAME.equals(name)`. | 4 | 205 |
| UselessParentheses | Useless parentheses around `StringUtils.isNotBlank(value)`. | 4 | 205 |
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/CaptureAgentsEndpoint.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–330 |
| UselessParentheses | Useless parentheses around `StringUtils.isEmpty(devices)`. | 4 | 288 |
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/GroupsEndpoint.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–381 |
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/JobEndpoint.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 21–495 |
| UselessParentheses | Useless parentheses around `server.isPresent()`. | 4 | 205 |
| UselessParentheses | Useless parentheses around `job.getRootJobId() != null && !StringUtils.equa...`. | 4 | 221 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 4 | 286 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 4 | 290 |
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/SeriesEndpoint.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–1420 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 317 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 601 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 677 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 694 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 695 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Status': 'BAD_REQUEST' is already in scope because it is imported in this file | 4 | 698 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Status': 'BAD_REQUEST' is already in scope because it is imported in this file | 4 | 707 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Status': 'BAD_REQUEST' is already in scope because it is imported in this file | 4 | 710 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 893 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 925 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 926 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 989 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 990 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 1357 |
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/TasksEndpoint.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–229 |
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/ThemesEndpoint.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–727 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 200 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 283 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 284 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 297 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 298 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 326 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 333 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 334 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 335 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 336 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 337 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 338 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 339 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 340 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 357 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 358 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 359 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 360 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 360 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 361 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 362 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 363 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 363 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RestUtils': 'okJson' is already in scope | 4 | 377 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 388 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 395 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 396 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 397 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 398 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 399 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 400 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 401 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 402 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 454 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 455 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 456 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 457 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 457 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 458 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 459 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 460 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 460 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RestUtils': 'okJson' is already in scope | 4 | 473 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isNotBlank' is already in scope | 4 | 599 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isNotBlank' is already in scope | 4 | 613 |
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/UserSettingsEndpoint.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–194 |
| UselessParentheses | Useless parentheses around `Response.serverError().build()`. | 4 | 136 |
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/UsersEndpoint.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–578 |
| UselessParentheses | Useless parentheses around `UsersListQuery.FILTER_TEXT_NAME.equals(name)`. | 4 | 231 |
| UselessParentheses | Useless parentheses around `StringUtils.isNotBlank(value)`. | 4 | 231 |
Opencast :: admin-ui - org/opencastproject/adminui/tobira/TobiraException.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'response'. | 3 | 29 |
| UnusedPrivateField | Avoid unused private fields such as 'errors'. | 3 | 30 |
Opencast :: admin-ui - org/opencastproject/adminui/util/BulkUpdateUtil.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `(String) result.get("weekday")`. | 4 | 139 |
Opencast :: admin-ui - org/opencastproject/adminui/util/ClassPathInspector.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 43 |
| UnusedLocalVariable | Avoid unused local variables such as 'file'. | 3 | 58 |
Opencast :: adopter-registration-impl - org/opencastproject/adopter/registration/AdopterRegistrationRestService.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–282 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 101 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 116 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 230 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 248 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 268 |
Opencast :: adopter-registration-impl - org/opencastproject/adopter/registration/AdopterRegistrationSender.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'logger'. | 3 | 47 |
Opencast :: adopter-registration-impl - org/opencastproject/adopter/registration/dto/Adopter.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 55 |
Opencast :: asset-manager-api - org/opencastproject/assetmanager/api/fn/ARecords.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 48 |
Opencast :: asset-manager-impl - org/opencastproject/assetmanager/impl/AssetManagerImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 21–1636 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Prelude': 'chuck' is already in scope | 4 | 483 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Enrichments': 'enrich' is already in scope | 4 | 586 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Enrichments': 'enrich' is already in scope | 4 | 599 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Enrichments': 'enrich' is already in scope | 4 | 608 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Enrichments': 'enrich' is already in scope | 4 | 617 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Enrichments': 'enrich' is already in scope | 4 | 626 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Enrichments': 'enrich' is already in scope | 4 | 636 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Enrichments': 'enrich' is already in scope | 4 | 651 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Enrichments': 'enrich' is already in scope | 4 | 687 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Enrichments': 'enrich' is already in scope | 4 | 714 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 796 |
| UselessParentheses | Useless parentheses around `originalOrg != null ? securityService.getUser()...`. | 4 | 913 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 1242 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 1254–1256 |
| UnusedLocalVariable | Avoid unused local variables such as 'toString'. | 3 | 1487 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 1529 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 1581 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 1595 |
Opencast :: asset-manager-impl - org/opencastproject/assetmanager/impl/AssetManagerJobProducer.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 118 |
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 142 |
Opencast :: asset-manager-impl - org/opencastproject/assetmanager/impl/SnapshotImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'id'. | 3 | 31 |
Opencast :: asset-manager-impl - org/opencastproject/assetmanager/impl/endpoint/AbstractAssetManagerRestEndpoint.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 21–541 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 211 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AssetManager': 'DEFAULT_OWNER' is already in scope because it is imported in this file | 4 | 234 |
Opencast :: asset-manager-impl - org/opencastproject/assetmanager/impl/endpoint/AbstractTieredStorageAssetManagerRestEndpoint.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 21–348 |
Opencast :: asset-manager-impl - org/opencastproject/assetmanager/impl/persistence/AssetDto.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `"checksum"`. | 4 | 41 |
| UselessParentheses | Useless parentheses around `"mediapackage_element_id"`. | 4 | 42 |
Opencast :: asset-manager-impl - org/opencastproject/assetmanager/impl/persistence/PropertyDto.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `"val_date"`. | 4 | 52 |
| UselessParentheses | Useless parentheses around `"val_long"`. | 4 | 53 |
| UselessParentheses | Useless parentheses around `"val_string"`. | 4 | 54 |
| UselessParentheses | Useless parentheses around `"val_bool"`. | 4 | 55 |
| UselessParentheses | Useless parentheses around `"mediapackage_id"`. | 4 | 56 |
| UselessParentheses | Useless parentheses around `"namespace"`. | 4 | 57 |
| UselessParentheses | Useless parentheses around `"property_name"`. | 4 | 58 |
Opencast :: asset-manager-impl - org/opencastproject/assetmanager/impl/persistence/SnapshotDto.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `"archival_date"`. | 4 | 65 |
| UselessParentheses | Useless parentheses around `"mediapackage_id"`. | 4 | 66 |
| UselessParentheses | Useless parentheses around `"organization_id"`. | 4 | 67 |
| UselessParentheses | Useless parentheses around `"owner"`. | 4 | 68 |
| UselessParentheses | Useless parentheses around `"series_id, version"`. | 4 | 69 |
Opencast :: asset-manager-impl - org/opencastproject/assetmanager/impl/query/AbstractASelectQuery.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedPrivateMethod | Avoid unused private methods such as 'toARecord(SelectQueryContribution)'. | 3 | 289 |
| UnusedPrivateMethod | Avoid unused private methods such as 'vary(Stream<? extends A>)'. | 3 | 352 |
| UnusedPrivateMethod | Avoid unused private methods such as 'sizeOf(Stream<A>)'. | 3 | 356 |
| UnusedLocalVariable | Avoid unused local variables such as 'ignore'. | 3 | 358 |
Opencast :: asset-manager-impl - org/opencastproject/assetmanager/impl/query/PropertyPredicates.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'Q_SNAPSHOT_ALIAS'. | 3 | 39 |
Opencast :: asset-manager-static-file-authorization - org/opencastproject/assetmanager/auth/AssetManagerStaticFileAuthorization.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedLocalVariable | Avoid unused local variables such as 'newPattern'. | 3 | 91 |
Opencast :: asset-manager-storage-aws - org/opencastproject/assetmanager/aws/AwsAbstractArchive.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `map != null`. | 4 | 130 |
Opencast :: asset-manager-storage-aws - org/opencastproject/assetmanager/aws/persistence/AwsAssetMappingDto.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `"object_key"`. | 4 | 58 |
Opencast :: asset-manager-storage-aws - org/opencastproject/assetmanager/aws/s3/AwsS3AssetStore.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AssetStore': 'STORE_TYPE_PROPERTY' is already in scope because it is inherited by an enclosing type | 4 | 183 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AssetStore': 'STORE_TYPE_PROPERTY' is already in scope because it is inherited by an enclosing type | 4 | 187 |
Opencast :: asset-manager-storage-fs - org/opencastproject/assetmanager/storage/impl/fs/AbstractFileSystemAssetStore.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 21–309 |
Opencast :: asset-manager-storage-fs - org/opencastproject/assetmanager/storage/impl/fs/OsgiFileSystemAssetStore.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedPrivateMethod | Avoid unused private methods such as 'getRootDirectories()'. | 3 | 163 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AssetStore': 'STORE_TYPE_PROPERTY' is already in scope because it is inherited by an enclosing type | 4 | 199 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AssetStore': 'STORE_TYPE_PROPERTY' is already in scope because it is inherited by an enclosing type | 4 | 200 |
Opencast :: asset-manager-workflowoperation - org/opencastproject/workflow/handler/assetmanager/AssetManagerSnapshotWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedLocalVariable | Avoid unused local variables such as 'currentOperation'. | 3 | 92 |
Opencast :: asset-manager-workflowoperation - org/opencastproject/workflow/handler/assetmanager/SelectVersionWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 150 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 181 |
Opencast :: authorization-manager - org/opencastproject/authorization/xacml/manager/endpoint/AbstractAclServiceRestEndpoint.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–387 |
Opencast :: authorization-manager - org/opencastproject/authorization/xacml/manager/endpoint/JsonConv.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–86 |
Opencast :: authorization-manager - org/opencastproject/authorization/xacml/manager/impl/AclServiceImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 86–89 |
| UselessParentheses | Useless parentheses around `oldName.get().getName().equals(acl.getName())`. | 4 | 86 |
Opencast :: authorization-manager - org/opencastproject/authorization/xacml/manager/impl/persistence/JpaAclDb.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ManagedAclEntity': 'findByIdAndOrgQuery' is already in scope | 4 | 86 |
Opencast :: authorization-xacml - org/opencastproject/authorization/xacml/XACMLAuthorizationService.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Tuple': 'tuple' is already in scope | 4 | 293 |
Opencast :: authorization-xacml - org/opencastproject/authorization/xacml/XACMLUtils.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'jBossXacmlJaxbContext' is already in scope because it is declared in an enclosing type | 4 | 88 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'jBossXacmlJaxbContext' is already in scope because it is declared in an enclosing type | 4 | 119 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'RULE_COMBINING_ALG' is already in scope because it is declared in an enclosing type | 4 | 184 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'XACML_STRING_EQUAL' is already in scope because it is declared in an enclosing type | 4 | 191 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'W3C_STRING' is already in scope because it is declared in an enclosing type | 4 | 193 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'RESOURCE_IDENTIFIER' is already in scope because it is declared in an enclosing type | 4 | 196 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'W3C_STRING' is already in scope because it is declared in an enclosing type | 4 | 197 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'XACML_STRING_EQUAL' is already in scope because it is declared in an enclosing type | 4 | 223 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'W3C_STRING' is already in scope because it is declared in an enclosing type | 4 | 225 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'ACTION_IDENTIFIER' is already in scope because it is declared in an enclosing type | 4 | 228 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'W3C_STRING' is already in scope because it is declared in an enclosing type | 4 | 229 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'XACML_STRING_IS_IN' is already in scope because it is declared in an enclosing type | 4 | 241 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'W3C_STRING' is already in scope because it is declared in an enclosing type | 4 | 244 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'W3C_STRING' is already in scope because it is declared in an enclosing type | 4 | 248 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'SUBJECT_ROLE_IDENTIFIER' is already in scope because it is declared in an enclosing type | 4 | 249 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'jBossXacmlJaxbContext' is already in scope because it is declared in an enclosing type | 4 | 266 |
Opencast :: caption-impl - org/opencastproject/caption/converters/DFXPCaptionConverter.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 145–146 |
Opencast :: caption-impl - org/opencastproject/caption/converters/GoogleSpeechCaptionConverter.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `wordTSList.get("startTime").toString()`. | 4 | 127 |
| UselessParentheses | Useless parentheses around `wordTSList.get("endTime").toString()`. | 4 | 133 |
| UselessParentheses | Useless parentheses around `ms % 3600000L`. | 4 | 184 |
| UselessParentheses | Useless parentheses around `ms % 60000L`. | 4 | 185 |
Opencast :: caption-impl - org/opencastproject/caption/converters/IBMWatsonCaptionConverter.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `wordTsArray.get(1).toString()`. | 4 | 125 |
| UselessParentheses | Useless parentheses around `wordTsArray.get(2).toString()`. | 4 | 130 |
| UselessParentheses | Useless parentheses around `ms % 3600000L`. | 4 | 181 |
| UselessParentheses | Useless parentheses around `ms % 60000L`. | 4 | 182 |
Opencast :: caption-impl - org/opencastproject/caption/converters/SubRipCaptionConverter.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 89–90 |
Opencast :: caption-impl - org/opencastproject/caption/impl/CaptionServiceImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 106 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 332–334 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 446–448 |
Opencast :: capture-admin-service-impl - org/opencastproject/capture/admin/endpoint/CaptureAgentStateRestService.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–505 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'javax.ws.rs.core': 'Response' is already in scope because it is imported in this file | 4 | 203 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'javax.ws.rs.core': 'Response' is already in scope because it is imported in this file | 4 | 369 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'javax.ws.rs.core': 'Response' is already in scope because it is imported in this file | 4 | 389 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 440 |
Opencast :: capture-admin-service-impl - org/opencastproject/capture/admin/impl/AgentImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 131 |
Opencast :: capture-admin-service-impl - org/opencastproject/capture/admin/impl/CaptureAgentStateServiceImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–689 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 4 | 262 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 4 | 264 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AgentState': 'UNKNOWN' is already in scope because it is imported in this file | 4 | 283 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AgentState': 'UNKNOWN' is already in scope because it is imported in this file | 4 | 332 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 4 | 467 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 521–523 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AgentState': 'UNKNOWN' is already in scope because it is imported in this file | 4 | 529 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AgentState': 'UNKNOWN' is already in scope because it is imported in this file | 4 | 585 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 597–600 |
Opencast :: comments-workflowoperation - org/opencastproject/workflow/handler/comments/CommentWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 79 |
| UselessParentheses | Useless parentheses around `new Date().getTime()`. | 4 | 136 |
Opencast :: common-jpa-impl - org/opencastproject/job/jpa/JpaJob.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `"parent"`. | 4 | 73 |
| UselessParentheses | Useless parentheses around `"root"`. | 4 | 74 |
| UselessParentheses | Useless parentheses around `"creator_service"`. | 4 | 75 |
| UselessParentheses | Useless parentheses around `"processor_service"`. | 4 | 76 |
| UselessParentheses | Useless parentheses around `"status"`. | 4 | 77 |
| UselessParentheses | Useless parentheses around `"date_created"`. | 4 | 78 |
| UselessParentheses | Useless parentheses around `"date_completed"`. | 4 | 79 |
| UselessParentheses | Useless parentheses around `"dispatchable"`. | 4 | 80 |
| UselessParentheses | Useless parentheses around `"operation"`. | 4 | 81 |
| UselessParentheses | Useless parentheses around `"id"`. | 4 | 190 |
Opencast :: common-jpa-impl - org/opencastproject/security/impl/jpa/JpaOrganization.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `"organization"`. | 4 | 85 |
| UselessParentheses | Useless parentheses around `"name"`. | 4 | 86 |
| UselessParentheses | Useless parentheses around `"port"`. | 4 | 87 |
Opencast :: common-jpa-impl - org/opencastproject/serviceregistry/impl/jpa/HostRegistrationJpaImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `"online"`. | 4 | 46 |
| UselessParentheses | Useless parentheses around `"active"`. | 4 | 47 |
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 112 |
Opencast :: common-jpa-impl - org/opencastproject/serviceregistry/impl/jpa/ServiceRegistrationJpaImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `"service_type"`. | 4 | 58 |
| UselessParentheses | Useless parentheses around `"service_state"`. | 4 | 59 |
| UselessParentheses | Useless parentheses around `"active"`. | 4 | 60 |
| UselessParentheses | Useless parentheses around `"host_registration"`. | 4 | 61 |
Opencast :: common - org/opencastproject/db/DBSessionImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 178–179 |
Opencast :: common - org/opencastproject/job/api/JobBarrier.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Thread': 'sleep' is already in scope | 4 | 284 |
Opencast :: common - org/opencastproject/mediapackage/AbstractMediaPackageElement.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 502–503 |
Opencast :: common - org/opencastproject/mediapackage/AdaptivePlaylist.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `br.lines().map(l -> { ... }).collect(Collectors...`. | 4 | 168–175 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AdaptivePlaylist': 'isPlaylist' is already in scope | 4 | 429 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AdaptivePlaylist': 'isPlaylist' is already in scope | 4 | 438 |
| UselessParentheses | Useless parentheses around `e`. | 4 | 498 |
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 647 |
Opencast :: common - org/opencastproject/mediapackage/EName.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'EName': 'fromString' is already in scope | 4 | 214 |
Opencast :: common - org/opencastproject/mediapackage/MediaPackageImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 219–220 |
| UselessParentheses | Useless parentheses around `elements.contains(element)`. | 4 | 423 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 704–706 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MediaPackageImpl': 'valueOf' is already in scope | 4 | 1077 |
Opencast :: common - org/opencastproject/mediapackage/MediaPackageReferenceImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MediaPackageReference': 'TYPE_MEDIAPACKAGE' is already in scope because it is inherited by an enclosing type | 4 | 130 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MediaPackageReferenceImpl': 'fromString' is already in scope | 4 | 300 |
Opencast :: common - org/opencastproject/mediapackage/MediaPackageSupport.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–355 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.util': 'Collections' is already in scope because it is imported in this file | 4 | 53 |
Opencast :: common - org/opencastproject/mediapackage/XMLCatalogImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–841 |
| UselessOverridingMethod | Overriding method merely calls super | 3 | 471 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 717–720 |
Opencast :: common - org/opencastproject/mediapackage/attachment/AttachmentImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 91 |
Opencast :: common - org/opencastproject/mediapackage/elementbuilder/AttachmentBuilderPlugin.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessOverridingMethod | Overriding method merely calls super | 3 | 65 |
Opencast :: common - org/opencastproject/mediapackage/selector/AbstractMediaPackageElementSelector.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedFormalParameter | Avoid unused method parameters such as 'object'. | 3 | 143 |
Opencast :: common - org/opencastproject/mediapackage/track/AbstractStreamImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `(String) xpath.evaluate("encoder/@type", node...)`. | 4 | 177 |
| UselessParentheses | Useless parentheses around `(String) xpath.evaluate("encoder/@version", nod...`. | 4 | 178 |
| UselessParentheses | Useless parentheses around `(String) xpath.evaluate("encoder/@vendor", node...`. | 4 | 179 |
Opencast :: common - org/opencastproject/mediapackage/track/TrackImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Track': 'TYPE' is already in scope because it is inherited by an enclosing type | 4 | 97 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 129 |
Opencast :: common - org/opencastproject/rest/RestConstants.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RestConstants': 'SERVICE_PATH_PROPERTY' is already in scope because it is declared in an enclosing type | 4 | 46 |
Opencast :: common - org/opencastproject/security/api/AccessControlUtil.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–363 |
Opencast :: common - org/opencastproject/security/api/DefaultOrganization.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DefaultOrganization': 'DEFAULT_ORGANIZATION_ID' is already in scope because it is declared in an enclosing type | 4 | 66 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DefaultOrganization': 'DEFAULT_ORGANIZATION_NAME' is already in scope because it is declared in an enclosing type | 4 | 66 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DefaultOrganization': 'DEFAULT_ORGANIZATION_ADMIN' is already in scope because it is declared in an enclosing type | 4 | 67 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DefaultOrganization': 'DEFAULT_ORGANIZATION_ANONYMOUS' is already in scope because it is declared in an enclosing type | 4 | 67 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DefaultOrganization': 'DEFAULT_ORGANIZATION_ID' is already in scope because it is declared in an enclosing type | 4 | 72 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DefaultOrganization': 'DEFAULT_ORGANIZATION_NAME' is already in scope because it is declared in an enclosing type | 4 | 72 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DefaultOrganization': 'DEFAULT_ORGANIZATION_ADMIN' is already in scope because it is declared in an enclosing type | 4 | 74 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DefaultOrganization': 'DEFAULT_ORGANIZATION_ANONYMOUS' is already in scope because it is declared in an enclosing type | 4 | 74 |
Opencast :: common - org/opencastproject/security/util/SecurityUtil.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–215 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SecurityConstants': 'GLOBAL_ADMIN_ROLE' is already in scope because it is imported in this file | 4 | 181 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SecurityUtil': 'getCaptureAgentRole' is already in scope | 4 | 184 |
Opencast :: common - org/opencastproject/serviceregistry/api/Incidents.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 146–147 |
Opencast :: common - org/opencastproject/serviceregistry/api/RemoteBase.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 282–284 |
Opencast :: common - org/opencastproject/serviceregistry/api/ServiceRegistrationInMemoryImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'serviceState'. | 3 | 60 |
Opencast :: common - org/opencastproject/serviceregistry/api/ServiceRegistrationParser.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'jaxbContext'. | 3 | 33 |
Opencast :: common - org/opencastproject/util/Checksum.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `halfbyte - 10`. | 4 | 113 |
Opencast :: common - org/opencastproject/util/ChecksumType.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ChecksumType': 'fromString' is already in scope | 4 | 152 |
Opencast :: common - org/opencastproject/util/ChunkedFileInputStream.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| CheckSkipResult | Check the value returned by the skip() method of an InputStream to see if the requested number of bytes has been skipped. | 3 | 80 |
Opencast :: common - org/opencastproject/util/EnumSupport.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 62–63 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 66–67 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 71–72 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 72–73 |
Opencast :: common - org/opencastproject/util/FileSupport.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–547 |
| UselessParentheses | Useless parentheses around `!aCanonical.equals(bCanonical) && bCanonical.st...`. | 4 | 383 |
Opencast :: common - org/opencastproject/util/HttpUtil.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–141 |
Opencast :: common - org/opencastproject/util/IoSupport.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–541 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 248–249 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'IoSupport': 'closeQuietly' is already in scope | 4 | 283 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'IoSupport': 'closeQuietly' is already in scope | 4 | 294 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Option': 'some' is already in scope | 4 | 321 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Option': 'none' is already in scope | 4 | 323 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Option': 'none' is already in scope | 4 | 326 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'IoSupport': 'closeQuietly' is already in scope | 4 | 371 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'IoSupport': 'closeQuietly' is already in scope | 4 | 398 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'IoSupport': 'closeQuietly' is already in scope | 4 | 421 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'IoSupport': 'closeQuietly' is already in scope | 4 | 435 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 509–510 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'IoSupport': 'closeQuietly' is already in scope | 4 | 511 |
Opencast :: common - org/opencastproject/util/JobUtil.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–330 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 70 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 204 |
Opencast :: common - org/opencastproject/util/JsonObj.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–152 |
Opencast :: common - org/opencastproject/util/MimeTypes.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 4 | 100 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 4 | 101 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 4 | 102 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 4 | 103 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 4 | 104 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 4 | 105 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 4 | 106 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 4 | 107 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 4 | 108 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 4 | 109 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 4 | 110 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 4 | 111 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 4 | 112 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 4 | 113 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 4 | 114 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 4 | 115 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 4 | 116 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 4 | 117 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 4 | 118 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'fromString' is already in scope | 4 | 238 |
| UselessOverridingMethod | Overriding method merely calls super | 3 | 311 |
| UselessOverridingMethod | Overriding method merely calls super | 3 | 316 |
| UselessOverridingMethod | Overriding method merely calls super | 3 | 321 |
Opencast :: common - org/opencastproject/util/RestUtil.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–369 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 198 |
Opencast :: common - org/opencastproject/util/XmlUtil.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XmlUtil': 'toXml' is already in scope | 4 | 116 |
Opencast :: common - org/opencastproject/util/ZipUtil.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 248–251 |
| UselessParentheses | Useless parentheses around `e`. | 4 | 274 |
Opencast :: common - org/opencastproject/util/data/Function0.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessQualifiedThis | Useless qualified this usage in the same class. | 3 | 40 |
| UselessQualifiedThis | Useless qualified this usage in the same class. | 3 | 45 |
Opencast :: common - org/opencastproject/util/data/Monadics.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–855 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Monadics': 'emptyIter' is already in scope | 4 | 700 |
Opencast :: common - org/opencastproject/util/data/Option.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 314 |
Opencast :: common - org/opencastproject/util/data/functions/Misc.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `(Object) ((Number) v).intValue()`. | 4 | 67 |
| UselessParentheses | Useless parentheses around `((Number) v).intValue()`. | 4 | 67 |
| UselessParentheses | Useless parentheses around `(Object) ((Number) v).longValue()`. | 4 | 69 |
| UselessParentheses | Useless parentheses around `((Number) v).longValue()`. | 4 | 69 |
| UselessParentheses | Useless parentheses around `(Object) ((Number) v).doubleValue()`. | 4 | 71 |
| UselessParentheses | Useless parentheses around `((Number) v).doubleValue()`. | 4 | 71 |
| UselessParentheses | Useless parentheses around `(Object) ((Number) v).floatValue()`. | 4 | 73 |
| UselessParentheses | Useless parentheses around `((Number) v).floatValue()`. | 4 | 73 |
| UselessParentheses | Useless parentheses around `(Object) ((Number) v).shortValue()`. | 4 | 75 |
| UselessParentheses | Useless parentheses around `((Number) v).shortValue()`. | 4 | 75 |
| UselessParentheses | Useless parentheses around `(Object) ((Number) v).byteValue()`. | 4 | 77 |
| UselessParentheses | Useless parentheses around `((Number) v).byteValue()`. | 4 | 77 |
Opencast :: common - org/opencastproject/util/data/functions/Options.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 66 |
Opencast :: common - org/opencastproject/util/doc/rest/RestParameter.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 38 |
Opencast :: composer-ffmpeg - org/opencastproject/composer/impl/ComposerServiceImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–2542 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 351 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 355 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 411 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 417 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 431 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 435 |
| UselessParentheses | Useless parentheses around `stream -> stream instanceof VideoStream`. | 4 | 505 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Tuple': 'tuple' is already in scope | 4 | 711 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Tuple': 'tuple' is already in scope | 4 | 711 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Option': 'none' is already in scope | 4 | 803 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ComposerService': 'BOTH' is already in scope because it is inherited by an enclosing type | 4 | 880 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ComposerService': 'UPPER' is already in scope because it is inherited by an enclosing type | 4 | 883 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ComposerService': 'LOWER' is already in scope because it is inherited by an enclosing type | 4 | 885 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 990 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 1121 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 1500–1502 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Option': 'none' is already in scope | 4 | 1583 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Option': 'none' is already in scope | 4 | 1597 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Option': 'some' is already in scope | 4 | 1602 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 1692 |
| UselessParentheses | Useless parentheses around `'a' + i + 1 - ((characterCount - 1) * 25)`. | 4 | 1822 |
| UselessParentheses | Useless parentheses around `'a' + i + 1 - ((characterCount - 1) * 25)`. | 4 | 1846 |
| UnusedFormalParameter | Avoid unused method parameters such as 'ex'. | 3 | 1929 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 2217–2220 |
| UselessParentheses | Useless parentheses around `serviceRegistry.createJob(JOB_TYPE, Operation.P...`. | 4 | 2219 |
| UselessParentheses | Useless parentheses around `profiles`. | 4 | 2247 |
| UselessParentheses | Useless parentheses around `(SmilMediaParamGroup) smil.get(trackParamGroupId)`. | 4 | 2271 |
| UnusedLocalVariable | Avoid unused local variables such as 'sourceTrackFlavor'. | 3 | 2315 |
Opencast :: composer-ffmpeg - org/opencastproject/composer/impl/EncoderEngine.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `al`. | 4 | 517 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 720–721 |
| UnusedLocalVariable | Avoid unused local variables such as 'maxrate'. | 3 | 818 |
| UselessParentheses | Useless parentheses around `hasVideo ? videoOut : null`. | 4 | 1295 |
| UselessParentheses | Useless parentheses around `hasAudio ? audioOut : null`. | 4 | 1296 |
Opencast :: composer-ffmpeg - org/opencastproject/composer/impl/EncodingProfileScanner.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 275–278 |
Opencast :: composer-ffmpeg - org/opencastproject/composer/impl/endpoint/ComposerRestService.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 211 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 252 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 295 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 354 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 355 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 356 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 424 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 486 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 550 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 551 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 552 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 553 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 554 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 555 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 556 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 557 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 630 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 635 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 693 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 744 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 784 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 828 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 864 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 906 |
Opencast :: composer-workflowoperation - org/opencastproject/workflow/handler/composer/ConcatWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 100 |
| UselessParentheses | Useless parentheses around `new File(left.getURI().getPath())`. | 4 | 251 |
| UselessParentheses | Useless parentheses around `new File(right.getURI().getPath())`. | 4 | 252 |
| UselessParentheses | Useless parentheses around `l.compareTo(r)`. | 4 | 253 |
Opencast :: composer-workflowoperation - org/opencastproject/workflow/handler/composer/DemuxWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `new MediaPackageElementFlavor(flavorType, flavo...`. | 4 | 264 |
Opencast :: composer-workflowoperation - org/opencastproject/workflow/handler/composer/ImageWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–627 |
| UselessParentheses | Useless parentheses around `(double) durationMs - endMarginMs`. | 4 | 368 |
Opencast :: composer-workflowoperation - org/opencastproject/workflow/handler/composer/MultiEncodeWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `targetTags.length != 1 && sourceTags.length != ...`. | 4 | 224 |
| UselessParentheses | Useless parentheses around `sourceTags.length != 1 && sourceFlavors.length ...`. | 4 | 234 |
| UselessParentheses | Useless parentheses around `targetFlavors.length != 1 && sourceFlavors.leng...`. | 4 | 244 |
| UselessParentheses | Useless parentheses around `profiles.length != 1 && sourceFlavors.length !=...`. | 4 | 257 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 274–278 |
| UnusedFormalParameter | Avoid unused method parameters such as 'track'. | 3 | 486 |
| UnusedFormalParameter | Avoid unused method parameters such as 'mediaPackage'. | 3 | 486 |
| UselessParentheses | Useless parentheses around `new MediaPackageElementFlavor(flavorType, flavo...`. | 4 | 511 |
Opencast :: composer-workflowoperation - org/opencastproject/workflow/handler/composer/PartialImportWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `trackDimension.getB().getWidth() / 2`. | 4 | 681 |
| UselessParentheses | Useless parentheses around `trackDimension.getB().getHeight() / 2`. | 4 | 681–682 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 1039 |
Opencast :: composer-workflowoperation - org/opencastproject/workflow/handler/composer/PrepareAVWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `QUESTION_MARK.equals(flavor.getType())`. | 4 | 371 |
| UselessParentheses | Useless parentheses around `QUESTION_MARK.equals(flavor.getSubtype())`. | 4 | 372 |
Opencast :: composer-workflowoperation - org/opencastproject/workflow/handler/composer/ProcessSmilWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 166 |
| UselessParentheses | Useless parentheses around `options`. | 4 | 252 |
| UnusedFormalParameter | Avoid unused method parameters such as 'track'. | 3 | 591 |
| UnusedFormalParameter | Avoid unused method parameters such as 'mediaPackage'. | 3 | 591 |
| UselessParentheses | Useless parentheses around `(trackFlavor.getType().equals(sourceFlavor.getT...`. | 4 | 611–615 |
Opencast :: composer-workflowoperation - org/opencastproject/workflow/handler/composer/SanitizeAdaptiveWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedLocalVariable | Avoid unused local variables such as 'operation'. | 3 | 140 |
Opencast :: conductor - org/opencastproject/event/handler/AssetManagerUpdatedEventHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 280–282 |
Opencast :: conductor - org/opencastproject/event/handler/ConductingEpisodeUpdatedEventHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 74–76 |
Opencast :: crop-workflowoperation - org/opencastproject/workflow/handler/crop/CropWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedLocalVariable | Avoid unused local variables such as 'operation'. | 3 | 96 |
Opencast :: distribution-service-aws-s3-remote - org/opencastproject/distribution/aws/s3/remote/AwsS3DistributionServiceRemoteImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 21–221 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 125 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 147 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 171 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 195 |
Opencast :: distribution-service-aws-s3 - org/opencastproject/distribution/aws/s3/AwsS3DistributionServiceImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedLocalVariable | Avoid unused local variables such as 'distributedElementUriStr'. | 3 | 554 |
Opencast :: distribution-service-download-remote - org/opencastproject/distribution/download/remote/DownloadDistributionServiceRemoteImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–218 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 129 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 151 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 175 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 199 |
Opencast :: distribution-service-download - org/opencastproject/distribution/download/DownloadDistributionServiceImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 21–946 |
Opencast :: distribution-service-streaming-remote - org/opencastproject/distribution/streaming/remote/StreamingDistributionServiceRemoteImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–227 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 140 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 162 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 185 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 209 |
Opencast :: distribution-service-streaming-wowza - org/opencastproject/distribution/streaming/wowza/WowzaStreamingDistributionService.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 179 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 267 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 268 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 275 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 282 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 432 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RequireUtil': 'notNull' is already in scope | 4 | 806 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RequireUtil': 'notNull' is already in scope | 4 | 807 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RequireUtil': 'notNull' is already in scope | 4 | 808 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 832 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 859 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 1115 |
Opencast :: distribution-workflowoperation - org/opencastproject/workflow/handler/distribution/ConfigurablePublishWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `downloadDistributionService != null`. | 4 | 151 |
| UselessParentheses | Useless parentheses around `streamingDistributionService != null`. | 4 | 157 |
| UselessParentheses | Useless parentheses around `"fail"`. | 4 | 245 |
| UselessParentheses | Useless parentheses around `"merge"`. | 4 | 249 |
| UselessParentheses | Useless parentheses around `streaming ? "streaming" : "download"`. | 4 | 329 |
Opencast :: distribution-workflowoperation - org/opencastproject/workflow/handler/distribution/ConfigurableRetractWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `downloadDistributionService != null`. | 4 | 78 |
| UselessParentheses | Useless parentheses around `streamingDistributionService != null`. | 4 | 84 |
| UselessParentheses | Useless parentheses around `channelId`. | 4 | 103 |
Opencast :: distribution-workflowoperation - org/opencastproject/workflow/handler/distribution/ConfigurableWorkflowOperationHandlerBase.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `(publication != null) && (mp != null)`. | 4 | 70 |
| UselessParentheses | Useless parentheses around `(channelId != null) && (publication != null) &&...`. | 4 | 101 |
| UselessParentheses | Useless parentheses around `(mp != null) && (channelId != null)`. | 4 | 161 |
| UselessParentheses | Useless parentheses around `publications != null`. | 4 | 165 |
| UselessParentheses | Useless parentheses around `(mp != null) && (channelId != null)`. | 4 | 171 |
Opencast :: distribution-workflowoperation - org/opencastproject/workflow/handler/distribution/PartialRetractEngageWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedPrivateMethod | Avoid unused private methods such as 'findPublicationElement(MediaPackage)'. | 3 | 190 |
Opencast :: distribution-workflowoperation - org/opencastproject/workflow/handler/distribution/PublishEngageWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–813 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 4 | 406 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 602–609 |
Opencast :: distribution-workflowoperation - org/opencastproject/workflow/handler/distribution/PublishOaiPmhWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 21–286 |
Opencast :: dublincore - org/opencastproject/metadata/dublincore/DublinCoreCatalog.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `language.equals(lang)`. | 4 | 119 |
Opencast :: dublincore - org/opencastproject/metadata/dublincore/DublinCoreCatalogService.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DublinCore': 'PROPERTY_TEMPORAL' is already in scope because it is imported in this file | 4 | 113 |
Opencast :: dublincore - org/opencastproject/metadata/dublincore/DublinCoreJsonFormat.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DublinCore': 'LANGUAGE_UNDEFINED' is already in scope because it is imported in this file | 4 | 151 |
Opencast :: dublincore - org/opencastproject/metadata/dublincore/DublinCoreMetadataCollection.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 226–229 |
Opencast :: dublincore - org/opencastproject/metadata/dublincore/DublinCoreXmlFormat.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `mergeEntry.getEName()`. | 4 | 193 |
Opencast :: dublincore - org/opencastproject/metadata/dublincore/DublinCores.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–206 |
Opencast :: dublincore - org/opencastproject/metadata/dublincore/EncodingSchemeUtils.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 159–160 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 171–172 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 206–207 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.util': 'Date' is already in scope because it is imported in this file | 4 | 213 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 215–216 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 229–230 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.util': 'Date' is already in scope because it is imported in this file | 4 | 235 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 237–238 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 331–333 |
Opencast :: dublincore - org/opencastproject/metadata/dublincore/MetadataJson.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–480 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MetadataJson': 'fillCollectionFromJson' is already in scope | 4 | 456 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MetadataJson': 'collectionToJson' is already in scope | 4 | 474 |
Opencast :: dublincore - org/opencastproject/metadata/dublincore/OpencastDctermsDublinCore.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 21–608 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 372–373 |
Opencast :: dublincore - org/opencastproject/metadata/dublincore/StaticMetadataServiceDublinCoreImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–420 |
| UnusedLocalVariable | Avoid unused local variables such as 'start'. | 3 | 172 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 232–235 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 243–245 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 253–255 |
| UnusedPrivateMethod | Avoid unused private methods such as 'flavorPredicate(MediaPackageElementFlavor)'. | 3 | 397 |
Opencast :: editor-service-api - org/opencastproject/editor/api/EditingData.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'title'. | 3 | 48 |
| UnusedPrivateField | Avoid unused private fields such as 'date'. | 3 | 49 |
| UnusedPrivateField | Avoid unused private fields such as 'duration'. | 3 | 50 |
| UnusedPrivateField | Avoid unused private fields such as 'series'. | 3 | 51 |
| UnusedPrivateField | Avoid unused private fields such as 'waveformURIs'. | 3 | 63 |
| UnusedPrivateField | Avoid unused private fields such as 'local'. | 3 | 65 |
Opencast :: editor-service-api - org/opencastproject/editor/api/EditorRestEndpointBase.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 237 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 239 |
Opencast :: editor-service-api - org/opencastproject/editor/api/SeriesData.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'id'. | 3 | 24 |
| UnusedPrivateField | Avoid unused private fields such as 'title'. | 3 | 25 |
Opencast :: editor-service-api - org/opencastproject/editor/api/TrackData.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'uri'. | 3 | 38 |
| UnusedPrivateField | Avoid unused private fields such as 'thumbnailPriority'. | 3 | 41 |
Opencast :: editor-service-api - org/opencastproject/editor/api/TrackSubData.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'available'. | 3 | 27 |
Opencast :: editor-service-api - org/opencastproject/editor/api/WorkflowData.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'name'. | 3 | 25 |
| UnusedPrivateField | Avoid unused private fields such as 'displayOrder'. | 3 | 26 |
| UnusedPrivateField | Avoid unused private fields such as 'description'. | 3 | 27 |
Opencast :: editor-service-remote - org/opencastproject/editor/remote/EditorServiceRemoteImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'EditorService': 'JOB_TYPE' is already in scope because it is inherited by an enclosing type | 4 | 72 |
Opencast :: editor-service - org/opencastproject/editor/EditorLock.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `null != getLockData(mediaPackage)`. | 4 | 77 |
Opencast :: editor-service - org/opencastproject/editor/EditorServiceImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'EditorService': 'TARGET_FILE_NAME' is already in scope because it is inherited by an enclosing type | 4 | 515 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 824–826 |
Opencast :: elasticsearch-api - org/opencastproject/elasticsearch/api/SearchTerms.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 35 |
Opencast :: elasticsearch-impl - org/opencastproject/elasticsearch/impl/AbstractElasticsearchQueryBuilder.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'IndexSchema': 'TEXT' is already in scope because it is imported in this file | 4 | 163 |
Opencast :: elasticsearch-impl - org/opencastproject/elasticsearch/impl/AbstractSearchQuery.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Quantifier': 'Any' is already in scope because it is imported in this file | 4 | 183 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Quantifier': 'Any' is already in scope because it is imported in this file | 4 | 191 |
Opencast :: elasticsearch-index - org/opencastproject/elasticsearch/index/objects/event/Comment.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'IndexObject': 'INDEX_XML_NAMESPACE' is already in scope because it is inherited by an enclosing type | 4 | 207 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Comment': 'context' is already in scope because it is declared in an enclosing type | 4 | 236 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Comment': 'context' is already in scope because it is declared in an enclosing type | 4 | 280 |
Opencast :: elasticsearch-index - org/opencastproject/elasticsearch/index/objects/event/Event.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'IndexObject': 'INDEX_XML_NAMESPACE' is already in scope because it is inherited by an enclosing type | 4 | 1171 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Event': 'context' is already in scope because it is declared in an enclosing type | 4 | 1200 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Event': 'context' is already in scope because it is declared in an enclosing type | 4 | 1244 |
Opencast :: elasticsearch-index - org/opencastproject/elasticsearch/index/objects/event/EventSearchQuery.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 123–125 |
Opencast :: elasticsearch-index - org/opencastproject/elasticsearch/index/objects/series/Series.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'IndexObject': 'INDEX_XML_NAMESPACE' is already in scope because it is inherited by an enclosing type | 4 | 617 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Series': 'context' is already in scope because it is declared in an enclosing type | 4 | 646 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Series': 'context' is already in scope because it is declared in an enclosing type | 4 | 690 |
Opencast :: elasticsearch-index - org/opencastproject/elasticsearch/index/objects/series/SeriesSearchQuery.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 100–102 |
Opencast :: elasticsearch-index - org/opencastproject/elasticsearch/index/objects/theme/IndexTheme.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'IndexTheme': 'context' is already in scope because it is declared in an enclosing type | 4 | 365 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'IndexTheme': 'valueOf' is already in scope | 4 | 385 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'IndexTheme': 'DOCUMENT_TYPE' is already in scope because it is declared in an enclosing type | 4 | 395 |
Opencast :: elasticsearch-index - org/opencastproject/elasticsearch/index/rebuild/IndexRebuildService.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessQualifiedThis | Useless qualified this usage in the same class. | 3 | 282 |
Opencast :: event-comment - org/opencastproject/event/comment/EventCommentParser.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XPathConstants': 'STRING' is already in scope because it is imported in this file | 4 | 105 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XPathConstants': 'STRING' is already in scope because it is imported in this file | 4 | 116 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XPathConstants': 'STRING' is already in scope because it is imported in this file | 4 | 122 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XPathConstants': 'STRING' is already in scope because it is imported in this file | 4 | 127 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XPathConstants': 'STRING' is already in scope because it is imported in this file | 4 | 163 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XPathConstants': 'STRING' is already in scope because it is imported in this file | 4 | 171 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XPathConstants': 'STRING' is already in scope because it is imported in this file | 4 | 176 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XPathConstants': 'STRING' is already in scope because it is imported in this file | 4 | 195 |
Opencast :: event-comment - org/opencastproject/event/comment/persistence/EventCommentDto.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 377 |
Opencast :: event-comment - org/opencastproject/event/comment/persistence/EventCommentReplyDto.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 208 |
Opencast :: execute-impl - org/opencastproject/execute/impl/ExecuteServiceImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ExecuteService': 'COLLECTION' is already in scope because it is inherited by an enclosing type | 4 | 502 |
Opencast :: execute-impl - org/opencastproject/execute/impl/endpoint/ExecuteRestEndpoint.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'javax.ws.rs.core': 'Response' is already in scope because it is imported in this file | 4 | 198 |
Opencast :: execute-remote - org/opencastproject/execute/remote/ExecuteServiceRemoteImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ExecuteService': 'ENDPOINT_NAME' is already in scope because it is inherited by an enclosing type | 4 | 97 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ExecuteService': 'ENDPOINT_NAME' is already in scope because it is inherited by an enclosing type | 4 | 142 |
Opencast :: external-api - org/opencastproject/external/endpoint/BaseEndpoint.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 21–276 |
Opencast :: external-api - org/opencastproject/external/endpoint/EventsEndpoint.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 21–2171 |
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 253 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 458–459 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 534 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 580 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 581 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 582 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 586 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 653 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ApiVersion': 'VERSION_1_1_0' is already in scope because it is imported in this file | 4 | 817 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ApiVersion': 'VERSION_1_1_0' is already in scope because it is imported in this file | 4 | 836 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 1120 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 1121 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 1123 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 1158 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'com.entwinemedia.fn.Stream': '$' is already in scope | 4 | 1190 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 1208 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 1286 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 1325 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 1340 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 1393 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 1465 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 1606 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 1660 |
| UselessParentheses | Useless parentheses around `(includeInternalPublication != null && includeI...`. | 4 | 1701 |
| UselessParentheses | Useless parentheses around `!requestedVersion.isSmallerThan(VERSION_1_11_0)...`. | 4 | 1830 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 1970 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 1971 |
Opencast :: external-api - org/opencastproject/external/endpoint/GroupsEndpoint.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 21–420 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 153 |
| UselessParentheses | Useless parentheses around `members1.size() - members2.size()`. | 4 | 265 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 273 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 274 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NO_CONTENT' is already in scope because it is imported in this file | 4 | 298 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 299 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_CREATED' is already in scope because it is imported in this file | 4 | 323 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 324 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NO_CONTENT' is already in scope because it is imported in this file | 4 | 398 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 399 |
Opencast :: external-api - org/opencastproject/external/endpoint/PlaylistsEndpoint.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 21–379 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 155 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 156 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 195 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 285 |
Opencast :: external-api - org/opencastproject/external/endpoint/SecurityEndpoint.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 21–168 |
Opencast :: external-api - org/opencastproject/external/endpoint/SeriesEndpoint.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 21–1508 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 215 |
| UselessParentheses | Useless parentheses around `withAcl != null && withAcl`. | 4 | 340 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 428 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'com.entwinemedia.fn.Stream': '$' is already in scope | 4 | 496 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 509 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 514 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 673 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 700 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 701 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 705 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 4 | 771 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 795 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 830 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 858 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 899 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 900 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 924 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 950 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 4 | 997 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 1022 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1062 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1103 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 4 | 1108 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 4 | 1470 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 4 | 1471 |
Opencast :: external-api - org/opencastproject/external/endpoint/WorkflowDefinitionsEndpoint.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 21–296 |
Opencast :: external-api - org/opencastproject/external/endpoint/WorkflowsEndpoint.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 21–447 |
Opencast :: external-api - org/opencastproject/external/util/CaptureAgentUtils.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 21–70 |
| UselessParentheses | Useless parentheses around `StringUtils.isEmpty(devices)`. | 4 | 67 |
Opencast :: external-api - org/opencastproject/external/util/SchedulingUtils.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 21–431 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 4 | 409 |
Opencast :: graphql - org/opencastproject/graphql/command/CreateSeriesCommand.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedLocalVariable | Avoid unused local variables such as 'seriesService'. | 3 | 72 |
Opencast :: graphql - org/opencastproject/graphql/datafetcher/event/CommonEventMetadataDataFetcher.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedLocalVariable | Avoid unused local variables such as 'e'. | 3 | 63 |
Opencast :: graphql - org/opencastproject/graphql/directive/RolesAllowedWiring.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Duplicate parentheses around `(dataFetchingEnvironment, value) -> { ... }`. | 4 | 40–51 |
Opencast :: graphql - org/opencastproject/graphql/execution/context/OpencastContext.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'arguments'. | 3 | 37 |
Opencast :: graphql - org/opencastproject/graphql/schema/SchemaBuilder.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'logger'. | 3 | 53 |
| UnusedPrivateField | Avoid unused private fields such as 'organization'. | 3 | 57 |
Opencast :: graphql - org/opencastproject/graphql/type/output/field/GqlBooleanMetadataField.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `metadataField.getValue()`. | 4 | 50 |
Opencast :: graphql - org/opencastproject/graphql/type/output/field/GqlIntMetadataField.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `metadataField.getValue()`. | 4 | 52 |
Opencast :: graphql - org/opencastproject/graphql/type/output/field/GqlListMetadataField.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryImport | Unused static import 'org.opencastproject.graphql.type.output.field.GqlListMetadataField.TYPE_NAME' | 4 | 24 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'GqlListMetadataField': 'TYPE_NAME' is already in scope because it is imported in this file | 4 | 34 |
| UselessParentheses | Useless parentheses around `metadataField.getValue()`. | 4 | 54 |
Opencast :: graphql - org/opencastproject/graphql/type/output/field/GqlLongMetadataField.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryImport | Unused static import 'org.opencastproject.graphql.type.output.field.GqlLongMetadataField.TYPE_NAME' | 4 | 24 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'GqlLongMetadataField': 'TYPE_NAME' is already in scope because it is imported in this file | 4 | 32 |
| UselessParentheses | Useless parentheses around `metadataField.getValue()`. | 4 | 52 |
Opencast :: graphql - org/opencastproject/graphql/type/output/field/GqlStringMetadataField.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryImport | Unused static import 'org.opencastproject.graphql.type.output.field.GqlStringMetadataField.TYPE_NAME' | 4 | 24 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'GqlStringMetadataField': 'TYPE_NAME' is already in scope because it is imported in this file | 4 | 32 |
| UselessParentheses | Useless parentheses around `metadataField.getValue()`. | 4 | 52 |
Opencast :: index-service - org/opencastproject/index/service/api/IndexService.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 60 |
Opencast :: index-service - org/opencastproject/index/service/catalog/adapter/CatalogUIAdapterFactory.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| SimplifiedTernary | This conditional expression can be simplified with || or && | 3 | 123 |
Opencast :: index-service - org/opencastproject/index/service/catalog/adapter/ConfigurableDCCatalogUIAdapter.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 104–107 |
Opencast :: index-service - org/opencastproject/index/service/impl/IndexServiceImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–2105 |
| UnusedLocalVariable | Avoid unused local variables such as 'ingest'. | 3 | 996 |
| UselessParentheses | Useless parentheses around `(removedScheduler || notFoundScheduler) && (rem...`. | 4 | 1584–1585 |
Opencast :: index-service - org/opencastproject/index/service/resources/list/provider/EventCommentsListProvider.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 58 |
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 63 |
Opencast :: index-service - org/opencastproject/index/service/resources/list/provider/SeriesListProvider.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 243–252 |
Opencast :: index-service - org/opencastproject/index/service/resources/list/provider/UsersListProvider.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `(user != null) && (user.getUsername() != null)`. | 4 | 141 |
| UselessParentheses | Useless parentheses around `name != null`. | 4 | 148 |
Opencast :: index-service - org/opencastproject/index/service/resources/list/query/ServicesListQuery.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 202–204 |
Opencast :: index-service - org/opencastproject/index/service/util/RequestUtils.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.json.simple.parser': 'ParseException' is already in scope because it is imported in this file | 4 | 136 |
Opencast :: index-service - org/opencastproject/index/service/util/RestUtils.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–336 |
Opencast :: ingest-service-impl - org/opencastproject/ingest/impl/IngestServiceImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–2158 |
| UselessParentheses | Useless parentheses around `(String) properties.get(DOWNLOAD_USER)`. | 4 | 416 |
| UselessParentheses | Useless parentheses around `(String) properties.get(DOWNLOAD_SOURCE)`. | 4 | 417 |
| UselessParentheses | Useless parentheses around `(String) properties.get(SERIES_APPENDIX)`. | 4 | 442 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DublinCore': 'PROPERTY_IDENTIFIER' is already in scope because it is imported in this file | 4 | 922 |
| UnusedLocalVariable | Avoid unused local variables such as 'createdSeries'. | 3 | 2142 |
Opencast :: ingest-service-impl - org/opencastproject/ingest/scanner/InboxScannerService.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 256 |
Opencast :: ingest-service-impl - org/opencastproject/ingest/scanner/Ingestor.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 278–280 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 282–284 |
| UselessQualifiedThis | Useless qualified this usage in the same class. | 3 | 348 |
| UselessQualifiedThis | Useless qualified this usage in the same class. | 3 | 355 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 576 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 594 |
Opencast :: inspection-service-api - org/opencastproject/inspection/api/util/Options.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 44 |
Opencast :: inspection-service-ffmpeg - org/opencastproject/inspection/ffmpeg/FFmpegAnalyzer.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| PrimitiveWrapperInstantiation | Do not use `new Double(...)`, prefer `Double.valueOf(...)` | 3 | 203 |
| PrimitiveWrapperInstantiation | Do not use `new Float(...)`, prefer `Float.valueOf(...)` | 3 | 215 |
| PrimitiveWrapperInstantiation | Do not use `new Double(...)`, prefer `Double.valueOf(...)` | 3 | 261 |
| PrimitiveWrapperInstantiation | Do not use `new Float(...)`, prefer `Float.valueOf(...)` | 3 | 273 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 359–363 |
Opencast :: inspection-service-ffmpeg - org/opencastproject/inspection/ffmpeg/MediaInspectionServiceImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `options != null`. | 4 | 190 |
| UselessParentheses | Useless parentheses around `options != null`. | 4 | 220 |
Opencast :: inspection-service-ffmpeg - org/opencastproject/inspection/ffmpeg/MediaInspector.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedFormalParameter | Avoid unused method parameters such as 'options'. | 3 | 336 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 411–413 |
| EmptyControlStatement | Empty if statement | 3 | 536–540 |
Opencast :: inspection-service-ffmpeg - org/opencastproject/inspection/ffmpeg/endpoints/MediaInspectionRestEndpoint.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'javax.ws.rs.core': 'Response' is already in scope because it is imported in this file | 4 | 218 |
Opencast :: inspection-service-remote - org/opencastproject/inspection/remote/MediaInspectionServiceRemoteImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `options != null`. | 4 | 113 |
| UselessParentheses | Useless parentheses around `options != null`. | 4 | 150 |
| PrimitiveWrapperInstantiation | Do not use `new Boolean(...)`, prefer `Boolean.valueOf` | 3 | 154 |
Opencast :: kernel - org/opencastproject/kernel/bundleinfo/BundleInfoImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'dbSchemaVersion'. | 3 | 34 |
Opencast :: kernel - org/opencastproject/kernel/bundleinfo/BundleInfoLogger.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–124 |
Opencast :: kernel - org/opencastproject/kernel/bundleinfo/BundleInfoRestEndpoint.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–233 |
Opencast :: kernel - org/opencastproject/kernel/mail/BaseSmtpService.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 47 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'javax.mail': 'Session' is already in scope because it is imported in this file | 4 | 259 |
Opencast :: kernel - org/opencastproject/kernel/rest/CleanSessionsFilter.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 98–102 |
Opencast :: kernel - org/opencastproject/kernel/rest/RestPublisher.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RestConstants': 'HTTP_CONTEXT_ID' is already in scope because it is inherited by an enclosing type | 4 | 197 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RestConstants': 'HTTP_CLASSPATH' is already in scope because it is inherited by an enclosing type | 4 | 453 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RestConstants': 'HTTP_ALIAS' is already in scope because it is inherited by an enclosing type | 4 | 454 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RestConstants': 'HTTP_WELCOME' is already in scope because it is inherited by an enclosing type | 4 | 455 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RestConstants': 'HTTP_SPA_REDIRECT' is already in scope because it is inherited by an enclosing type | 4 | 457 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RestConstants': 'HTTP_CONTEXT_ID' is already in scope because it is inherited by an enclosing type | 4 | 462 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RestConstants': 'HTTP_CLASSPATH' is already in scope because it is inherited by an enclosing type | 4 | 486 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RestConstants': 'HTTP_ALIAS' is already in scope because it is inherited by an enclosing type | 4 | 487 |
Opencast :: kernel - org/opencastproject/kernel/scanner/AbstractScanner.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.quartz': 'SchedulerException' is already in scope because it is imported in this file | 4 | 235 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 298 |
Opencast :: kernel - org/opencastproject/kernel/security/AsyncTimeoutRedirectFilter.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ThrowableAnalyzer': 'verifyThrowableHierarchy' is already in scope | 4 | 103 |
Opencast :: kernel - org/opencastproject/kernel/security/RemoteUserAndOrganizationFilter.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–320 |
Opencast :: kernel - org/opencastproject/kernel/security/SecurityServiceSpringImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SecurityServiceSpringImpl': 'organization' is already in scope because it is declared in an enclosing type | 4 | 82 |
| UselessParentheses | Useless parentheses around `principal instanceof UserDetails`. | 4 | 120 |
Opencast :: kernel - org/opencastproject/kernel/security/SystemTokenBasedRememberMeService.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'logger'. | 3 | 39 |
Opencast :: kernel - org/opencastproject/kernel/security/SystemTokenRememberMeUtils.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 67–69 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 77–79 |
Opencast :: kernel - org/opencastproject/kernel/security/TrustedHttpClientImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `retryBaseDelay * MILLISECONDS_IN_SECONDS + vari...`. | 4 | 545 |
| UselessParentheses | Useless parentheses around `"Nonce has expired/timed out".equals(response.g...`. | 4 | 575 |
Opencast :: live-schedule-impl - org/opencastproject/liveschedule/impl/LiveScheduleServiceImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 431–433 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 552–556 |
Opencast :: live-schedule-impl - org/opencastproject/liveschedule/message/SchedulerEventUpdateHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 129–131 |
Opencast :: lti-service-remote - org/opencastproject/lti/endpoint/LtiServiceRemoteImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'LtiService': 'JOB_TYPE' is already in scope because it is inherited by an enclosing type | 4 | 67 |
Opencast :: mattermost-notification-workflowoperation - org/opencastproject/workflow/handler/mattermost/notification/MattermostNotificationWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 21–311 |
Opencast :: message-broker-api - org/opencastproject/message/broker/api/scheduler/SchedulerItem.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 64 |
Opencast :: message-broker-api - org/opencastproject/message/broker/api/series/SeriesItem.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 53 |
Opencast :: mpeg7 - org/opencastproject/metadata/mpeg7/KeywordAnnotation.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 62 |
Opencast :: mpeg7 - org/opencastproject/metadata/mpeg7/MediaDurationImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `milliseconds / MS_PER_SECOND`. | 4 | 93 |
| UselessParentheses | Useless parentheses around `milliseconds / MS_PER_MINUTE`. | 4 | 94 |
| UselessParentheses | Useless parentheses around `milliseconds / MS_PER_HOUR`. | 4 | 95 |
| UselessOverridingMethod | Overriding method merely calls super | 3 | 296 |
Opencast :: mpeg7 - org/opencastproject/metadata/mpeg7/MediaRelTimePointImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `milliseconds / MS_PER_SECOND`. | 4 | 69 |
| UselessParentheses | Useless parentheses around `milliseconds / MS_PER_MINUTE`. | 4 | 70 |
| UselessParentheses | Useless parentheses around `milliseconds / MS_PER_HOUR`. | 4 | 71 |
| UselessOverridingMethod | Overriding method merely calls super | 3 | 146 |
Opencast :: mpeg7 - org/opencastproject/metadata/mpeg7/Mpeg7Parser.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 59 |
| UselessParentheses | Useless parentheses around `coordsL[2] - coordsL[0]`. | 4 | 367 |
Opencast :: mpeg7 - org/opencastproject/metadata/mpeg7/MultimediaContent.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 39 |
Opencast :: mpeg7 - org/opencastproject/metadata/mpeg7/MultimediaContentType.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 37 |
Opencast :: mpeg7 - org/opencastproject/metadata/mpeg7/Segment.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 83 |
Opencast :: mpeg7 - org/opencastproject/metadata/mpeg7/SpatioTemporalDecompositionImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `hasGap ? "true" : "false"`. | 4 | 151 |
| UselessParentheses | Useless parentheses around `hasOverlap ? "true" : "false"`. | 4 | 152 |
Opencast :: mpeg7 - org/opencastproject/metadata/mpeg7/TemporalDecomposition.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 39 |
Opencast :: mpeg7 - org/opencastproject/metadata/mpeg7/TemporalDecompositionImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `gap ? "true" : "false"`. | 4 | 153 |
| UselessParentheses | Useless parentheses around `overlap ? "true" : "false"`. | 4 | 154 |
Opencast :: mpeg7 - org/opencastproject/metadata/mpeg7/VideoText.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 67 |
Opencast :: notification-workflowoperation - org/opencastproject/workflow/handler/notification/MediaPackagePostOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `"NO"`. | 4 | 231 |
| UselessParentheses | Useless parentheses around `"FALSE"`. | 4 | 231 |
Opencast :: oaipmh-persistence - org/opencastproject/oaipmh/persistence/impl/AbstractOaiPmhDatabase.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedLocalVariable | Avoid unused local variables such as 'lastDate'. | 3 | 196 |
| UnusedLocalVariable | Avoid unused local variables such as 'resultSize'. | 3 | 197 |
| UnusedLocalVariable | Avoid unused local variables such as 'resultOffset'. | 3 | 198 |
| UnusedLocalVariable | Avoid unused local variables such as 'resultLimit'. | 3 | 199 |
Opencast :: oaipmh - org/opencastproject/oaipmh/matterhorn/MatterhornInlinedMetadataProvider.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 92 |
Opencast :: oaipmh - org/opencastproject/oaipmh/server/OaiPmhRepository.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 21–775 |
| UselessQualifiedThis | Useless qualified this usage in the same class. | 3 | 291 |
Opencast :: oaipmh - org/opencastproject/oaipmh/server/OaiPmhServer.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 21–285 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 218 |
Opencast :: oaipmh - org/opencastproject/oaipmh/server/OaiXmlGen.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 21–220 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'OaiPmhConstants': 'OAI_2_0_XML_NS' is already in scope because it is imported in this file | 4 | 63 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.util': 'Collections' is already in scope because it is imported in this file | 4 | 216 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.util': 'Collections' is already in scope because it is imported in this file | 4 | 217 |
Opencast :: playlists - org/opencastproject/playlists/PlaylistRestService.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 21–659 |
Opencast :: playlists - org/opencastproject/playlists/PlaylistService.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 203–206 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 211–214 |
Opencast :: publication-service-configurable - org/opencastproject/publication/configurable/ConfigurablePublicationServiceImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessOverridingMethod | Overriding method merely calls super | 3 | 71 |
| UselessOverridingMethod | Overriding method merely calls super | 3 | 80 |
Opencast :: publication-service-oaipmh - org/opencastproject/publication/oaipmh/OaiPmhPublicationServiceImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 650–653 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 800–805 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 850–851 |
| EmptyControlStatement | Empty if statement | 3 | 995–997 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 999 |
Opencast :: rename-files-workflowoperation - org/opencastproject/workflow/handler/rename/RenameFilesWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedLocalVariable | Avoid unused local variables such as 'extension'. | 3 | 131 |
Opencast :: rest-test-environment - org/opencastproject/test/rest/RestServiceTestEnv.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AvoidUsingHardCodedIP | Do not hard code the IP address ${variableName} | 3 | 133 |
Opencast :: runtime-info - org/opencastproject/runtimeinfo/rest/RestEndpointData.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `httpMethod.isEmpty()`. | 4 | 125 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 294–312 |
Opencast :: runtime-info - org/opencastproject/runtimeinfo/rest/RestFormatData.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `name.equalsIgnoreCase(MediaType.TEXT_XML)`. | 4 | 70 |
| UselessParentheses | Useless parentheses around `name.equalsIgnoreCase(MediaType.APPLICATION_XML)`. | 4 | 70 |
Opencast :: runtime-info - org/opencastproject/runtimeinfo/rest/RestParamData.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 39 |
| UselessParentheses | Useless parentheses around `defaultValue.isEmpty()`. | 4 | 97 |
| UselessParentheses | Useless parentheses around `description.isEmpty()`. | 4 | 106 |
Opencast :: scheduler-api - org/opencastproject/scheduler/api/Util.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Util': 'calculatePeriods' is already in scope | 4 | 94 |
Opencast :: scheduler-impl - org/opencastproject/scheduler/endpoint/SchedulerRestService.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–2041 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 326 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 330 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 365 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 369 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 406 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 410 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 447 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 451 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 508 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 512 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 548 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 552 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 589 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 592 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 641 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 697 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 757 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 836 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 838 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 957 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 959 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1070 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 1080 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 1082 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1182 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1213 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1242 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1278 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1344 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 1346 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 1348 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1405 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 1407 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 1409 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1461 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 1463 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1499 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1526 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 1527 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1555 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1594 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1634 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 1681 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1807 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 1811 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DublinCore': 'PROPERTY_TEMPORAL' is already in scope because it is imported in this file | 4 | 1853 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1890 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 1893 |
Opencast :: scheduler-impl - org/opencastproject/scheduler/impl/CaptureNowProlongingService.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 236–237 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DublinCore': 'PROPERTY_TEMPORAL' is already in scope because it is imported in this file | 4 | 391 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DublinCore': 'PROPERTY_TEMPORAL' is already in scope because it is imported in this file | 4 | 410 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 422 |
Opencast :: scheduler-impl - org/opencastproject/scheduler/impl/SchedulerServiceImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 21–1824 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SchedulerService': 'JOB_TYPE' is already in scope because it is inherited by an enclosing type | 4 | 180 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 323 |
| UselessParentheses | Useless parentheses around `securityService.getUser().hasRole(GLOBAL_ADMIN_...`. | 4 | 850–851 |
Opencast :: scheduler-impl - org/opencastproject/scheduler/impl/persistence/ExtendedEventDto.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `"organization"`. | 4 | 75 |
| UselessParentheses | Useless parentheses around `"capture_agent_id"`. | 4 | 76 |
| UselessParentheses | Useless parentheses around `"start_date, end_date"`. | 4 | 77 |
Opencast :: scheduler-impl - org/opencastproject/scheduler/impl/persistence/LastModifiedDto.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `"last_modified"`. | 4 | 47 |
Opencast :: scheduler-remote - org/opencastproject/scheduler/remote/SchedulerServiceRemoteImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–919 |
| UnnecessaryReturn | Unnecessary return statement | 3 | 136 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 540–545 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 737–742 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 877–890 |
Opencast :: search-service-api - org/opencastproject/search/api/SearchResult.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SearchResult': 'dehydrateAclForIndex' is already in scope | 4 | 250 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SearchResult': 'dehydrateAclForREST' is already in scope | 4 | 251 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SearchResult': 'dehydrateDC' is already in scope | 4 | 252 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SearchResult': 'dehydrateAclForIndex' is already in scope | 4 | 265 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SearchResult': 'dehydrateAclForREST' is already in scope | 4 | 266 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SearchResult': 'dehydrateDC' is already in scope | 4 | 267 |
Opencast :: search-service-impl - org/opencastproject/search/endpoint/SearchRestService.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–588 |
Opencast :: search-service-impl - org/opencastproject/search/impl/SearchServiceIndex.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessPureMethodCall | Do not call pure method getAndIncrement if the result is not used. | 3 | 540 |
Opencast :: search-service-impl - org/opencastproject/search/impl/persistence/SearchEntity.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `"series_id"`. | 4 | 48 |
| UselessParentheses | Useless parentheses around `"organization"`. | 4 | 49 |
Opencast :: search-service-impl - org/opencastproject/search/impl/persistence/SearchServiceDatabaseImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–554 |
Opencast :: security-aai - org/opencastproject/security/aai/DynamicLoginHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedFormalParameter | Avoid unused method parameters such as 'id'. | 3 | 216 |
Opencast :: security-jwt - org/opencastproject/security/jwt/DynamicLoginHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `roleMappings == null ? new ArrayList<String>() ...`. | 4 | 329 |
Opencast :: security-jwt - org/opencastproject/security/jwt/JWTRequestHeaderAuthenticationFilter.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `super.getPreAuthenticatedPrincipal(request)`. | 4 | 52 |
Opencast :: security-shibboleth - org/opencastproject/security/shibboleth/ShibbolethRequestHeaderAuthenticationFilter.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `super.getPreAuthenticatedPrincipal(request)`. | 4 | 72 |
Opencast :: series-service-impl - org/opencastproject/series/endpoint/SeriesRestService.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–1370 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 948 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 998 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 1004 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 1112 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 1118 |
Opencast :: series-service-impl - org/opencastproject/series/impl/SeriesServiceImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–876 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 195–198 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 210 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 597 |
Opencast :: series-service-impl - org/opencastproject/series/impl/persistence/SeriesEntity.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `"modified_date"`. | 4 | 66 |
Opencast :: series-service-remote - org/opencastproject/series/remote/SeriesServiceRemoteImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–703 |
Opencast :: serviceregistry - org/opencastproject/serviceregistry/impl/AbstractIncidentService.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 118–119 |
Opencast :: serviceregistry - org/opencastproject/serviceregistry/impl/IncidentDto.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–174 |
| UselessParentheses | Useless parentheses around `"jobid"`. | 4 | 65 |
| UselessParentheses | Useless parentheses around `"severity"`. | 4 | 66 |
Opencast :: serviceregistry - org/opencastproject/serviceregistry/impl/JobDispatcher.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 396–398 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 564–566 |
| UnusedPrivateField | Avoid unused private fields such as 'toHostRegistration'. | 3 | 620 |
| UnusedPrivateField | Avoid unused private fields such as 'toMaxLoad'. | 3 | 627 |
| UnusedPrivateField | Avoid unused private fields such as 'sortFloatValuesDesc'. | 3 | 634 |
Opencast :: serviceregistry - org/opencastproject/serviceregistry/impl/ServiceRegistryJpaImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–2673 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 4 | 303 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 4 | 333 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 4 | 341 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 4 | 505 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 4 | 508 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 4 | 511 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Status': 'FAILED' is already in scope because it is imported in this file | 4 | 889 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Status': 'FAILED' is already in scope because it is imported in this file | 4 | 1023 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Status': 'FAILED' is already in scope because it is imported in this file | 4 | 1411 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 4 | 1879 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 4 | 1879 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 4 | 1879 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Status': 'FAILED' is already in scope because it is imported in this file | 4 | 2157 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 2227–2232 |
Opencast :: serviceregistry - org/opencastproject/serviceregistry/impl/endpoint/IncidentServiceEndpoint.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–360 |
Opencast :: serviceregistry - org/opencastproject/serviceregistry/impl/endpoint/ServiceRegistryEndpoint.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–769 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isNotBlank' is already in scope | 4 | 313 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 4 | 506 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isNotBlank' is already in scope | 4 | 510 |
Opencast :: silencedetection-impl - org/opencastproject/silencedetection/ffmpeg/FFmpegSilenceDetector.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.lang': 'Math' is already in scope because it is declared in java.lang | 4 | 213 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.lang': 'Math' is already in scope because it is declared in java.lang | 4 | 221 |
Opencast :: smil-api - org/opencastproject/smil/api/util/SmilUtil.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.w3c.dom': 'Document' is already in scope because it is imported in this file | 4 | 80 |
Opencast :: smil-impl - org/opencastproject/smil/entity/SmilObjectImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedPrivateMethod | Avoid unused private methods such as 'setId(String)'. | 3 | 73 |
Opencast :: smil-impl - org/opencastproject/smil/impl/SmilResponseImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedPrivateMethod | Avoid unused private methods such as 'setSmil(Smil)'. | 3 | 117 |
| UnusedPrivateMethod | Avoid unused private methods such as 'getResponseEntities()'. | 3 | 211 |
| UnusedPrivateMethod | Avoid unused private methods such as 'setResponseEntities(SmilResponseEntity<SmilObject>[])'. | 3 | 224 |
| UnusedPrivateMethod | Avoid unused private methods such as 'setEntity(SmilObject)'. | 3 | 253 |
Opencast :: speech-to-text-workflowoperation - org/opencastproject/workflow/handler/speechtotext/SpeechToTextWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `presentationTracksWithAudio`. | 4 | 274 |
Opencast :: static-file-service-api - org/opencastproject/staticfiles/endpoint/StaticFileRestService.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 197 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 325 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 361 |
Opencast :: static-file-service-impl - org/opencastproject/staticfiles/impl/StaticFileServiceImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 120 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 124 |
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 257 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 281 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 293 |
| UselessParentheses | Useless parentheses around `Files.getLastModifiedTime(path).toMillis() < ne...`. | 4 | 318 |
| UselessParentheses | Useless parentheses around `new Date()`. | 4 | 318 |
Opencast :: static - org/opencastproject/fsresources/StaticResourceServlet.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `ranges.isEmpty()`. | 4 | 233 |
| UselessParentheses | Useless parentheses around `ranges.isEmpty()`. | 4 | 248 |
| UselessParentheses | Useless parentheses around `ranges.hasNext()`. | 4 | 318 |
| UselessParentheses | Useless parentheses around `-1L`. | 4 | 362 |
| CheckSkipResult | Check the value returned by the skip() method of an InputStream to see if the requested number of bytes has been skipped. | 3 | 472 |
| UselessParentheses | Useless parentheses around `(start >= 0) && (end >= 0) && (start <= end) &&...`. | 4 | 526 |
Opencast :: statistics-export-service-impl - org/opencastproject/statistics/export/impl/StatisticsExportServiceImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedFormalParameter | Avoid unused method parameters such as 'limit'. | 3 | 311 |
| UnusedFormalParameter | Avoid unused method parameters such as 'limit'. | 3 | 332 |
| UnusedFormalParameter | Avoid unused method parameters such as 'limit'. | 3 | 399 |
Opencast :: subtitle-parser - org/opencastproject/subtitleparser/webvttparser/WebVTTParser.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'WEBVTT_METADATA_HEADER'. | 3 | 46 |
| EmptyControlStatement | Empty while statement | 3 | 127–129 |
| UselessParentheses | Useless parentheses around `value * 1000 + Long.parseLong(parts[1])`. | 4 | 188 |
Opencast :: termination-state-api - org/opencastproject/terminationstate/api/TerminationStateService.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 44 |
Opencast :: termination-state-aws - org/opencastproject/terminationstate/aws/AutoScalingTerminationStateService.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.quartz': 'SchedulerException' is already in scope because it is imported in this file | 4 | 308 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 316–318 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.quartz': 'SchedulerException' is already in scope because it is imported in this file | 4 | 360 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 368–370 |
Opencast :: termination-state-impl - org/opencastproject/terminationstate/impl/TerminationStateServiceImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.quartz': 'SchedulerException' is already in scope because it is imported in this file | 4 | 132 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 140–142 |
Opencast :: textanalyzer-impl - org/opencastproject/textanalyzer/impl/TextAnalyzerServiceImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 95 |
Opencast :: textanalyzer-workflowoperation - org/opencastproject/workflow/handler/textanalyzer/TextAnalysisWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `segment instanceof VideoSegment`. | 4 | 256 |
Opencast :: textextractor-tesseract - org/opencastproject/textextractor/tesseract/TesseractTextExtractor.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.util': 'Arrays' is already in scope because it is imported in this file | 4 | 84 |
Opencast :: themes-workflowoperation - org/opencastproject/workflow/handler/themes/ThemeWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 266–274 |
| EmptyControlStatement | Empty else statement | 3 | 289–291 |
Opencast :: themes - org/opencastproject/themes/persistence/ThemesServiceDatabaseImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `StringUtils.isNotBlank(theme.getCreator().getNa...`. | 4 | 396–399 |
Opencast :: timelinepreviews-ffmpeg - org/opencastproject/timelinepreviews/ffmpeg/TimelinePreviewsServiceImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 91 |
| UselessParentheses | Useless parentheses around `imageCount`. | 4 | 289 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 435–437 |
Opencast :: timelinepreviews-workflowoperation - org/opencastproject/workflow/handler/timelinepreviews/TimelinePreviewsWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 282–284 |
Opencast :: tobira - org/opencastproject/tobira/impl/Item.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DublinCore': 'PROPERTY_TITLE' is already in scope because it is imported in this file | 4 | 117 |
| UselessParentheses | Useless parentheses around `tagArray.length == 2 && tagArray[0].equals(prefix)`. | 4 | 298 |
Opencast :: transcription-service-amberscript - org/opencastproject/transcription/amberscript/AmberscriptTranscriptionService.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 702–703 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 772–773 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 818–819 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 877 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AmberscriptTranscriptionService': 'CONNECTION_TIMEOUT' is already in scope because it is declared in an enclosing type | 4 | 901 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AmberscriptTranscriptionService': 'CONNECTION_TIMEOUT' is already in scope because it is declared in an enclosing type | 4 | 903 |
Opencast :: transcription-service-google-speech-impl - org/opencastproject/transcription/googlespeech/GoogleSpeechTranscriptionService.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 579–580 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 668–669 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 718–719 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 783 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 850–851 |
| UselessParentheses | Useless parentheses around `database.findByJob(jobId).getDateCreated().getT...`. | 4 | 954–956 |
| UselessParentheses | Useless parentheses around `System.currentTimeMillis()`. | 4 | 957 |
Opencast :: transcription-service-google-speech-impl - org/opencastproject/transcription/googlespeech/GoogleSpeechTranscriptionServiceStorage.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 123–124 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 169–170 |
Opencast :: transcription-service-ibm-watson-impl - org/opencastproject/transcription/ibmwatson/IBMWatsonTranscriptionService.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 307–309 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 329–331 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 339–341 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 587–588 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 688–689 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 767–768 |
Opencast :: transcription-service-microsoft-azure - org/opencastproject/transcription/microsoft/azure/MicrosoftAzureAuthorization.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'logger'. | 3 | 46 |
Opencast :: transcription-service-microsoft-azure - org/opencastproject/transcription/microsoft/azure/MicrosoftAzureSpeechServicesClient.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'logger'. | 3 | 60 |
Opencast :: transcription-service-microsoft-azure - org/opencastproject/transcription/microsoft/azure/MicrosoftAzureStorageClient.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'logger'. | 3 | 56 |
Opencast :: transcription-service-microsoft-azure - org/opencastproject/transcription/microsoft/azure/MicrosoftAzureTranscriptionService.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 348–351 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 365–368 |
Opencast :: transcription-service-persistence - org/opencastproject/transcription/persistence/TranscriptionDatabaseImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedLocalVariable | Avoid unused local variables such as 'dto'. | 3 | 184 |
Opencast :: transcription-service-workflowoperation - org/opencastproject/transcription/workflowoperation/MicrosoftAzureStartTranscriptionOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 217–219 |
Opencast :: urlsigning-common - org/opencastproject/urlsigning/common/ResourceRequest.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 29 |
Opencast :: urlsigning-common - org/opencastproject/urlsigning/utils/PolicyUtils.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| PrimitiveWrapperInstantiation | Do not use `new Long(...)`, prefer `Long.valueOf(...)` | 3 | 125 |
| PrimitiveWrapperInstantiation | Do not use `new Long(...)`, prefer `Long.valueOf(...)` | 3 | 127 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'PolicyUtils': 'toJson' is already in scope | 4 | 164 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'PolicyUtils': 'toJson' is already in scope | 4 | 180 |
Opencast :: urlsigning-common - org/opencastproject/urlsigning/utils/SHA256Util.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `secretKey`. | 4 | 60 |
Opencast :: urlsigning-service-api - org/opencastproject/security/urlsigning/exception/UrlSigningException.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 32 |
Opencast :: urlsigning-service-impl - org/opencastproject/security/urlsigning/provider/impl/AbstractUrlSigningProvider.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `v.startsWith(propertyValue)`. | 4 | 199 |
Opencast :: urlsigning-service-impl - org/opencastproject/security/urlsigning/provider/impl/WowzaUrlSigningProvider.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `uri.getScheme()`. | 4 | 94 |
Opencast :: urlsigning-service-impl - org/opencastproject/security/urlsigning/service/impl/UrlSigningEndpoint.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `validFrom > 0 ? new DateTime(validFrom * DateTi...`. | 4 | 141–142 |
Opencast :: urlsigning-verifier-service-impl - org/opencastproject/security/urlsigning/filter/UrlSigningFilter.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryReturn | Unnecessary return statement | 3 | 183 |
| UnnecessaryReturn | Unnecessary return statement | 3 | 193 |
Opencast :: userdirectory-brightspace - org/opencastproject/userdirectory/brightspace/BrightspaceUserProviderFactory.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedLocalVariable | Avoid unused local variables such as 'adminUserName'. | 3 | 149 |
Opencast :: userdirectory-brightspace - org/opencastproject/userdirectory/brightspace/BrightspaceUserProviderInstance.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'LTI_LEARNER_ROLE'. | 3 | 68 |
Opencast :: userdirectory-canvas - org/opencastproject/userdirectory/canvas/CanvasUserRoleProvider.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 347–349 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 367–369 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 409–411 |
Opencast :: userdirectory-ldap - org/opencastproject/userdirectory/ldap/LdapUserProviderFactory.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'LdapUserProviderFactory': 'getObjectName' is already in scope | 4 | 424 |
Opencast :: userdirectory-moodle - org/opencastproject/userdirectory/moodle/MoodleUserProviderFactory.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MoodleUserProviderFactory': 'getObjectName' is already in scope | 4 | 283 |
Opencast :: userdirectory-sakai - org/opencastproject/userdirectory/sakai/SakaiUserProviderFactory.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SakaiUserProviderFactory': 'getObjectName' is already in scope | 4 | 239 |
Opencast :: userdirectory-sakai - org/opencastproject/userdirectory/sakai/SakaiUserProviderInstance.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `code == 200`. | 4 | 388 |
| UselessParentheses | Useless parentheses around `code == 200`. | 4 | 429 |
Opencast :: userdirectory-studip - org/opencastproject/userdirectory/studip/StudipUserProviderFactory.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StudipUserProviderFactory': 'getObjectName' is already in scope | 4 | 213 |
Opencast :: userdirectory - org/opencastproject/userdirectory/UserIdRoleProvider.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 112 |
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 116 |
Opencast :: userdirectory - org/opencastproject/userdirectory/endpoint/GroupRoleEndpoint.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–376 |
Opencast :: userdirectory - org/opencastproject/userdirectory/endpoint/UserEndpoint.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–438 |
Opencast :: videoeditor-workflowoperation - org/opencastproject/workflow/handler/videoeditor/SilenceDetectionWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 286 |
Opencast :: videoeditor-workflowoperation - org/opencastproject/workflow/handler/videoeditor/VideoEditorWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 196 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 410–413 |
Opencast :: videogrid-service-impl - org/opencastproject/videogrid/impl/VideoGridServiceImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 205–207 |
Opencast :: videogrid-workflowoperation - org/opencastproject/workflow/handler/videogrid/VideoGridWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 602 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 623 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 697 |
| UselessParentheses | Useless parentheses around `videoCount / (float) tmpTilesV`. | 4 | 715 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 746 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 774 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 785 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 788 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 791 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 794 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 797 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 799 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 805 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 807 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 808 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 824 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 827 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 829 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 830 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 835 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 838 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 840 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 841 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 842 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 848 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 911 |
| UselessParentheses | Useless parentheses around `trackDimension.getB().getWidth() / 2`. | 4 | 949 |
| UselessParentheses | Useless parentheses around `trackDimension.getB().getHeight() / 2`. | 4 | 949–950 |
| UnusedPrivateMethod | Avoid unused private methods such as 'getTrackPath(Track)'. | 3 | 998 |
Opencast :: videosegmenter-ffmpeg - org/opencastproject/videosegmenter/ffmpeg/VideoSegmenterServiceImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 109 |
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 115 |
| EmptyControlStatement | Empty if statement | 3 | 554–706 |
| UselessParentheses | Useless parentheses around `track.getDuration() / 1000.0f`. | 4 | 841 |
| UselessParentheses | Useless parentheses around `(x + 0.5f) * 0.5f`. | 4 | 917 |
| UnusedLocalVariable | Avoid unused local variables such as 'currentSegEnd'. | 3 | 1169 |
Opencast :: waveform-ffmpeg - org/opencastproject/waveform/ffmpeg/WaveformServiceImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 142 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 205–211 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 386–388 |
Opencast :: workflow-condition-parser - org/opencastproject/workflow/conditionparser/Atom.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Atom': 'fromNumber' is already in scope | 4 | 71 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Atom': 'fromString' is already in scope | 4 | 73 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Atom': 'fromNumber' is already in scope | 4 | 76 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Atom': 'fromNumber' is already in scope | 4 | 81 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Atom': 'fromNumber' is already in scope | 4 | 86 |
Opencast :: workflow-condition-parser - org/opencastproject/workflow/conditionparser/ComparisonOperator.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ComparisonOperator': 'LE' is already in scope because it is declared in an enclosing type | 4 | 32 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ComparisonOperator': 'LT' is already in scope because it is declared in an enclosing type | 4 | 34 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ComparisonOperator': 'EQ' is already in scope because it is declared in an enclosing type | 4 | 36 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ComparisonOperator': 'NE' is already in scope because it is declared in an enclosing type | 4 | 38 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ComparisonOperator': 'GT' is already in scope because it is declared in an enclosing type | 4 | 40 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ComparisonOperator': 'GE' is already in scope because it is declared in an enclosing type | 4 | 42 |
Opencast :: workflow-condition-parser - org/opencastproject/workflow/conditionparser/NumericalOperator.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'NumericalOperator': 'ADD' is already in scope because it is declared in an enclosing type | 4 | 32 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'NumericalOperator': 'SUBTRACT' is already in scope because it is declared in an enclosing type | 4 | 34 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'NumericalOperator': 'MULTIPLY' is already in scope because it is declared in an enclosing type | 4 | 36 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'NumericalOperator': 'DIVIDE' is already in scope because it is declared in an enclosing type | 4 | 38 |
Opencast :: workflow-service-api - org/opencastproject/workflow/api/AbstractWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'logger'. | 3 | 63 |
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 80 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 352 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 365 |
Opencast :: workflow-service-api - org/opencastproject/workflow/api/WorkflowInstance.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `"mediapackage_id"`. | 4 | 79 |
| UselessParentheses | Useless parentheses around `"series_id"`. | 4 | 80 |
| UselessParentheses | Useless parentheses around `"workflow_id"`. | 4 | 194 |
Opencast :: workflow-service-api - org/opencastproject/workflow/api/WorkflowOperationInstance.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `"workflow_id"`. | 4 | 55 |
| UselessParentheses | Useless parentheses around `"workflow_operation_id"`. | 4 | 85 |
Opencast :: workflow-service-impl - org/opencastproject/workflow/endpoint/WorkflowRestService.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–864 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NO_CONTENT' is already in scope because it is imported in this file | 4 | 591 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 814 |
Opencast :: workflow-service-impl - org/opencastproject/workflow/impl/WorkflowCleanupScanner.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AbstractScanner': 'PARAM_KEY_ENABLED' is already in scope because it is inherited by an enclosing type | 4 | 150 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AbstractScanner': 'PARAM_KEY_CRON_EXPR' is already in scope because it is inherited by an enclosing type | 4 | 154 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AbstractScanner': 'PARAM_KEY_CRON_EXPR' is already in scope because it is inherited by an enclosing type | 4 | 156 |
Opencast :: workflow-service-impl - org/opencastproject/workflow/impl/WorkflowOperationWorker.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 127–129 |
Opencast :: workflow-service-impl - org/opencastproject/workflow/impl/WorkflowServiceImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–2415 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 760–763 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 914–916 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkflowState': 'PAUSED' is already in scope because it is imported in this file | 4 | 1031 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1047–1050 |
| UselessParentheses | Useless parentheses around `currentUser.equals(workflowCreator)`. | 4 | 1153 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 1188–1190 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1631–1633 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkflowState': 'PAUSED' is already in scope because it is imported in this file | 4 | 2253 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 2272–2274 |
Opencast :: workflow-service-remote - org/opencastproject/workflow/remote/WorkflowServiceRemoteImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–676 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpStatus': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 644 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpStatus': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 647 |
Opencast :: workflow-workflowoperation - org/opencastproject/workflow/handler/workflow/CleanupWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `serviceRegistry.getJob(operationInstanceId)`. | 4 | 135 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 189–191 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 316–318 |
Opencast :: workflow-workflowoperation - org/opencastproject/workflow/handler/workflow/CopyWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 184 |
Opencast :: workflow-workflowoperation - org/opencastproject/workflow/handler/workflow/DuplicateEventWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `title.endsWith("}")`. | 4 | 356 |
Opencast :: workflow-workflowoperation - org/opencastproject/workflow/handler/workflow/WebvttToCutMarksWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `firstCutMark.begin + bufferTime`. | 4 | 298 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 302–304 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 317–319 |
Opencast :: workflow-workflowoperation - org/opencastproject/workflow/handler/workflow/ZipWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| SimplifiedTernary | This conditional expression can be simplified with || or && | 3 | 226 |
Opencast :: working-file-repository-service-impl - org/opencastproject/workingfilerepository/impl/WorkingFileRepositoryCleaner.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 127–128 |
Opencast :: working-file-repository-service-impl - org/opencastproject/workingfilerepository/impl/WorkingFileRepositoryImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 577–579 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 642–644 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 865–867 |
Opencast :: working-file-repository-service-impl - org/opencastproject/workingfilerepository/impl/WorkingFileRepositoryRestEndpoint.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–680 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'MEDIAPACKAGE_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 4 | 152 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 180 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'MEDIAPACKAGE_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 4 | 188 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'COLLECTION_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 4 | 218 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 243 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'MEDIAPACKAGE_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 4 | 250 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'COLLECTION_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 4 | 281 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'COLLECTION_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 4 | 310 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'COLLECTION_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 4 | 341 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'MEDIAPACKAGE_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 4 | 364 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'MEDIAPACKAGE_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 4 | 414 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'COLLECTION_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 4 | 465 |
Opencast :: workspace-impl - org/opencastproject/workspace/impl/WorkspaceCleaner.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 120–121 |
Opencast :: workspace-impl - org/opencastproject/workspace/impl/WorkspaceImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–998 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 369–389 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 409–419 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 471 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 479 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 530 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 543 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 650 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 695 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 735 |
Suppressed Violations
| Filename | Rule message | Suppression type | Reason |
|---|---|---|---|
| org/opencastproject/capture/admin/impl/AgentImpl.java | Avoid unused private methods such as 'loadCaps()'. | @suppresswarnings |
