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. | 853 |
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. | 628 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 1026 |
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. | 459–460 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 535 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 654 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 1209 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 1287 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 1326 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 1394 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 1466 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 1607 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 1661 |
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. | 852–853 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 1001 |
Opencast :: scheduler-impl - org/opencastproject/scheduler/impl/CaptureNowProlongingService.java
| Rule | Violation | Line |
|---|---|---|
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 424 |
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. | 212 |
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. | 349 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 362 |
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. | 161 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 200 |
Opencast :: workspace-impl - org/opencastproject/workspace/impl/WorkspaceImpl.java
| Rule | Violation | Line |
|---|---|---|
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 531 |
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–3115 |
| UnnecessaryReturn | Unnecessary return statement | 1227 |
| UnusedLocalVariable | Avoid unused local variables such as 'ignore'. | 2191 |
| UnusedLocalVariable | Avoid unused local variables such as 'ignore'. | 2225 |
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/AclEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–404 |
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–487 |
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/SeriesEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–1412 |
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–728 |
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/UserSettingsEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–179 |
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/UsersEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–547 |
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–1678 |
| EmptyCatchBlock | Avoid empty catch blocks | 1311–1313 |
| UnusedLocalVariable | Avoid unused local variables such as 'toString'. | 1544 |
| EmptyCatchBlock | Avoid empty catch blocks | 1586 |
| UnusedFormalParameter | Avoid unused method parameters such as 'user'. | 1655 |
| UnusedFormalParameter | Avoid unused method parameters such as 'eventId'. | 1667 |
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–305 |
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 | 80 |
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–358 |
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 | 316 |
| UselessOverridingMethod | Overriding method merely calls super | 321 |
| UselessOverridingMethod | Overriding method merely calls super | 326 |
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–2479 |
| EmptyCatchBlock | Avoid empty catch blocks | 1441–1443 |
| UnusedFormalParameter | Avoid unused method parameters such as 'ex'. | 1866 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 2154–2157 |
| UnusedLocalVariable | Avoid unused local variables such as 'sourceTrackFlavor'. | 2252 |
Opencast :: composer-ffmpeg - org/opencastproject/composer/impl/EncoderEngine.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 721–722 |
| UnusedLocalVariable | Avoid unused local variables such as 'maxrate'. | 819 |
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 :: conductor - org/opencastproject/event/handler/SearchUpdatedEventHandler.java
| Rule | Violation | Line |
|---|---|---|
| UnusedLocalVariable | Avoid unused local variables such as 'jobBarrierPollingRate'. | 201 |
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'. | 531 |
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–283 |
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 :: 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–2172 |
| UnnecessarySemicolon | Unnecessary semicolon | 254 |
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–1509 |
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 :: fileupload - org/opencastproject/fileupload/service/FileUploadServiceCleaner.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 102–103 |
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–2103 |
| 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/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–2170 |
| UnusedLocalVariable | Avoid unused local variables such as 'createdSeries'. | 2154 |
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 | 652–655 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 802–807 |
| EmptyControlStatement | Empty if statement | 997–999 |
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–1684 |
Opencast :: scheduler-impl - org/opencastproject/scheduler/impl/CaptureNowProlongingService.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 240–241 |
Opencast :: scheduler-impl - org/opencastproject/scheduler/impl/SchedulerServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 21–1849 |
| EmptyCatchBlock | Avoid empty catch blocks | 330 |
Opencast :: scheduler-remote - org/opencastproject/scheduler/remote/SchedulerServiceRemoteImpl.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–907 |
| UnnecessaryReturn | Unnecessary return statement | 136 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 532–537 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 726–731 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 866–879 |
Opencast :: search-service-impl - org/opencastproject/search/endpoint/SearchRestService.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–582 |
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. | 552 |
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–564 |
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–1369 |
Opencast :: series-service-impl - org/opencastproject/series/impl/SeriesServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–882 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 197–200 |
| 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–704 |
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 :: sox-impl - org/opencastproject/sox/impl/SoxServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| PrimitiveWrapperInstantiation | Do not use `new Float(...)`, prefer `Float.valueOf(...)` | 213 |
| PrimitiveWrapperInstantiation | Do not use `new Float(...)`, prefer `Float.valueOf(...)` | 288 |
| PrimitiveWrapperInstantiation | Do not use `new Float(...)`, prefer `Float.valueOf(...)` | 291 |
| PrimitiveWrapperInstantiation | Do not use `new Float(...)`, prefer `Float.valueOf(...)` | 294 |
| UnnecessaryConversionTemporary | Avoid unnecessary temporaries when converting primitives to Strings | 378 |
| PrimitiveWrapperInstantiation | Do not use `new Float(...)`, prefer `Float.valueOf(...)` | 378 |
Opencast :: sox-workflowoperation - org/opencastproject/workflow/handler/sox/NormalizeAudioWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| PrimitiveWrapperInstantiation | Do not use `new Float(...)`, prefer `Float.valueOf(...)` | 170 |
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'. | 44 |
| EmptyControlStatement | Empty while statement | 122–124 |
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 | 256–264 |
| EmptyControlStatement | Empty else statement | 279–281 |
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/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 | 78 |
Opencast :: workflow-service-impl - org/opencastproject/workflow/endpoint/WorkflowRestService.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–679 |
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–2386 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 750–753 |
| EmptyCatchBlock | Avoid empty catch blocks | 902–904 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1034–1037 |
| EmptyCatchBlock | Avoid empty catch blocks | 1173–1175 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1613–1615 |
| EmptyCatchBlock | Avoid empty catch blocks | 2238–2240 |
Opencast :: workflow-service-remote - org/opencastproject/workflow/remote/WorkflowServiceRemoteImpl.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–663 |
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 | 310–312 |
Opencast :: workflow-workflowoperation - org/opencastproject/workflow/handler/workflow/WebvttToCutMarksWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 301–303 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 316–318 |
Opencast :: workflow-workflowoperation - org/opencastproject/workflow/handler/workflow/ZipWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| SimplifiedTernary | This conditional expression can be simplified with || or && | 225 |
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 | 568–570 |
| EmptyCatchBlock | Avoid empty catch blocks | 628–630 |
| EmptyCatchBlock | Avoid empty catch blocks | 843–845 |
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–501 |
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–999 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 370–390 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 410–420 |
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 | 1312 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 1315 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1409 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 1410 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_INTERNAL_SERVER_ERROR' is already in scope because it is imported in this file | 1411 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 1412 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NO_CONTENT' is already in scope because it is imported in this file | 1481 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 1482 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 1484 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 1537 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 1538 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1577 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 1578 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 1579 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 1590 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NO_CONTENT' is already in scope because it is imported in this file | 1605 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_INTERNAL_SERVER_ERROR' is already in scope because it is imported in this file | 1609 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1671 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 1672 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1701 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 1702 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1717 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 1718 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1733 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 1734 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1749 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 1750 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1765 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 1766 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1781 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 1782 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1797 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 1798 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1813 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 1814 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1886 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 1887 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 1899 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 1903 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 1922 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 1924 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 1924 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 1925 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 1926 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 1927 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 1938 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NO_CONTENT' is already in scope because it is imported in this file | 1948 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 1949 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 1997 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 2007 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 2008 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 2009 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 2040 |
| 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 | 2046 |
| 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 | 2047 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 2048 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 2050 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 2051 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 2068 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 2069 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 2070 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 2094 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 2098 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 2099 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 2100 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 2101 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 2124 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 2125 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 2126 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 2158 |
| 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 | 2162 |
| 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 | 2165 |
| 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 'Jsons': 'BLANK' is already in scope because it is imported in this file | 2169 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 2170 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 2182 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 2183 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 2184 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 2215 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 2216 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 2217 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 2298 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 2299 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 2300 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'NULL' is already in scope because it is imported in this file | 2400 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NO_CONTENT' is already in scope because it is imported in this file | 2409 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 2411 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 2579 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 2707 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Stream': '$' is already in scope | 2959 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'nul' is already in scope | 2975 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 2988 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 2990 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 3036 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 3054 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 3080 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 3084 |
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/AclEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `AclsListQuery.FILTER_TEXT_NAME.equals(name)`. | 192 |
| UselessParentheses | Useless parentheses around `StringUtils.isNotBlank(value)`. | 192 |
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 | 309 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 593 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 669 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 686 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 687 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Status': 'BAD_REQUEST' is already in scope because it is imported in this file | 690 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Status': 'BAD_REQUEST' is already in scope because it is imported in this file | 699 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Status': 'BAD_REQUEST' is already in scope because it is imported in this file | 702 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 885 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 917 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 918 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 981 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 982 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 1349 |
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 | 201 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 284 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 285 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' 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 'Type': 'STRING' is already in scope because it is imported in this file | 327 |
| 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 'Type': 'STRING' is already in scope because it is imported in this file | 341 |
| 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 | 361 |
| 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 | 364 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 364 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RestUtils': 'okJson' is already in scope | 378 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 389 |
| 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 'Type': 'STRING' is already in scope because it is imported in this file | 403 |
| 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 | 458 |
| 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 | 461 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 461 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RestUtils': 'okJson' is already in scope | 474 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isNotBlank' is already in scope | 600 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isNotBlank' is already in scope | 614 |
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/UserSettingsEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `Response.serverError().build()`. | 125 |
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/UsersEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `UsersListQuery.FILTER_TEXT_NAME.equals(name)`. | 230 |
| UselessParentheses | Useless parentheses around `StringUtils.isNotBlank(value)`. | 230 |
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 | 490 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 570 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 584 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Enrichments': 'enrich' is already in scope | 643 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Enrichments': 'enrich' is already in scope | 656 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Enrichments': 'enrich' is already in scope | 665 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Enrichments': 'enrich' is already in scope | 674 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Enrichments': 'enrich' is already in scope | 683 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Enrichments': 'enrich' is already in scope | 693 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Enrichments': 'enrich' is already in scope | 708 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Enrichments': 'enrich' is already in scope | 744 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Enrichments': 'enrich' is already in scope | 771 |
| UselessParentheses | Useless parentheses around `originalOrg != null ? securityService.getUser()...`. | 970 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 1299 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 1638 |
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 | 177 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AssetStore': 'STORE_TYPE_PROPERTY' is already in scope because it is inherited by an enclosing type | 181 |
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 | 302 |
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()`. | 137 |
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 | 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': 'parseMimeType' is already in scope | 119 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 120 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'fromString' is already in scope | 243 |
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 | 350 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 354 |
| UselessParentheses | Useless parentheses around `stream -> stream instanceof VideoStream`. | 461 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Option': 'none' is already in scope | 744 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ComposerService': 'BOTH' is already in scope because it is inherited by an enclosing type | 821 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ComposerService': 'UPPER' is already in scope because it is inherited by an enclosing type | 824 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ComposerService': 'LOWER' is already in scope because it is inherited by an enclosing type | 826 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 931 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 1062 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Option': 'none' is already in scope | 1520 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Option': 'none' is already in scope | 1534 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Option': 'some' is already in scope | 1539 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 1629 |
| UselessParentheses | Useless parentheses around `'a' + i + 1 - ((characterCount - 1) * 25)`. | 1759 |
| UselessParentheses | Useless parentheses around `'a' + i + 1 - ((characterCount - 1) * 25)`. | 1783 |
| UselessParentheses | Useless parentheses around `serviceRegistry.createJob(JOB_TYPE, Operation.P...`. | 2156 |
| UselessParentheses | Useless parentheses around `profiles`. | 2184 |
| UselessParentheses | Useless parentheses around `(SmilMediaParamGroup) smil.get(trackParamGroupId)`. | 2208 |
Opencast :: composer-ffmpeg - org/opencastproject/composer/impl/EncoderEngine.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `al`. | 518 |
| UselessParentheses | Useless parentheses around `hasVideo ? videoOut : null`. | 1296 |
| UselessParentheses | Useless parentheses around `hasAudio ? audioOut : null`. | 1297 |
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 | 209 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 250 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 293 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 352 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 353 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 403 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 465 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 529 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 530 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 531 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 532 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 533 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 534 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 535 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 536 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 609 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 614 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 672 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 723 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 763 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 807 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 843 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 885 |
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`. | 674 |
| UselessParentheses | Useless parentheses around `trackDimension.getB().getHeight() / 2`. | 674–675 |
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)`. | 71 |
| UselessParentheses | Useless parentheses around `(channelId != null) && (publication != null) &&...`. | 102 |
| UselessParentheses | Useless parentheses around `(mp != null) && (channelId != null)`. | 162 |
| UselessParentheses | Useless parentheses around `publications != null`. | 169 |
| UselessParentheses | Useless parentheses around `(mp != null) && (channelId != null)`. | 175 |
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 | 604 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Series': 'context' is already in scope because it is declared in an enclosing type | 633 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Series': 'context' is already in scope because it is declared in an enclosing type | 677 |
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 | 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 | 583 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 587 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ApiVersion': 'VERSION_1_1_0' is already in scope because it is imported in this file | 818 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ApiVersion': 'VERSION_1_1_0' is already in scope because it is imported in this file | 837 |
| 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 | 1122 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 1124 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 1159 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'com.entwinemedia.fn.Stream': '$' is already in scope | 1191 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 1341 |
| UselessParentheses | Useless parentheses around `(includeInternalPublication != null && includeI...`. | 1702 |
| UselessParentheses | Useless parentheses around `!requestedVersion.isSmallerThan(VERSION_1_11_0)...`. | 1831 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 1971 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 1972 |
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 | 216 |
| UselessParentheses | Useless parentheses around `withAcl != null && withAcl`. | 341 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 429 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'com.entwinemedia.fn.Stream': '$' is already in scope | 497 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 510 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 515 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 674 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 701 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 702 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 706 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 772 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 796 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 831 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 859 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' 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 | 901 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 925 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 951 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 998 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 1023 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1063 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1104 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 1109 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 1471 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 1472 |
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 | 317 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 319 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 345 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 347 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 375 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 377 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 405 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 407 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 455 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 457 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 484 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 486 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 514 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 516 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' 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 | 601 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 657 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 712 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 713 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 814 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 815 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 908 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 913 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 914 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1005 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1028 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1050 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1075 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1119 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 1120 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 1121 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1159 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 1160 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 1161 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1199 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 1200 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1224 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1241 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' 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 | 1261 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1292 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1322 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 1355 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1468 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 1471 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DublinCore': 'PROPERTY_TEMPORAL' is already in scope because it is imported in this file | 1508 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1541 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 1543 |
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 | 395 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DublinCore': 'PROPERTY_TEMPORAL' is already in scope because it is imported in this file | 413 |
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 | 188 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 472 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 472 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 473 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 473 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 473 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 473 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 474 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 477 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 477 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 478 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 478 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 478 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 481 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 481 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 481 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 482 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 482 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 482 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 616 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 616 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 617 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 617 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 617 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 617 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 618 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 624 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 624 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 625 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 625 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 628 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 628 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 629 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 629 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 629 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 797 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 798 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 804 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 826 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 831 |
| UselessParentheses | Useless parentheses around `securityService.getUser().hasRole(GLOBAL_ADMIN_...`. | 848–849 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 869 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 1041 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 1041 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 1041 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 1041 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 1045 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 1055 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 1055 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 1055 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 1059 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 1161 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 1258 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 1308 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 1320 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 1321 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 1408 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 1409 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 1410 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Stream': '$' is already in scope | 1710 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 1800 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 1802 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 1803 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 1804 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 1805 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 1806 |
Opencast :: scheduler-impl - org/opencastproject/scheduler/impl/persistence/ExtendedEventDto.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `"organization"`. | 51 |
| UselessParentheses | Useless parentheses around `"capture_agent_id"`. | 52 |
| UselessParentheses | Useless parentheses around `"start_date, end_date"`. | 53 |
Opencast :: scheduler-impl - org/opencastproject/scheduler/impl/persistence/LastModifiedDto.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `"last_modified"`. | 44 |
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/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 | 951 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 1001 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 1007 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 1115 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 1121 |
Opencast :: series-service-impl - org/opencastproject/series/impl/persistence/SeriesEntity.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `"modified_date"`. | 61 |
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 | 212 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.lang': 'Math' is already in scope because it is declared in java.lang | 220 |
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`. | 270 |
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])`. | 183 |
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...`. | 426–429 |
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"`. | 188 |
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"`. | 84 |
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 | 475 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 633 |
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 | 1019 |
| UselessParentheses | Useless parentheses around `currentUser.equals(workflowCreator)`. | 1138 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkflowState': 'PAUSED' is already in scope because it is imported in this file | 2219 |
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 | 632 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpStatus': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 635 |
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 | 183 |
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`. | 297 |
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 | 146 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'MEDIAPACKAGE_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 169 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'COLLECTION_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 188 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'MEDIAPACKAGE_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 207 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'COLLECTION_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 228 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'COLLECTION_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 248 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'COLLECTION_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 269 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'MEDIAPACKAGE_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 283 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'MEDIAPACKAGE_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 324 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'COLLECTION_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 366 |
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 | 472 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 480 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 544 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 651 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 696 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 736 |
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–3115 |
| 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 | 1312 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 1315 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1409 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 1410 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_INTERNAL_SERVER_ERROR' is already in scope because it is imported in this file | 4 | 1411 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 1412 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NO_CONTENT' is already in scope because it is imported in this file | 4 | 1481 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 1482 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 1484 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 4 | 1537 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 4 | 1538 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1577 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 1578 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 1579 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 1590 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NO_CONTENT' is already in scope because it is imported in this file | 4 | 1605 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_INTERNAL_SERVER_ERROR' is already in scope because it is imported in this file | 4 | 1609 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1671 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 1672 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1701 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 1702 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1717 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 1718 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1733 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 1734 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1749 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 1750 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1765 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 1766 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1781 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 1782 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1797 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 1798 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1813 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 1814 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1886 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 1887 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 1899 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 1903 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 1922 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 4 | 1924 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 1924 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 1925 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 1926 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 1927 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 1938 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NO_CONTENT' is already in scope because it is imported in this file | 4 | 1948 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 1949 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 1997 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 2007 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 2008 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 2009 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 2040 |
| 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 | 2046 |
| 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 | 2047 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 2048 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 2050 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 2051 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 2068 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 2069 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 2070 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 2094 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 2098 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 2099 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 2100 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 2101 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 2124 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 2125 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 2126 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 2158 |
| 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 | 2162 |
| 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 | 2165 |
| 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 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 2169 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 2170 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 2182 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 2183 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 2184 |
| UnusedLocalVariable | Avoid unused local variables such as 'ignore'. | 3 | 2191 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 2215 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 2216 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 2217 |
| UnusedLocalVariable | Avoid unused local variables such as 'ignore'. | 3 | 2225 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 2298 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 2299 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 2300 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'NULL' is already in scope because it is imported in this file | 4 | 2400 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NO_CONTENT' is already in scope because it is imported in this file | 4 | 2409 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 2411 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 2579 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 2707 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Stream': '$' is already in scope | 4 | 2959 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'nul' is already in scope | 4 | 2975 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 4 | 2988 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 4 | 2990 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 3036 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 3054 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 3080 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 3084 |
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–404 |
| UselessParentheses | Useless parentheses around `AclsListQuery.FILTER_TEXT_NAME.equals(name)`. | 4 | 192 |
| UselessParentheses | Useless parentheses around `StringUtils.isNotBlank(value)`. | 4 | 192 |
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–487 |
| 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–1412 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 309 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 593 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 669 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 686 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 687 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Status': 'BAD_REQUEST' is already in scope because it is imported in this file | 4 | 690 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Status': 'BAD_REQUEST' is already in scope because it is imported in this file | 4 | 699 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Status': 'BAD_REQUEST' is already in scope because it is imported in this file | 4 | 702 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 885 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 917 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 918 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 981 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 982 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 1349 |
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–728 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 201 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 284 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 285 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' 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 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 327 |
| 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 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 341 |
| 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 | 361 |
| 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 | 364 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 364 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RestUtils': 'okJson' is already in scope | 4 | 378 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 389 |
| 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 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 403 |
| 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 | 458 |
| 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 | 461 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 461 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RestUtils': 'okJson' is already in scope | 4 | 474 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isNotBlank' is already in scope | 4 | 600 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isNotBlank' is already in scope | 4 | 614 |
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–179 |
| UselessParentheses | Useless parentheses around `Response.serverError().build()`. | 4 | 125 |
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–547 |
| UselessParentheses | Useless parentheses around `UsersListQuery.FILTER_TEXT_NAME.equals(name)`. | 4 | 230 |
| UselessParentheses | Useless parentheses around `StringUtils.isNotBlank(value)`. | 4 | 230 |
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–1678 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Prelude': 'chuck' is already in scope | 4 | 490 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 570 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 584 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Enrichments': 'enrich' is already in scope | 4 | 643 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Enrichments': 'enrich' is already in scope | 4 | 656 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Enrichments': 'enrich' is already in scope | 4 | 665 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Enrichments': 'enrich' is already in scope | 4 | 674 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Enrichments': 'enrich' is already in scope | 4 | 683 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Enrichments': 'enrich' is already in scope | 4 | 693 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Enrichments': 'enrich' is already in scope | 4 | 708 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Enrichments': 'enrich' is already in scope | 4 | 744 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Enrichments': 'enrich' is already in scope | 4 | 771 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 853 |
| UselessParentheses | Useless parentheses around `originalOrg != null ? securityService.getUser()...`. | 4 | 970 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 1299 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 1311–1313 |
| UnusedLocalVariable | Avoid unused local variables such as 'toString'. | 3 | 1544 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 1586 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 1638 |
| UnusedFormalParameter | Avoid unused method parameters such as 'user'. | 3 | 1655 |
| UnusedFormalParameter | Avoid unused method parameters such as 'eventId'. | 3 | 1667 |
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 | 177 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AssetStore': 'STORE_TYPE_PROPERTY' is already in scope because it is inherited by an enclosing type | 4 | 181 |
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–305 |
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 | 302 |
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 | 80 |
| UselessParentheses | Useless parentheses around `new Date().getTime()`. | 4 | 137 |
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–358 |
| 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 | 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': 'parseMimeType' is already in scope | 4 | 119 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 4 | 120 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'fromString' is already in scope | 4 | 243 |
| UselessOverridingMethod | Overriding method merely calls super | 3 | 316 |
| UselessOverridingMethod | Overriding method merely calls super | 3 | 321 |
| UselessOverridingMethod | Overriding method merely calls super | 3 | 326 |
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–2479 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 350 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 354 |
| UselessParentheses | Useless parentheses around `stream -> stream instanceof VideoStream`. | 4 | 461 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Option': 'none' is already in scope | 4 | 744 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ComposerService': 'BOTH' is already in scope because it is inherited by an enclosing type | 4 | 821 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ComposerService': 'UPPER' is already in scope because it is inherited by an enclosing type | 4 | 824 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ComposerService': 'LOWER' is already in scope because it is inherited by an enclosing type | 4 | 826 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 931 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 1062 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 1441–1443 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Option': 'none' is already in scope | 4 | 1520 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Option': 'none' is already in scope | 4 | 1534 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Option': 'some' is already in scope | 4 | 1539 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 1629 |
| UselessParentheses | Useless parentheses around `'a' + i + 1 - ((characterCount - 1) * 25)`. | 4 | 1759 |
| UselessParentheses | Useless parentheses around `'a' + i + 1 - ((characterCount - 1) * 25)`. | 4 | 1783 |
| UnusedFormalParameter | Avoid unused method parameters such as 'ex'. | 3 | 1866 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 2154–2157 |
| UselessParentheses | Useless parentheses around `serviceRegistry.createJob(JOB_TYPE, Operation.P...`. | 4 | 2156 |
| UselessParentheses | Useless parentheses around `profiles`. | 4 | 2184 |
| UselessParentheses | Useless parentheses around `(SmilMediaParamGroup) smil.get(trackParamGroupId)`. | 4 | 2208 |
| UnusedLocalVariable | Avoid unused local variables such as 'sourceTrackFlavor'. | 3 | 2252 |
Opencast :: composer-ffmpeg - org/opencastproject/composer/impl/EncoderEngine.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `al`. | 4 | 518 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 721–722 |
| UnusedLocalVariable | Avoid unused local variables such as 'maxrate'. | 3 | 819 |
| UselessParentheses | Useless parentheses around `hasVideo ? videoOut : null`. | 4 | 1296 |
| UselessParentheses | Useless parentheses around `hasAudio ? audioOut : null`. | 4 | 1297 |
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 | 209 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 250 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 293 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 352 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 353 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 403 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 465 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 529 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 530 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 531 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 532 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 533 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 534 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 535 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 536 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 609 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 614 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 672 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 723 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 763 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 807 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 843 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 885 |
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 |
|---|---|---|---|
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 628 |
| UselessParentheses | Useless parentheses around `trackDimension.getB().getWidth() / 2`. | 4 | 674 |
| UselessParentheses | Useless parentheses around `trackDimension.getB().getHeight() / 2`. | 4 | 674–675 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 1026 |
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 :: conductor - org/opencastproject/event/handler/SearchUpdatedEventHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedLocalVariable | Avoid unused local variables such as 'jobBarrierPollingRate'. | 3 | 201 |
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 | 531 |
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 | 71 |
| UselessParentheses | Useless parentheses around `(channelId != null) && (publication != null) &&...`. | 4 | 102 |
| UselessParentheses | Useless parentheses around `(mp != null) && (channelId != null)`. | 4 | 162 |
| UselessParentheses | Useless parentheses around `publications != null`. | 4 | 169 |
| UselessParentheses | Useless parentheses around `(mp != null) && (channelId != null)`. | 4 | 175 |
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–283 |
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 | 604 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Series': 'context' is already in scope because it is declared in an enclosing type | 4 | 633 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Series': 'context' is already in scope because it is declared in an enclosing type | 4 | 677 |
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 :: 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–2172 |
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 254 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 459–460 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 535 |
| 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 | 583 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 587 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 654 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ApiVersion': 'VERSION_1_1_0' is already in scope because it is imported in this file | 4 | 818 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ApiVersion': 'VERSION_1_1_0' is already in scope because it is imported in this file | 4 | 837 |
| 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 | 1122 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Jsons': 'BLANK' is already in scope because it is imported in this file | 4 | 1124 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 1159 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'com.entwinemedia.fn.Stream': '$' is already in scope | 4 | 1191 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 1209 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 1287 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 1326 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 1341 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 1394 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 1466 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 1607 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 1661 |
| UselessParentheses | Useless parentheses around `(includeInternalPublication != null && includeI...`. | 4 | 1702 |
| UselessParentheses | Useless parentheses around `!requestedVersion.isSmallerThan(VERSION_1_11_0)...`. | 4 | 1831 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 1971 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 1972 |
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–1509 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 216 |
| UselessParentheses | Useless parentheses around `withAcl != null && withAcl`. | 4 | 341 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 429 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'com.entwinemedia.fn.Stream': '$' is already in scope | 4 | 497 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 510 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 515 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 674 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 701 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 702 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 706 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 4 | 772 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 796 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 831 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 859 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' 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 | 901 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 925 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 951 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 4 | 998 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 1023 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1063 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1104 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 4 | 1109 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 4 | 1471 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 4 | 1472 |
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 :: fileupload - org/opencastproject/fileupload/service/FileUploadServiceCleaner.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 102–103 |
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–2103 |
| 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/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–2170 |
| 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 | 2154 |
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 | 652–655 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 802–807 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 852–853 |
| EmptyControlStatement | Empty if statement | 3 | 997–999 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 1001 |
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–1684 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 317 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 319 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 345 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 347 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 375 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 377 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 405 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 407 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 455 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 457 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 484 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 486 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 514 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 516 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' 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 | 601 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 657 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 712 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 713 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 814 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 815 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 908 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 913 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 914 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1005 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1028 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1050 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1075 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1119 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 1120 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 1121 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1159 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 1160 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 1161 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1199 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 1200 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1224 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1241 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' 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 | 1261 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1292 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1322 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 1355 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1468 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 1471 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DublinCore': 'PROPERTY_TEMPORAL' is already in scope because it is imported in this file | 4 | 1508 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1541 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 1543 |
Opencast :: scheduler-impl - org/opencastproject/scheduler/impl/CaptureNowProlongingService.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 240–241 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DublinCore': 'PROPERTY_TEMPORAL' is already in scope because it is imported in this file | 4 | 395 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DublinCore': 'PROPERTY_TEMPORAL' is already in scope because it is imported in this file | 4 | 413 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 424 |
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–1849 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SchedulerService': 'JOB_TYPE' is already in scope because it is inherited by an enclosing type | 4 | 188 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 330 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 472 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 472 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 473 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 473 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 473 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 473 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 474 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 477 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 477 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 478 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 478 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 478 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 481 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 481 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 481 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 482 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 482 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 482 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 616 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 616 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 617 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 617 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 617 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 617 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 618 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 624 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 624 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 625 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 625 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 628 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 628 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 629 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 629 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 629 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 797 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 798 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 804 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 826 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 831 |
| UselessParentheses | Useless parentheses around `securityService.getUser().hasRole(GLOBAL_ADMIN_...`. | 4 | 848–849 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 869 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 1041 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 1041 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 1041 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 1041 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 1045 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 1055 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 1055 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 1055 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 1059 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 1161 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 1258 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 1308 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 1320 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 1321 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 1408 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 1409 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 1410 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Stream': '$' is already in scope | 4 | 1710 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 1800 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 1802 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 1803 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 1804 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 1805 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Opt': 'some' is already in scope | 4 | 1806 |
Opencast :: scheduler-impl - org/opencastproject/scheduler/impl/persistence/ExtendedEventDto.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `"organization"`. | 4 | 51 |
| UselessParentheses | Useless parentheses around `"capture_agent_id"`. | 4 | 52 |
| UselessParentheses | Useless parentheses around `"start_date, end_date"`. | 4 | 53 |
Opencast :: scheduler-impl - org/opencastproject/scheduler/impl/persistence/LastModifiedDto.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `"last_modified"`. | 4 | 44 |
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–907 |
| UnnecessaryReturn | Unnecessary return statement | 3 | 136 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 532–537 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 726–731 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 866–879 |
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–582 |
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 | 552 |
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–564 |
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/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–1369 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 951 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 1001 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 1007 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 1115 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 1121 |
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–882 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 197–200 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 212 |
| 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 | 61 |
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–704 |
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 | 212 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.lang': 'Math' is already in scope because it is declared in java.lang | 4 | 220 |
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 :: sox-impl - org/opencastproject/sox/impl/SoxServiceImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| PrimitiveWrapperInstantiation | Do not use `new Float(...)`, prefer `Float.valueOf(...)` | 3 | 213 |
| PrimitiveWrapperInstantiation | Do not use `new Float(...)`, prefer `Float.valueOf(...)` | 3 | 288 |
| PrimitiveWrapperInstantiation | Do not use `new Float(...)`, prefer `Float.valueOf(...)` | 3 | 291 |
| PrimitiveWrapperInstantiation | Do not use `new Float(...)`, prefer `Float.valueOf(...)` | 3 | 294 |
| UnnecessaryConversionTemporary | Avoid unnecessary temporaries when converting primitives to Strings | 3 | 378 |
| PrimitiveWrapperInstantiation | Do not use `new Float(...)`, prefer `Float.valueOf(...)` | 3 | 378 |
Opencast :: sox-workflowoperation - org/opencastproject/workflow/handler/sox/NormalizeAudioWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| PrimitiveWrapperInstantiation | Do not use `new Float(...)`, prefer `Float.valueOf(...)` | 3 | 170 |
Opencast :: speech-to-text-workflowoperation - org/opencastproject/workflow/handler/speechtotext/SpeechToTextWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `presentationTracksWithAudio`. | 4 | 270 |
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 | 44 |
| EmptyControlStatement | Empty while statement | 3 | 122–124 |
| UselessParentheses | Useless parentheses around `value * 1000 + Long.parseLong(parts[1])`. | 4 | 183 |
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 | 256–264 |
| EmptyControlStatement | Empty else statement | 3 | 279–281 |
Opencast :: themes - org/opencastproject/themes/persistence/ThemesServiceDatabaseImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `StringUtils.isNotBlank(theme.getCreator().getNa...`. | 4 | 426–429 |
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/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 | 78 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 349 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 362 |
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 | 188 |
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 | 84 |
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–679 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NO_CONTENT' is already in scope because it is imported in this file | 4 | 475 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 633 |
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–2386 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 750–753 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 902–904 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkflowState': 'PAUSED' is already in scope because it is imported in this file | 4 | 1019 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1034–1037 |
| UselessParentheses | Useless parentheses around `currentUser.equals(workflowCreator)`. | 4 | 1138 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 1173–1175 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1613–1615 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkflowState': 'PAUSED' is already in scope because it is imported in this file | 4 | 2219 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 2238–2240 |
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–663 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpStatus': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 632 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpStatus': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 635 |
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 | 310–312 |
Opencast :: workflow-workflowoperation - org/opencastproject/workflow/handler/workflow/CopyWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 183 |
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 | 297 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 301–303 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 316–318 |
Opencast :: workflow-workflowoperation - org/opencastproject/workflow/handler/workflow/ZipWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| SimplifiedTernary | This conditional expression can be simplified with || or && | 3 | 225 |
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 | 568–570 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 628–630 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 843–845 |
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–501 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'MEDIAPACKAGE_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 4 | 146 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 161 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'MEDIAPACKAGE_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 4 | 169 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'COLLECTION_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 4 | 188 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 200 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'MEDIAPACKAGE_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 4 | 207 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'COLLECTION_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 4 | 228 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'COLLECTION_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 4 | 248 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'COLLECTION_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 4 | 269 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'MEDIAPACKAGE_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 4 | 283 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'MEDIAPACKAGE_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 4 | 324 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'COLLECTION_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 4 | 366 |
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–999 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 370–390 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 410–420 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 472 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 480 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 531 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 544 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 651 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 696 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 736 |
Suppressed Violations
| Filename | Rule message | Suppression type | Reason |
|---|---|---|---|
| org/opencastproject/capture/admin/impl/AgentImpl.java | Avoid unused private methods such as 'loadCaps()'. | @suppresswarnings |
