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. | 1121 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 1168 |
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. | 934 |
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. | 165 |
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 :: publication-service-oaipmh - org/opencastproject/publication/oaipmh/OaiPmhPublicationServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 1000 |
Opencast :: scheduler-impl - org/opencastproject/scheduler/impl/CaptureNowProlongingService.java
| Rule | Violation | Line |
|---|---|---|
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 422 |
Opencast :: 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. | 875 |
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. | 781 |
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 :: 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. | 179 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 242 |
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–3241 |
| UnnecessaryReturn | Unnecessary return statement | 1258 |
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/AclEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–447 |
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/CaptureAgentsEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–341 |
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/GroupsEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–390 |
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/SeriesEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–1400 |
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/TasksEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–225 |
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/ThemesEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–662 |
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/UserSettingsEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–194 |
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/UsersEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–578 |
Opencast :: admin-ui - org/opencastproject/adminui/tobira/TobiraException.java
| Rule | Violation | Line |
|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'response'. | 29 |
| UnusedPrivateField | Avoid unused private fields such as 'errors'. | 30 |
Opencast :: admin-ui - org/opencastproject/adminui/util/ClassPathInspector.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 43 |
| UnusedLocalVariable | Avoid unused local variables such as 'file'. | 58 |
Opencast :: adopter-registration-impl - org/opencastproject/adopter/registration/AdopterRegistrationRestService.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–282 |
Opencast :: adopter-registration-impl - org/opencastproject/adopter/registration/AdopterRegistrationSender.java
| Rule | Violation | Line |
|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'logger'. | 47 |
Opencast :: adopter-registration-impl - org/opencastproject/adopter/registration/dto/Adopter.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 55 |
Opencast :: asset-manager-impl - org/opencastproject/assetmanager/impl/AssetManagerImpl.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 21–1625 |
| UnusedPrivateMethod | Avoid unused private methods such as 'mkTakeSnapshotMessage(Snapshot)'. | 484 |
| UnusedPrivateMethod | Avoid unused private methods such as 'removeArchivedVersionFromIndex(String)'. | 546 |
| EmptyCatchBlock | Avoid empty catch blocks | 1305–1307 |
Opencast :: asset-manager-impl - org/opencastproject/assetmanager/impl/AssetManagerJobProducer.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 115 |
| UnnecessarySemicolon | Unnecessary semicolon | 139 |
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–508 |
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/persistence/Database.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 107–109 |
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–308 |
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–378 |
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–80 |
Opencast :: authorization-manager - org/opencastproject/authorization/xacml/manager/impl/AclServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 91–94 |
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 | 78 |
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 | 215–216 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 700–702 |
Opencast :: common - org/opencastproject/mediapackage/MediaPackageSupport.java
| Rule | Violation | Line |
|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'NIL'. | 48 |
Opencast :: common - org/opencastproject/mediapackage/XMLCatalogImpl.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–844 |
| UselessOverridingMethod | Overriding method merely calls super | 466 |
| EmptyCatchBlock | Avoid empty catch blocks | 712–715 |
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–352 |
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 | 144–145 |
Opencast :: common - org/opencastproject/serviceregistry/api/RemoteBase.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 272–274 |
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 | 58–59 |
| EmptyCatchBlock | Avoid empty catch blocks | 62–63 |
| EmptyCatchBlock | Avoid empty catch blocks | 67–68 |
| EmptyCatchBlock | Avoid empty catch blocks | 68–69 |
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–136 |
Opencast :: common - org/opencastproject/util/IoSupport.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 239–240 |
| EmptyCatchBlock | Avoid empty catch blocks | 447–448 |
Opencast :: common - org/opencastproject/util/MimeTypes.java
| Rule | Violation | Line |
|---|---|---|
| UselessOverridingMethod | Overriding method merely calls super | 315 |
| UselessOverridingMethod | Overriding method merely calls super | 320 |
| UselessOverridingMethod | Overriding method merely calls super | 325 |
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/Collections.java
| Rule | Violation | Line |
|---|---|---|
| UnusedPrivateMethod | Avoid unused private methods such as 'buildFrom(Collection<B>)'. | 53 |
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 |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 1497–1499 |
| UnusedFormalParameter | Avoid unused method parameters such as 'ex'. | 1933 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 2221–2224 |
| UnusedLocalVariable | Avoid unused local variables such as 'sourceTrackFlavor'. | 2319 |
Opencast :: composer-ffmpeg - org/opencastproject/composer/impl/EncoderEngine.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 720–721 |
| UnusedLocalVariable | Avoid unused local variables such as 'maxrate'. | 818 |
Opencast :: composer-ffmpeg - org/opencastproject/composer/impl/EncodingProfileScanner.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 275–278 |
Opencast :: composer-workflowoperation - org/opencastproject/workflow/handler/composer/ConcatWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 100 |
Opencast :: composer-workflowoperation - org/opencastproject/workflow/handler/composer/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 | 276–278 |
Opencast :: conductor - org/opencastproject/event/handler/ConductingEpisodeUpdatedEventHandler.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 74–76 |
Opencast :: crop-workflowoperation - org/opencastproject/workflow/handler/crop/CropWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| UnusedLocalVariable | Avoid unused local variables such as 'operation'. | 95 |
Opencast :: distribution-service-aws-s3 - org/opencastproject/distribution/aws/s3/AwsS3DistributionServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| UnusedLocalVariable | Avoid unused local variables such as 'distributedElementUriStr'. | 554 |
Opencast :: distribution-service-download - 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-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 |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 602–609 |
Opencast :: dublincore - org/opencastproject/metadata/dublincore/DublinCoreMetadataCollection.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 225–228 |
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 | 158–159 |
| EmptyCatchBlock | Avoid empty catch blocks | 170–171 |
| EmptyCatchBlock | Avoid empty catch blocks | 205–206 |
| EmptyCatchBlock | Avoid empty catch blocks | 214–215 |
| EmptyCatchBlock | Avoid empty catch blocks | 228–229 |
| EmptyCatchBlock | Avoid empty catch blocks | 236–237 |
| EmptyCatchBlock | Avoid empty catch blocks | 330–332 |
Opencast :: dublincore - org/opencastproject/metadata/dublincore/OpencastDctermsDublinCore.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 21–605 |
| 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–396 |
| UnusedLocalVariable | Avoid unused local variables such as 'start'. | 160 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 231–234 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 242–244 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 252–254 |
| UnusedPrivateMethod | Avoid unused private methods such as 'load(Catalog)'. | 382 |
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'. | 66 |
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 | 831–833 |
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 | 125–127 |
Opencast :: elasticsearch-index - org/opencastproject/elasticsearch/index/objects/series/SeriesSearchQuery.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 100–102 |
Opencast :: elasticsearch-index - org/opencastproject/elasticsearch/index/rebuild/IndexRebuildService.java
| Rule | Violation | Line |
|---|---|---|
| UselessQualifiedThis | Useless qualified this usage in the same class. | 282 |
Opencast :: event-comment - org/opencastproject/event/comment/persistence/EventCommentDto.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 377 |
Opencast :: event-comment - org/opencastproject/event/comment/persistence/EventCommentReplyDto.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 208 |
Opencast :: external-api - org/opencastproject/external/endpoint/EventsEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 21–2241 |
| UnnecessarySemicolon | Unnecessary semicolon | 245 |
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–384 |
Opencast :: external-api - org/opencastproject/external/endpoint/SecurityEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 21–175 |
Opencast :: external-api - org/opencastproject/external/endpoint/SeriesEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 21–1486 |
Opencast :: external-api - org/opencastproject/external/endpoint/WorkflowDefinitionsEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 21–301 |
Opencast :: external-api - org/opencastproject/external/endpoint/WorkflowsEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 21–450 |
Opencast :: external-api - org/opencastproject/external/util/CaptureAgentUtils.java
| Rule | Violation | Line |
|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'JSON_KEY_INPUTS'. | 38 |
Opencast :: graphql - org/opencastproject/graphql/command/CreateSeriesCommand.java
| Rule | Violation | Line |
|---|---|---|
| UnusedLocalVariable | Avoid unused local variables such as 'seriesService'. | 71 |
Opencast :: graphql - org/opencastproject/graphql/datafetcher/event/CommonEventMetadataDataFetcher.java
| Rule | Violation | Line |
|---|---|---|
| UnusedLocalVariable | Avoid unused local variables such as 'e'. | 62 |
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 | 59 |
Opencast :: index-service - org/opencastproject/index/service/catalog/adapter/CatalogUIAdapterFactory.java
| Rule | Violation | Line |
|---|---|---|
| SimplifiedTernary | This conditional expression can be simplified with || or && | 121 |
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 |
|---|---|---|
| UnusedLocalVariable | Avoid unused local variables such as 'ingest'. | 991 |
Opencast :: index-service - org/opencastproject/index/service/resources/list/provider/EventCommentsListProvider.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 58 |
| UnnecessarySemicolon | Unnecessary semicolon | 63 |
Opencast :: index-service - org/opencastproject/index/service/resources/list/provider/SeriesListProvider.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 243–252 |
Opencast :: index-service - org/opencastproject/index/service/resources/list/query/ServicesListQuery.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 203–205 |
Opencast :: ingest-service-impl - org/opencastproject/ingest/impl/IngestServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–2151 |
| UnusedLocalVariable | Avoid unused local variables such as 'createdSeries'. | 2135 |
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'. | 32 |
Opencast :: kernel - org/opencastproject/kernel/bundleinfo/BundleInfoRestEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–224 |
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 | 428–430 |
| EmptyCatchBlock | Avoid empty catch blocks | 549–553 |
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–745 |
| UselessQualifiedThis | Useless qualified this usage in the same class. | 281 |
Opencast :: oaipmh - org/opencastproject/oaipmh/server/OaiPmhServer.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 21–289 |
Opencast :: playlists - org/opencastproject/playlists/PlaylistRestService.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 21–659 |
Opencast :: playlists - org/opencastproject/playlists/PlaylistService.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 203–206 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 211–214 |
Opencast :: publication-service-configurable - org/opencastproject/publication/configurable/ConfigurablePublicationServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| UselessOverridingMethod | Overriding method merely calls super | 71 |
| UselessOverridingMethod | Overriding method merely calls super | 80 |
Opencast :: publication-service-oaipmh - org/opencastproject/publication/oaipmh/OaiPmhPublicationServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 650–653 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 800–805 |
| EmptyControlStatement | Empty if statement | 996–998 |
Opencast :: rename-files-workflowoperation - org/opencastproject/workflow/handler/rename/RenameFilesWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| UnusedLocalVariable | Avoid unused local variables such as 'extension'. | 130 |
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–2043 |
Opencast :: scheduler-impl - org/opencastproject/scheduler/impl/CaptureNowProlongingService.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 236–237 |
Opencast :: scheduler-impl - org/opencastproject/scheduler/impl/SchedulerServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 21–1778 |
| EmptyCatchBlock | Avoid empty catch blocks | 315 |
| UnusedFormalParameter | Avoid unused method parameters such as 'checkOwner'. | 1570 |
Opencast :: scheduler-remote - org/opencastproject/scheduler/remote/SchedulerServiceRemoteImpl.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–919 |
| UnnecessaryReturn | Unnecessary return statement | 136 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 540–545 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 737–742 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 877–890 |
Opencast :: search-service-impl - org/opencastproject/search/endpoint/SearchRestService.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–599 |
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. | 541 |
Opencast :: search-service-impl - org/opencastproject/search/impl/persistence/SearchServiceDatabaseImpl.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–554 |
Opencast :: security-aai - org/opencastproject/security/aai/DynamicLoginHandler.java
| Rule | Violation | Line |
|---|---|---|
| UnusedFormalParameter | Avoid unused method parameters such as 'id'. | 216 |
Opencast :: security-jwt - org/opencastproject/security/jwt/JWTVerifier.java
| Rule | Violation | Line |
|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'logger'. | 55 |
Opencast :: series-service-impl - org/opencastproject/series/endpoint/SeriesRestService.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–1370 |
Opencast :: series-service-impl - org/opencastproject/series/impl/SeriesServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 195–198 |
| EmptyCatchBlock | Avoid empty catch blocks | 597 |
Opencast :: series-service-remote - org/opencastproject/series/remote/SeriesServiceRemoteImpl.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–703 |
Opencast :: serviceregistry - org/opencastproject/serviceregistry/impl/AbstractIncidentService.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 113–114 |
Opencast :: serviceregistry - org/opencastproject/serviceregistry/impl/JobDispatcher.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 396–398 |
| EmptyCatchBlock | Avoid empty catch blocks | 564–566 |
| UnusedPrivateField | Avoid unused private fields such as 'toHostRegistration'. | 620 |
| UnusedPrivateField | Avoid unused private fields such as 'toMaxLoad'. | 627 |
| UnusedPrivateField | Avoid unused private fields such as 'sortFloatValuesDesc'. | 634 |
Opencast :: serviceregistry - org/opencastproject/serviceregistry/impl/ServiceRegistryJpaImpl.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–2673 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 2227–2232 |
Opencast :: serviceregistry - org/opencastproject/serviceregistry/impl/endpoint/IncidentServiceEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–360 |
Opencast :: serviceregistry - org/opencastproject/serviceregistry/impl/endpoint/ServiceRegistryEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–769 |
Opencast :: smil-impl - org/opencastproject/smil/entity/SmilObjectImpl.java
| Rule | Violation | Line |
|---|---|---|
| UnusedPrivateMethod | Avoid unused private methods such as 'setId(String)'. | 73 |
Opencast :: smil-impl - org/opencastproject/smil/impl/SmilResponseImpl.java
| Rule | Violation | Line |
|---|---|---|
| UnusedPrivateMethod | Avoid unused private methods such as 'setSmil(Smil)'. | 117 |
| UnusedPrivateMethod | Avoid unused private methods such as 'getResponseEntities()'. | 211 |
| UnusedPrivateMethod | Avoid unused private methods such as 'setResponseEntities(SmilResponseEntity<SmilObject>[])'. | 224 |
| UnusedPrivateMethod | Avoid unused private methods such as 'setEntity(SmilObject)'. | 253 |
Opencast :: static-file-service-impl - org/opencastproject/staticfiles/impl/StaticFileServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 257 |
Opencast :: static - org/opencastproject/fsresources/StaticResourceServlet.java
| Rule | Violation | Line |
|---|---|---|
| CheckSkipResult | Check the value returned by the skip() method of an InputStream to see if the requested number of bytes has been skipped. | 472 |
Opencast :: statistics-export-service-impl - org/opencastproject/statistics/export/impl/StatisticsExportServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| UnusedFormalParameter | Avoid unused method parameters such as 'limit'. | 309 |
| UnusedFormalParameter | Avoid unused method parameters such as 'limit'. | 330 |
| UnusedFormalParameter | Avoid unused method parameters such as 'limit'. | 397 |
Opencast :: statistics-provider-matomo - org/opencastproject/statistics/provider/matomo/provider/BatchMatomoRequest.java
| Rule | Violation | Line |
|---|---|---|
| UnusedFormalParameter | Avoid unused method parameters such as 'resolution'. | 181 |
Opencast :: subtitle-parser - org/opencastproject/subtitleparser/webvttparser/WebVTTParser.java
| Rule | Violation | Line |
|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'WEBVTT_METADATA_HEADER'. | 46 |
| EmptyControlStatement | Empty while statement | 127–129 |
Opencast :: subtitle-timeshift-workflowoperation - org/opencastproject/workflow/handler/subtitletimeshift/SubtitleTimeshiftWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| UnusedLocalVariable | Avoid unused local variables such as 'videoTrack'. | 134 |
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 | 259–267 |
| EmptyControlStatement | Empty else statement | 282–284 |
Opencast :: themes - org/opencastproject/themes/persistence/ThemesServiceDatabaseImpl.java
| Rule | Violation | Line |
|---|---|---|
| UnusedPrivateMethod | Avoid unused private methods such as 'getThemes()'. | 151 |
Opencast :: timelinepreviews-ffmpeg - org/opencastproject/timelinepreviews/ffmpeg/TimelinePreviewsServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 90 |
| EmptyCatchBlock | Avoid empty catch blocks | 434–436 |
Opencast :: timelinepreviews-workflowoperation - org/opencastproject/workflow/handler/timelinepreviews/TimelinePreviewsWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 278–280 |
Opencast :: transcription-service-amberscript - org/opencastproject/transcription/amberscript/AmberscriptTranscriptionService.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 700–701 |
| EmptyCatchBlock | Avoid empty catch blocks | 770–771 |
| EmptyCatchBlock | Avoid empty catch blocks | 816–817 |
Opencast :: transcription-service-google-speech-impl - org/opencastproject/transcription/googlespeech/GoogleSpeechTranscriptionService.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 577–578 |
| EmptyCatchBlock | Avoid empty catch blocks | 666–667 |
| EmptyCatchBlock | Avoid empty catch blocks | 716–717 |
| EmptyCatchBlock | Avoid empty catch blocks | 848–849 |
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 | 305–307 |
| EmptyCatchBlock | Avoid empty catch blocks | 327–329 |
| EmptyCatchBlock | Avoid empty catch blocks | 337–339 |
| EmptyCatchBlock | Avoid empty catch blocks | 585–586 |
| EmptyCatchBlock | Avoid empty catch blocks | 686–687 |
| EmptyCatchBlock | Avoid empty catch blocks | 765–766 |
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 | 346–349 |
| EmptyCatchBlock | Avoid empty catch blocks | 363–366 |
Opencast :: transcription-service-persistence - org/opencastproject/transcription/persistence/TranscriptionDatabaseImpl.java
| Rule | Violation | Line |
|---|---|---|
| UnusedLocalVariable | Avoid unused local variables such as 'dto'. | 184 |
Opencast :: transcription-service-workflowoperation - org/opencastproject/transcription/workflowoperation/MicrosoftAzureStartTranscriptionOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 217–219 |
Opencast :: urlsigning-common - org/opencastproject/urlsigning/common/ResourceRequest.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 29 |
Opencast :: urlsigning-common - org/opencastproject/urlsigning/utils/PolicyUtils.java
| Rule | Violation | Line |
|---|---|---|
| PrimitiveWrapperInstantiation | Do not use `new Long(...)`, prefer `Long.valueOf(...)` | 125 |
| PrimitiveWrapperInstantiation | Do not use `new Long(...)`, prefer `Long.valueOf(...)` | 127 |
Opencast :: urlsigning-service-api - org/opencastproject/security/urlsigning/exception/UrlSigningException.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 32 |
Opencast :: urlsigning-verifier-service-impl - org/opencastproject/security/urlsigning/filter/UrlSigningFilter.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryReturn | Unnecessary return statement | 183 |
| UnnecessaryReturn | Unnecessary return statement | 193 |
Opencast :: userdirectory-brightspace - org/opencastproject/userdirectory/brightspace/BrightspaceUserProviderFactory.java
| Rule | Violation | Line |
|---|---|---|
| UnusedLocalVariable | Avoid unused local variables such as 'adminUserName'. | 149 |
Opencast :: userdirectory-brightspace - org/opencastproject/userdirectory/brightspace/BrightspaceUserProviderInstance.java
| Rule | Violation | Line |
|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'LTI_LEARNER_ROLE'. | 68 |
Opencast :: userdirectory-canvas - org/opencastproject/userdirectory/canvas/CanvasUserRoleProvider.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 347–349 |
| EmptyCatchBlock | Avoid empty catch blocks | 367–369 |
| EmptyCatchBlock | Avoid empty catch blocks | 409–411 |
Opencast :: userdirectory - org/opencastproject/userdirectory/UserIdRoleProvider.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 112 |
| UnnecessarySemicolon | Unnecessary semicolon | 116 |
Opencast :: userdirectory - org/opencastproject/userdirectory/endpoint/GroupRoleEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–376 |
Opencast :: userdirectory - org/opencastproject/userdirectory/endpoint/UserEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–438 |
Opencast :: videoeditor-workflowoperation - org/opencastproject/workflow/handler/videoeditor/VideoEditorWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 410–413 |
Opencast :: videogrid-service-impl - org/opencastproject/videogrid/impl/VideoGridServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 205–207 |
Opencast :: videogrid-workflowoperation - org/opencastproject/workflow/handler/videogrid/VideoGridWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| UnusedPrivateMethod | Avoid unused private methods such as 'getTrackPath(Track)'. | 996 |
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 | 141 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 204–210 |
| EmptyCatchBlock | Avoid empty catch blocks | 385–387 |
Opencast :: workflow-service-api - org/opencastproject/workflow/api/AbstractWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 73 |
Opencast :: workflow-service-impl - org/opencastproject/workflow/endpoint/WorkflowRestService.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–864 |
Opencast :: workflow-service-impl - org/opencastproject/workflow/impl/WorkflowOperationWorker.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 127–129 |
Opencast :: workflow-service-impl - org/opencastproject/workflow/impl/WorkflowServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–2417 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 762–765 |
| EmptyCatchBlock | Avoid empty catch blocks | 916–918 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1049–1052 |
| EmptyCatchBlock | Avoid empty catch blocks | 1190–1192 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1633–1635 |
| EmptyCatchBlock | Avoid empty catch blocks | 2274–2276 |
Opencast :: workflow-service-remote - org/opencastproject/workflow/remote/WorkflowServiceRemoteImpl.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–676 |
Opencast :: workflow-workflowoperation - org/opencastproject/workflow/handler/workflow/CleanupWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 189–191 |
| EmptyCatchBlock | Avoid empty catch blocks | 316–318 |
Opencast :: workflow-workflowoperation - org/opencastproject/workflow/handler/workflow/WebvttToCutMarksWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 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 && | 226 |
Opencast :: working-file-repository-service-impl - org/opencastproject/workingfilerepository/impl/WorkingFileRepositoryCleaner.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 127–128 |
Opencast :: working-file-repository-service-impl - org/opencastproject/workingfilerepository/impl/WorkingFileRepositoryImpl.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 577–579 |
| EmptyCatchBlock | Avoid empty catch blocks | 642–644 |
| EmptyCatchBlock | Avoid empty catch blocks | 865–867 |
Opencast :: working-file-repository-service-impl - org/opencastproject/workingfilerepository/impl/WorkingFileRepositoryRestEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 22–683 |
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–996 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 365–389 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 409–419 |
Priority 4
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/AbstractEventEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 307 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 324 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 325 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 365 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 383 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 384 |
| 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 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 626 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 627 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 649 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 650 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 740 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 741 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 748 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 749 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 805 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 806 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 831 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 832 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 1015 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 1016 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NO_CONTENT' is already in scope because it is imported in this file | 1078 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 1079 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 1149 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 1199 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1266 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 1267 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1340 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 1343 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Status': 'NOT_FOUND' is already in scope because it is imported in this file | 1400 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1439 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 1440 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_INTERNAL_SERVER_ERROR' is already in scope because it is imported in this file | 1441 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 1442 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NO_CONTENT' is already in scope because it is imported in this file | 1511 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 1512 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 1514 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 1568 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 1569 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1620 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 1621 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 1622 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 1633 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NO_CONTENT' is already in scope because it is imported in this file | 1648 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_INTERNAL_SERVER_ERROR' is already in scope because it is imported in this file | 1652 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1716 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 1717 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1752 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 1753 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1768 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 1769 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1784 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 1785 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1800 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 1801 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1816 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 1817 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1832 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 1833 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1848 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 1849 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1864 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 1865 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1937 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 1938 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 1970 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 2000 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NO_CONTENT' is already in scope because it is imported in this file | 2010 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 2011 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 2059 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 2069 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 2070 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 2071 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 2113 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 2134 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 2135 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 2136 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 2187 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 2188 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 2189 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 2250 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 2251 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 2252 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 2284 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 2285 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 2286 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 2368 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 2369 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 2370 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NO_CONTENT' is already in scope because it is imported in this file | 2484 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 2486 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 2659 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 2787 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 3104 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 3110 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 3162 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 3180 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 3206 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 3210 |
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/AclEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `AclsListQuery.FILTER_TEXT_NAME.equals(name)`. | 195 |
| UselessParentheses | Useless parentheses around `StringUtils.isNotBlank(value)`. | 195 |
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/JobEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `server.isPresent()`. | 195 |
| UselessParentheses | Useless parentheses around `job.getRootJobId() != null && !StringUtils.equa...`. | 211 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 275 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 276 |
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/SeriesEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 317 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 599 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 675 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 692 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 693 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Status': 'BAD_REQUEST' is already in scope because it is imported in this file | 696 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Status': 'BAD_REQUEST' is already in scope because it is imported in this file | 705 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Status': 'BAD_REQUEST' is already in scope because it is imported in this file | 708 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 893 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 925 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 926 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 989 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 990 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 1355 |
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 | 191 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 243 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 244 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 261 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 262 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 300 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 307 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 308 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 309 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 310 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 311 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 312 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 313 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 314 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 331 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 332 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 333 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 334 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 334 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 335 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 336 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 337 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 337 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RestUtils': 'okJson' is already in scope | 351 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 362 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 369 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 370 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 371 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 372 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 373 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 374 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 375 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 376 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 428 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 429 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 430 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 431 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 431 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 432 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 433 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 434 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 434 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RestUtils': 'okJson' is already in scope | 447 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isNotBlank' is already in scope | 514 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isNotBlank' is already in scope | 537 |
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/UserSettingsEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `Response.serverError().build()`. | 136 |
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/UsersEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `UsersListQuery.FILTER_TEXT_NAME.equals(name)`. | 231 |
| UselessParentheses | Useless parentheses around `StringUtils.isNotBlank(value)`. | 231 |
Opencast :: admin-ui - org/opencastproject/adminui/util/BulkUpdateUtil.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `(String) result.get("weekday")`. | 138 |
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 |
|---|---|---|
| UselessParentheses | Useless parentheses around `originalOrg != null ? securityService.getUser()...`. | 1044 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.util.function': 'Predicate' is already in scope because it is imported in this file | 1207 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 1293 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 1353 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 1569 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 1583 |
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 | 206 |
Opencast :: asset-manager-impl - org/opencastproject/assetmanager/impl/persistence/AssetDto.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `"checksum"`. | 46 |
| UselessParentheses | Useless parentheses around `"mediapackage_element_id"`. | 47 |
Opencast :: asset-manager-impl - org/opencastproject/assetmanager/impl/persistence/Database.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Queries': 'namedQuery' is already in scope because it is imported in this file | 246 |
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`. | 129 |
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 | 182 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AssetStore': 'STORE_TYPE_PROPERTY' is already in scope because it is inherited by an enclosing type | 186 |
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())`. | 91 |
Opencast :: authorization-manager - org/opencastproject/authorization/xacml/manager/impl/persistence/JpaAclDb.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ManagedAclEntity': 'findByIdAndOrgQuery' is already in scope | 86 |
Opencast :: authorization-xacml - org/opencastproject/authorization/xacml/XACMLAuthorizationService.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Tuple': 'tuple' is already in scope | 293 |
Opencast :: authorization-xacml - org/opencastproject/authorization/xacml/XACMLUtils.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'jBossXacmlJaxbContext' is already in scope because it is declared in an enclosing type | 88 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'jBossXacmlJaxbContext' is already in scope because it is declared in an enclosing type | 119 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'RULE_COMBINING_ALG' is already in scope because it is declared in an enclosing type | 184 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'XACML_STRING_EQUAL' is already in scope because it is declared in an enclosing type | 191 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'W3C_STRING' is already in scope because it is declared in an enclosing type | 193 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'RESOURCE_IDENTIFIER' is already in scope because it is declared in an enclosing type | 196 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'W3C_STRING' is already in scope because it is declared in an enclosing type | 197 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'XACML_STRING_EQUAL' is already in scope because it is declared in an enclosing type | 223 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'W3C_STRING' is already in scope because it is declared in an enclosing type | 225 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'ACTION_IDENTIFIER' is already in scope because it is declared in an enclosing type | 228 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'W3C_STRING' is already in scope because it is declared in an enclosing type | 229 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'XACML_STRING_IS_IN' is already in scope because it is declared in an enclosing type | 241 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'W3C_STRING' is already in scope because it is declared in an enclosing type | 244 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'W3C_STRING' is already in scope because it is declared in an enclosing type | 248 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'SUBJECT_ROLE_IDENTIFIER' is already in scope because it is declared in an enclosing type | 249 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'jBossXacmlJaxbContext' is already in scope because it is declared in an enclosing type | 266 |
Opencast :: caption-impl - org/opencastproject/caption/converters/GoogleSpeechCaptionConverter.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `wordTSList.get("startTime").toString()`. | 127 |
| UselessParentheses | Useless parentheses around `wordTSList.get("endTime").toString()`. | 133 |
| UselessParentheses | Useless parentheses around `ms % 3600000L`. | 184 |
| UselessParentheses | Useless parentheses around `ms % 60000L`. | 185 |
Opencast :: caption-impl - org/opencastproject/caption/converters/IBMWatsonCaptionConverter.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `wordTsArray.get(1).toString()`. | 125 |
| UselessParentheses | Useless parentheses around `wordTsArray.get(2).toString()`. | 130 |
| UselessParentheses | Useless parentheses around `ms % 3600000L`. | 181 |
| UselessParentheses | Useless parentheses around `ms % 60000L`. | 182 |
Opencast :: capture-admin-service-impl - org/opencastproject/capture/admin/endpoint/CaptureAgentStateRestService.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'javax.ws.rs.core': 'Response' is already in scope because it is imported in this file | 203 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'javax.ws.rs.core': 'Response' is already in scope because it is imported in this file | 369 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'javax.ws.rs.core': 'Response' is already in scope because it is imported in this file | 389 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 440 |
Opencast :: capture-admin-service-impl - org/opencastproject/capture/admin/impl/CaptureAgentStateServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 262 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 264 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AgentState': 'UNKNOWN' is already in scope because it is imported in this file | 283 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AgentState': 'UNKNOWN' is already in scope because it is imported in this file | 332 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 467 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AgentState': 'UNKNOWN' is already in scope because it is imported in this file | 529 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AgentState': 'UNKNOWN' is already in scope because it is imported in this file | 585 |
Opencast :: comments-workflowoperation - org/opencastproject/workflow/handler/comments/CommentWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `new Date().getTime()`. | 135 |
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 | 283 |
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)`. | 419 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MediaPackageImpl': 'valueOf' is already in scope | 1071 |
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/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 | 275 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'IoSupport': 'closeQuietly' is already in scope | 375 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'IoSupport': 'closeQuietly' is already in scope | 449 |
Opencast :: common - org/opencastproject/util/MimeTypes.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 95 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 96 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 97 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 98 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 99 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 100 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 101 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 102 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 103 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 104 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 105 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 106 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 107 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 108 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 109 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 110 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 111 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 112 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 113 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'fromString' is already in scope | 233 |
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/functions/Misc.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `(Object) ((Number) v).intValue()`. | 60 |
| UselessParentheses | Useless parentheses around `((Number) v).intValue()`. | 60 |
| UselessParentheses | Useless parentheses around `(Object) ((Number) v).longValue()`. | 62 |
| UselessParentheses | Useless parentheses around `((Number) v).longValue()`. | 62 |
| UselessParentheses | Useless parentheses around `(Object) ((Number) v).doubleValue()`. | 64 |
| UselessParentheses | Useless parentheses around `((Number) v).doubleValue()`. | 64 |
| UselessParentheses | Useless parentheses around `(Object) ((Number) v).floatValue()`. | 66 |
| UselessParentheses | Useless parentheses around `((Number) v).floatValue()`. | 66 |
| UselessParentheses | Useless parentheses around `(Object) ((Number) v).shortValue()`. | 68 |
| UselessParentheses | Useless parentheses around `((Number) v).shortValue()`. | 68 |
| UselessParentheses | Useless parentheses around `(Object) ((Number) v).byteValue()`. | 70 |
| UselessParentheses | Useless parentheses around `((Number) v).byteValue()`. | 70 |
Opencast :: composer-ffmpeg - org/opencastproject/composer/impl/ComposerServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 348 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 352 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 408 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 414 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 428 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 432 |
| UselessParentheses | Useless parentheses around `stream -> stream instanceof VideoStream`. | 502 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Tuple': 'tuple' is already in scope | 708 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Tuple': 'tuple' is already in scope | 708 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ComposerService': 'BOTH' is already in scope because it is inherited by an enclosing type | 877 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ComposerService': 'UPPER' is already in scope because it is inherited by an enclosing type | 880 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ComposerService': 'LOWER' is already in scope because it is inherited by an enclosing type | 882 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 987 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 1118 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 1696 |
| UselessParentheses | Useless parentheses around `'a' + i + 1 - ((characterCount - 1) * 25)`. | 1826 |
| UselessParentheses | Useless parentheses around `'a' + i + 1 - ((characterCount - 1) * 25)`. | 1850 |
| UselessParentheses | Useless parentheses around `serviceRegistry.createJob(JOB_TYPE, Operation.P...`. | 2223 |
| UselessParentheses | Useless parentheses around `profiles`. | 2251 |
| UselessParentheses | Useless parentheses around `(SmilMediaParamGroup) smil.get(trackParamGroupId)`. | 2275 |
Opencast :: composer-ffmpeg - org/opencastproject/composer/impl/EncoderEngine.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `al`. | 517 |
| UselessParentheses | Useless parentheses around `hasVideo ? videoOut : null`. | 1295 |
| UselessParentheses | Useless parentheses around `hasAudio ? audioOut : null`. | 1296 |
Opencast :: composer-ffmpeg - org/opencastproject/composer/impl/endpoint/ComposerRestService.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 211 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 252 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 295 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 354 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 355 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 356 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 424 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 486 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 550 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 551 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 552 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 553 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 554 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 555 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 556 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 557 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 630 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 635 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 693 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 744 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 784 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 828 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 864 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 906 |
Opencast :: composer-workflowoperation - org/opencastproject/workflow/handler/composer/ConcatWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `new File(left.getURI().getPath())`. | 251 |
| UselessParentheses | Useless parentheses around `new File(right.getURI().getPath())`. | 252 |
| UselessParentheses | Useless parentheses around `l.compareTo(r)`. | 253 |
Opencast :: composer-workflowoperation - org/opencastproject/workflow/handler/composer/DemuxWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `new MediaPackageElementFlavor(flavorType, flavo...`. | 264 |
Opencast :: composer-workflowoperation - org/opencastproject/workflow/handler/composer/ImageWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `(double) durationMs - endMarginMs`. | 343 |
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`. | 677 |
| UselessParentheses | Useless parentheses around `trackDimension.getB().getHeight() / 2`. | 677–678 |
Opencast :: composer-workflowoperation - org/opencastproject/workflow/handler/composer/PrepareAVWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `QUESTION_MARK.equals(flavor.getType())`. | 369 |
| UselessParentheses | Useless parentheses around `QUESTION_MARK.equals(flavor.getSubtype())`. | 370 |
Opencast :: composer-workflowoperation - org/opencastproject/workflow/handler/composer/ProcessSmilWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `options`. | 252 |
| UselessParentheses | Useless parentheses around `(trackFlavor.getType().equals(sourceFlavor.getT...`. | 611–615 |
Opencast :: distribution-service-streaming-wowza - org/opencastproject/distribution/streaming/wowza/WowzaStreamingDistributionService.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 267 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 268 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 275 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 282 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 432 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RequireUtil': 'notNull' is already in scope | 806 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RequireUtil': 'notNull' is already in scope | 807 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RequireUtil': 'notNull' is already in scope | 808 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 832 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 859 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 1115 |
Opencast :: distribution-workflowoperation - org/opencastproject/workflow/handler/distribution/ConfigurablePublishWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `downloadDistributionService != null`. | 151 |
| UselessParentheses | Useless parentheses around `streamingDistributionService != null`. | 157 |
| UselessParentheses | Useless parentheses around `"fail"`. | 245 |
| UselessParentheses | Useless parentheses around `"merge"`. | 249 |
| UselessParentheses | Useless parentheses around `streaming ? "streaming" : "download"`. | 329 |
Opencast :: distribution-workflowoperation - org/opencastproject/workflow/handler/distribution/ConfigurableRetractWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `downloadDistributionService != null`. | 78 |
| UselessParentheses | Useless parentheses around `streamingDistributionService != null`. | 84 |
| UselessParentheses | Useless parentheses around `channelId`. | 103 |
Opencast :: distribution-workflowoperation - org/opencastproject/workflow/handler/distribution/ConfigurableWorkflowOperationHandlerBase.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `(publication != null) && (mp != null)`. | 70 |
| UselessParentheses | Useless parentheses around `(channelId != null) && (publication != null) &&...`. | 101 |
| UselessParentheses | Useless parentheses around `(mp != null) && (channelId != null)`. | 161 |
| UselessParentheses | Useless parentheses around `publications != null`. | 165 |
| UselessParentheses | Useless parentheses around `(mp != null) && (channelId != null)`. | 171 |
Opencast :: distribution-workflowoperation - org/opencastproject/workflow/handler/distribution/PublishEngageWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 406 |
Opencast :: dublincore - org/opencastproject/metadata/dublincore/DublinCoreCatalog.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `language.equals(lang)`. | 114 |
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 | 114 |
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 | 149 |
Opencast :: dublincore - org/opencastproject/metadata/dublincore/DublinCoreXmlFormat.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `mergeEntry.getEName()`. | 192 |
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 | 212 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.util': 'Date' is already in scope because it is imported in this file | 234 |
Opencast :: dublincore - org/opencastproject/metadata/dublincore/MetadataJson.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MetadataJson': 'fillCollectionFromJson' is already in scope | 431 |
Opencast :: dublincore - org/opencastproject/metadata/dublincore/StaticMetadataServiceDublinCoreImpl.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.util.function': 'Function' is already in scope because it is imported in this file | 355 |
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 | 521 |
Opencast :: elasticsearch-impl - org/opencastproject/elasticsearch/impl/AbstractElasticsearchQueryBuilder.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'IndexSchema': 'TEXT' is already in scope because it is imported in this file | 163 |
Opencast :: elasticsearch-impl - org/opencastproject/elasticsearch/impl/AbstractSearchQuery.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Quantifier': 'Any' is already in scope because it is imported in this file | 183 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Quantifier': 'Any' is already in scope because it is imported in this file | 191 |
Opencast :: elasticsearch-index - org/opencastproject/elasticsearch/index/objects/event/Comment.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'IndexObject': 'INDEX_XML_NAMESPACE' is already in scope because it is inherited by an enclosing type | 207 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Comment': 'context' is already in scope because it is declared in an enclosing type | 236 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Comment': 'context' is already in scope because it is declared in an enclosing type | 280 |
Opencast :: elasticsearch-index - org/opencastproject/elasticsearch/index/objects/event/Event.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'IndexObject': 'INDEX_XML_NAMESPACE' is already in scope because it is inherited by an enclosing type | 1171 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Event': 'context' is already in scope because it is declared in an enclosing type | 1200 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Event': 'context' is already in scope because it is declared in an enclosing type | 1244 |
Opencast :: elasticsearch-index - org/opencastproject/elasticsearch/index/objects/series/Series.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'IndexObject': 'INDEX_XML_NAMESPACE' is already in scope because it is inherited by an enclosing type | 617 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Series': 'context' is already in scope because it is declared in an enclosing type | 646 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Series': 'context' is already in scope because it is declared in an enclosing type | 690 |
Opencast :: 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 | 576 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 577 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 578 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 582 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ApiVersion': 'VERSION_1_1_0' is already in scope because it is imported in this file | 825 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ApiVersion': 'VERSION_1_1_0' is already in scope because it is imported in this file | 844 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 1176 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 1372 |
| UselessParentheses | Useless parentheses around `!requestedVersion.isSmallerThan(VERSION_1_11_0)...`. | 1916 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 2032 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 2033 |
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 | 148 |
| 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 | 150 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 151 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 190 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 282 |
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 | 208 |
| UselessParentheses | Useless parentheses around `withAcl != null && withAcl`. | 333 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 413 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 483 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 488 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 647 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 674 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 675 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 679 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 745 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 769 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 804 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 832 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 873 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 874 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 898 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 924 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 972 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 997 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1037 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1081 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 1086 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 1448 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 1449 |
Opencast :: external-api - org/opencastproject/external/util/SchedulingUtils.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ZoneOffset': 'UTC' is already in scope because it is imported in this file | 172 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ZoneOffset': 'UTC' is already in scope because it is imported in this file | 175 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 416 |
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...`. | 1576–1577 |
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)`. | 412 |
| UselessParentheses | Useless parentheses around `(String) properties.get(DOWNLOAD_SOURCE)`. | 413 |
| UselessParentheses | Useless parentheses around `(String) properties.get(SERIES_APPENDIX)`. | 438 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DublinCore': 'PROPERTY_IDENTIFIER' is already in scope because it is imported in this file | 918 |
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 | 60 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.util': 'Collections' is already in scope because it is imported in this file | 208 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.util': 'Collections' is already in scope because it is imported in this file | 209 |
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 | 325 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 329 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 364 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 368 |
| 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 | 409 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 446 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 450 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 510 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 514 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 550 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 554 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 591 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 594 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 643 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 699 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 759 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 838 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 840 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 959 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 961 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1072 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 1082 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 1084 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1184 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1215 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1244 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1280 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1346 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 1348 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 1350 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1407 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 1409 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 1411 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1463 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 1465 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1501 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1528 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 1529 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1557 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1596 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1636 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 1683 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1809 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 1813 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DublinCore': 'PROPERTY_TEMPORAL' is already in scope because it is imported in this file | 1855 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 1892 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 1895 |
Opencast :: scheduler-impl - org/opencastproject/scheduler/impl/CaptureNowProlongingService.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DublinCore': 'PROPERTY_TEMPORAL' is already in scope because it is imported in this file | 391 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DublinCore': 'PROPERTY_TEMPORAL' is already in scope because it is imported in this file | 410 |
Opencast :: scheduler-impl - org/opencastproject/scheduler/impl/SchedulerServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SchedulerService': 'JOB_TYPE' is already in scope because it is inherited by an enclosing type | 172 |
| UselessParentheses | Useless parentheses around `securityService.getUser().hasRole(GLOBAL_ADMIN_...`. | 820–821 |
Opencast :: scheduler-impl - org/opencastproject/scheduler/impl/persistence/ExtendedEventDto.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `"organization"`. | 75 |
| UselessParentheses | Useless parentheses around `"capture_agent_id"`. | 76 |
| UselessParentheses | Useless parentheses around `"start_date, end_date"`. | 77 |
Opencast :: scheduler-impl - org/opencastproject/scheduler/impl/persistence/LastModifiedDto.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `"last_modified"`. | 47 |
Opencast :: search-service-api - org/opencastproject/search/api/SearchResult.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SearchResult': 'dehydrateAclForIndex' is already in scope | 258 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SearchResult': 'dehydrateAclForREST' is already in scope | 259 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SearchResult': 'dehydrateDC' is already in scope | 260 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SearchResult': 'dehydrateAclForIndex' is already in scope | 274 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SearchResult': 'dehydrateAclForREST' is already in scope | 275 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SearchResult': 'dehydrateDC' is already in scope | 276 |
Opencast :: search-service-impl - org/opencastproject/search/impl/persistence/SearchEntity.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `"series_id"`. | 48 |
| UselessParentheses | Useless parentheses around `"organization"`. | 49 |
Opencast :: security-jwt - org/opencastproject/security/jwt/DynamicLoginHandler.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `roleMappings == null ? new ArrayList<String>() ...`. | 341 |
Opencast :: security-jwt - org/opencastproject/security/jwt/JWTRequestHeaderAuthenticationFilter.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `super.getPreAuthenticatedPrincipal(request)`. | 52 |
Opencast :: security-jwt - org/opencastproject/security/jwt/JWTVerifier.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.text': 'ParseException' is already in scope because it is imported in this file | 70 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.text': 'ParseException' is already in scope because it is imported in this file | 111 |
Opencast :: security-shibboleth - org/opencastproject/security/shibboleth/ShibbolethRequestHeaderAuthenticationFilter.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `super.getPreAuthenticatedPrincipal(request)`. | 72 |
Opencast :: series-service-impl - org/opencastproject/series/endpoint/SeriesRestService.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 948 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 998 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 1004 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 1112 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 1118 |
Opencast :: series-service-impl - org/opencastproject/series/impl/persistence/SeriesEntity.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `"modified_date"`. | 66 |
Opencast :: serviceregistry - org/opencastproject/serviceregistry/impl/IncidentDto.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `"jobid"`. | 64 |
| UselessParentheses | Useless parentheses around `"severity"`. | 65 |
Opencast :: serviceregistry - org/opencastproject/serviceregistry/impl/ServiceRegistryJpaImpl.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 302 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 332 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 340 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 505 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 508 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 511 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Status': 'FAILED' is already in scope because it is imported in this file | 889 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Status': 'FAILED' is already in scope because it is imported in this file | 1023 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Status': 'FAILED' is already in scope because it is imported in this file | 1411 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 1879 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 1879 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 1879 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Status': 'FAILED' is already in scope because it is imported in this file | 2157 |
Opencast :: serviceregistry - org/opencastproject/serviceregistry/impl/endpoint/ServiceRegistryEndpoint.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isNotBlank' is already in scope | 313 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 506 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isNotBlank' is already in scope | 510 |
Opencast :: silencedetection-impl - org/opencastproject/silencedetection/ffmpeg/FFmpegSilenceDetector.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.lang': 'Math' is already in scope because it is declared in java.lang | 213 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.lang': 'Math' is already in scope because it is declared in java.lang | 221 |
Opencast :: smil-api - org/opencastproject/smil/api/util/SmilUtil.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.w3c.dom': 'Document' is already in scope because it is imported in this file | 80 |
Opencast :: speech-to-text-workflowoperation - org/opencastproject/workflow/handler/speechtotext/SpeechToTextWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `presentationTracksWithAudio`. | 273 |
Opencast :: static-file-service-api - org/opencastproject/staticfiles/endpoint/StaticFileRestService.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 197 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 325 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 361 |
Opencast :: static-file-service-impl - org/opencastproject/staticfiles/impl/StaticFileServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 120 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 124 |
| UselessParentheses | Useless parentheses around `Files.getLastModifiedTime(path).toMillis() < ne...`. | 318 |
| UselessParentheses | Useless parentheses around `new Date()`. | 318 |
Opencast :: static - org/opencastproject/fsresources/StaticResourceServlet.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `ranges.isEmpty()`. | 233 |
| UselessParentheses | Useless parentheses around `ranges.isEmpty()`. | 248 |
| UselessParentheses | Useless parentheses around `ranges.hasNext()`. | 318 |
| UselessParentheses | Useless parentheses around `-1L`. | 362 |
| UselessParentheses | Useless parentheses around `(start >= 0) && (end >= 0) && (start <= end) &&...`. | 526 |
Opencast :: subtitle-parser - org/opencastproject/subtitleparser/webvttparser/WebVTTParser.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `value * 1000 + Long.parseLong(parts[1])`. | 188 |
Opencast :: termination-state-aws - org/opencastproject/terminationstate/aws/AutoScalingTerminationStateService.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.quartz': 'SchedulerException' is already in scope because it is imported in this file | 308 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.quartz': 'SchedulerException' is already in scope because it is imported in this file | 360 |
Opencast :: termination-state-impl - org/opencastproject/terminationstate/impl/TerminationStateServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.quartz': 'SchedulerException' is already in scope because it is imported in this file | 132 |
Opencast :: textanalyzer-workflowoperation - org/opencastproject/workflow/handler/textanalyzer/TextAnalysisWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `segment instanceof VideoSegment`. | 256 |
Opencast :: textextractor-tesseract - org/opencastproject/textextractor/tesseract/TesseractTextExtractor.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.util': 'Arrays' is already in scope because it is imported in this file | 84 |
Opencast :: timelinepreviews-ffmpeg - org/opencastproject/timelinepreviews/ffmpeg/TimelinePreviewsServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `imageCount`. | 288 |
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 | 899 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AmberscriptTranscriptionService': 'CONNECTION_TIMEOUT' is already in scope because it is declared in an enclosing type | 901 |
Opencast :: transcription-service-google-speech-impl - org/opencastproject/transcription/googlespeech/GoogleSpeechTranscriptionService.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `database.findByJob(jobId).getDateCreated().getT...`. | 952–954 |
| UselessParentheses | Useless parentheses around `System.currentTimeMillis()`. | 955 |
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 | 695 |
| UselessParentheses | Useless parentheses around `videoCount / (float) tmpTilesV`. | 713 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 744 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 772 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 783 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 786 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 789 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 792 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 795 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 797 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 803 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 805 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 806 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 822 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 825 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 827 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 828 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 833 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 836 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 838 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 839 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 840 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 846 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 909 |
| UselessParentheses | Useless parentheses around `trackDimension.getB().getWidth() / 2`. | 947 |
| UselessParentheses | Useless parentheses around `trackDimension.getB().getHeight() / 2`. | 947–948 |
Opencast :: videosegmenter-ffmpeg - org/opencastproject/videosegmenter/ffmpeg/VideoSegmenterServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `track.getDuration() / 1000.0f`. | 841 |
| UselessParentheses | Useless parentheses around `(x + 0.5f) * 0.5f`. | 917 |
Opencast :: workflow-condition-parser - org/opencastproject/workflow/conditionparser/Atom.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Atom': 'fromNumber' is already in scope | 71 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Atom': 'fromString' is already in scope | 73 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Atom': 'fromNumber' is already in scope | 76 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Atom': 'fromNumber' is already in scope | 81 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Atom': 'fromNumber' is already in scope | 86 |
Opencast :: workflow-condition-parser - org/opencastproject/workflow/conditionparser/ComparisonOperator.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ComparisonOperator': 'LE' is already in scope because it is declared in an enclosing type | 32 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ComparisonOperator': 'LT' is already in scope because it is declared in an enclosing type | 34 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ComparisonOperator': 'EQ' is already in scope because it is declared in an enclosing type | 36 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ComparisonOperator': 'NE' is already in scope because it is declared in an enclosing type | 38 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ComparisonOperator': 'GT' is already in scope because it is declared in an enclosing type | 40 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ComparisonOperator': 'GE' is already in scope because it is declared in an enclosing type | 42 |
Opencast :: workflow-condition-parser - org/opencastproject/workflow/conditionparser/NumericalOperator.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'NumericalOperator': 'ADD' is already in scope because it is declared in an enclosing type | 32 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'NumericalOperator': 'SUBTRACT' is already in scope because it is declared in an enclosing type | 34 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'NumericalOperator': 'MULTIPLY' is already in scope because it is declared in an enclosing type | 36 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'NumericalOperator': 'DIVIDE' is already in scope because it is declared in an enclosing type | 38 |
Opencast :: workflow-service-api - org/opencastproject/workflow/api/WorkflowInstance.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `"mediapackage_id"`. | 79 |
| UselessParentheses | Useless parentheses around `"series_id"`. | 80 |
| UselessParentheses | Useless parentheses around `"workflow_id"`. | 194 |
Opencast :: workflow-service-api - org/opencastproject/workflow/api/WorkflowOperationInstance.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `"workflow_id"`. | 55 |
| UselessParentheses | Useless parentheses around `"workflow_operation_id"`. | 85 |
Opencast :: workflow-service-impl - org/opencastproject/workflow/endpoint/WorkflowRestService.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NO_CONTENT' is already in scope because it is imported in this file | 591 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 814 |
Opencast :: workflow-service-impl - org/opencastproject/workflow/impl/WorkflowCleanupScanner.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AbstractScanner': 'PARAM_KEY_ENABLED' is already in scope because it is inherited by an enclosing type | 149 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AbstractScanner': 'PARAM_KEY_CRON_EXPR' is already in scope because it is inherited by an enclosing type | 153 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AbstractScanner': 'PARAM_KEY_CRON_EXPR' is already in scope because it is inherited by an enclosing type | 155 |
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 | 1033 |
| UselessParentheses | Useless parentheses around `currentUser.equals(workflowCreator)`. | 1155 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkflowState': 'PAUSED' is already in scope because it is imported in this file | 2255 |
Opencast :: workflow-service-remote - org/opencastproject/workflow/remote/WorkflowServiceRemoteImpl.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpStatus': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 644 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpStatus': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 647 |
Opencast :: workflow-workflowoperation - org/opencastproject/workflow/handler/workflow/CleanupWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `serviceRegistry.getJob(operationInstanceId)`. | 135 |
Opencast :: workflow-workflowoperation - org/opencastproject/workflow/handler/workflow/CopyWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 184 |
Opencast :: workflow-workflowoperation - org/opencastproject/workflow/handler/workflow/DuplicateEventWorkflowOperationHandler.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `title.endsWith("}")`. | 340 |
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 | 151 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'MEDIAPACKAGE_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 187 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'COLLECTION_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 217 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'MEDIAPACKAGE_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 249 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'COLLECTION_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 280 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'COLLECTION_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 309 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'COLLECTION_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 340 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'MEDIAPACKAGE_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 363 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'MEDIAPACKAGE_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 417 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'COLLECTION_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 468 |
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 | 467 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 475 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 647 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 692 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 732 |
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–3241 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 307 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 324 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 325 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 365 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 383 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 384 |
| 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 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 626 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 627 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 649 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 650 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 4 | 740 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 4 | 741 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 4 | 748 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 4 | 749 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 805 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 806 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 831 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 832 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 1015 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 1016 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NO_CONTENT' is already in scope because it is imported in this file | 4 | 1078 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 1079 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 1121 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 1149 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 1168 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 1199 |
| UnnecessaryReturn | Unnecessary return statement | 3 | 1258 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1266 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 1267 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1340 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 1343 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Status': 'NOT_FOUND' is already in scope because it is imported in this file | 4 | 1400 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1439 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 1440 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_INTERNAL_SERVER_ERROR' is already in scope because it is imported in this file | 4 | 1441 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 1442 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NO_CONTENT' is already in scope because it is imported in this file | 4 | 1511 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 1512 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 1514 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 4 | 1568 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 4 | 1569 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1620 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 1621 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 1622 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 1633 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NO_CONTENT' is already in scope because it is imported in this file | 4 | 1648 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_INTERNAL_SERVER_ERROR' is already in scope because it is imported in this file | 4 | 1652 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1716 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 1717 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1752 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 1753 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1768 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 1769 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1784 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 1785 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1800 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 1801 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1816 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 1817 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1832 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 1833 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1848 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 1849 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1864 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 1865 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1937 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 1938 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 4 | 1970 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 2000 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NO_CONTENT' is already in scope because it is imported in this file | 4 | 2010 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 2011 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 2059 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 2069 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 2070 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 2071 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 4 | 2113 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 2134 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 2135 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 2136 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 2187 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 2188 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 2189 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 2250 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 2251 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 2252 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 2284 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 2285 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 2286 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 2368 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 2369 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 2370 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NO_CONTENT' is already in scope because it is imported in this file | 4 | 2484 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 2486 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 2659 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 2787 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 4 | 3104 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 4 | 3110 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 3162 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 3180 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 3206 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 3210 |
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–447 |
| UselessParentheses | Useless parentheses around `AclsListQuery.FILTER_TEXT_NAME.equals(name)`. | 4 | 195 |
| UselessParentheses | Useless parentheses around `StringUtils.isNotBlank(value)`. | 4 | 195 |
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–341 |
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–390 |
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/JobEndpoint.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `server.isPresent()`. | 4 | 195 |
| UselessParentheses | Useless parentheses around `job.getRootJobId() != null && !StringUtils.equa...`. | 4 | 211 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 4 | 275 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope | 4 | 276 |
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–1400 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 317 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 599 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 675 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 692 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 693 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Status': 'BAD_REQUEST' is already in scope because it is imported in this file | 4 | 696 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Status': 'BAD_REQUEST' is already in scope because it is imported in this file | 4 | 705 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Status': 'BAD_REQUEST' is already in scope because it is imported in this file | 4 | 708 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 893 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 925 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 926 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 989 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 990 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 1355 |
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–225 |
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–662 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 191 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 243 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 244 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 261 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 262 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 300 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 307 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 308 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 309 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 310 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 311 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 312 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 313 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 314 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 331 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 332 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 333 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 334 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 334 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 335 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 336 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 337 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 337 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RestUtils': 'okJson' is already in scope | 4 | 351 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 362 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 369 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 370 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 371 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 372 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 373 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 374 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 375 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 376 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 428 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 429 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 430 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 431 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 431 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 432 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 433 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 434 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 434 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RestUtils': 'okJson' is already in scope | 4 | 447 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isNotBlank' is already in scope | 4 | 514 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isNotBlank' is already in scope | 4 | 537 |
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/UserSettingsEndpoint.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–194 |
| UselessParentheses | Useless parentheses around `Response.serverError().build()`. | 4 | 136 |
Opencast :: admin-ui - org/opencastproject/adminui/endpoint/UsersEndpoint.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–578 |
| UselessParentheses | Useless parentheses around `UsersListQuery.FILTER_TEXT_NAME.equals(name)`. | 4 | 231 |
| UselessParentheses | Useless parentheses around `StringUtils.isNotBlank(value)`. | 4 | 231 |
Opencast :: admin-ui - org/opencastproject/adminui/tobira/TobiraException.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'response'. | 3 | 29 |
| UnusedPrivateField | Avoid unused private fields such as 'errors'. | 3 | 30 |
Opencast :: admin-ui - org/opencastproject/adminui/util/BulkUpdateUtil.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `(String) result.get("weekday")`. | 4 | 138 |
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-impl - org/opencastproject/assetmanager/impl/AssetManagerImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 21–1625 |
| UnusedPrivateMethod | Avoid unused private methods such as 'mkTakeSnapshotMessage(Snapshot)'. | 3 | 484 |
| UnusedPrivateMethod | Avoid unused private methods such as 'removeArchivedVersionFromIndex(String)'. | 3 | 546 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 934 |
| UselessParentheses | Useless parentheses around `originalOrg != null ? securityService.getUser()...`. | 4 | 1044 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.util.function': 'Predicate' is already in scope because it is imported in this file | 4 | 1207 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 1293 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 1305–1307 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 1353 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 1569 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 1583 |
Opencast :: asset-manager-impl - org/opencastproject/assetmanager/impl/AssetManagerJobProducer.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 115 |
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 139 |
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–508 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 206 |
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 | 46 |
| UselessParentheses | Useless parentheses around `"mediapackage_element_id"`. | 4 | 47 |
Opencast :: asset-manager-impl - org/opencastproject/assetmanager/impl/persistence/Database.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 107–109 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Queries': 'namedQuery' is already in scope because it is imported in this file | 4 | 246 |
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-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 | 129 |
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 | 182 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AssetStore': 'STORE_TYPE_PROPERTY' is already in scope because it is inherited by an enclosing type | 4 | 186 |
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–308 |
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 | 165 |
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–378 |
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–80 |
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 | 91–94 |
| UselessParentheses | Useless parentheses around `oldName.get().getName().equals(acl.getName())`. | 4 | 91 |
Opencast :: authorization-manager - org/opencastproject/authorization/xacml/manager/impl/persistence/JpaAclDb.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ManagedAclEntity': 'findByIdAndOrgQuery' is already in scope | 4 | 86 |
Opencast :: authorization-xacml - org/opencastproject/authorization/xacml/XACMLAuthorizationService.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Tuple': 'tuple' is already in scope | 4 | 293 |
Opencast :: authorization-xacml - org/opencastproject/authorization/xacml/XACMLUtils.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'jBossXacmlJaxbContext' is already in scope because it is declared in an enclosing type | 4 | 88 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'jBossXacmlJaxbContext' is already in scope because it is declared in an enclosing type | 4 | 119 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'RULE_COMBINING_ALG' is already in scope because it is declared in an enclosing type | 4 | 184 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'XACML_STRING_EQUAL' is already in scope because it is declared in an enclosing type | 4 | 191 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'W3C_STRING' is already in scope because it is declared in an enclosing type | 4 | 193 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'RESOURCE_IDENTIFIER' is already in scope because it is declared in an enclosing type | 4 | 196 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'W3C_STRING' is already in scope because it is declared in an enclosing type | 4 | 197 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'XACML_STRING_EQUAL' is already in scope because it is declared in an enclosing type | 4 | 223 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'W3C_STRING' is already in scope because it is declared in an enclosing type | 4 | 225 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'ACTION_IDENTIFIER' is already in scope because it is declared in an enclosing type | 4 | 228 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'W3C_STRING' is already in scope because it is declared in an enclosing type | 4 | 229 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'XACML_STRING_IS_IN' is already in scope because it is declared in an enclosing type | 4 | 241 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'W3C_STRING' is already in scope because it is declared in an enclosing type | 4 | 244 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'W3C_STRING' is already in scope because it is declared in an enclosing type | 4 | 248 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'SUBJECT_ROLE_IDENTIFIER' is already in scope because it is declared in an enclosing type | 4 | 249 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XACMLUtils': 'jBossXacmlJaxbContext' is already in scope because it is declared in an enclosing type | 4 | 266 |
Opencast :: caption-impl - org/opencastproject/caption/converters/DFXPCaptionConverter.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 145–146 |
Opencast :: caption-impl - org/opencastproject/caption/converters/GoogleSpeechCaptionConverter.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `wordTSList.get("startTime").toString()`. | 4 | 127 |
| UselessParentheses | Useless parentheses around `wordTSList.get("endTime").toString()`. | 4 | 133 |
| UselessParentheses | Useless parentheses around `ms % 3600000L`. | 4 | 184 |
| UselessParentheses | Useless parentheses around `ms % 60000L`. | 4 | 185 |
Opencast :: caption-impl - org/opencastproject/caption/converters/IBMWatsonCaptionConverter.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `wordTsArray.get(1).toString()`. | 4 | 125 |
| UselessParentheses | Useless parentheses around `wordTsArray.get(2).toString()`. | 4 | 130 |
| UselessParentheses | Useless parentheses around `ms % 3600000L`. | 4 | 181 |
| UselessParentheses | Useless parentheses around `ms % 60000L`. | 4 | 182 |
Opencast :: caption-impl - org/opencastproject/caption/converters/SubRipCaptionConverter.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 89–90 |
Opencast :: caption-impl - org/opencastproject/caption/impl/CaptionServiceImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 106 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 332–334 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 446–448 |
Opencast :: capture-admin-service-impl - org/opencastproject/capture/admin/endpoint/CaptureAgentStateRestService.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–505 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'javax.ws.rs.core': 'Response' is already in scope because it is imported in this file | 4 | 203 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'javax.ws.rs.core': 'Response' is already in scope because it is imported in this file | 4 | 369 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'javax.ws.rs.core': 'Response' is already in scope because it is imported in this file | 4 | 389 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 440 |
Opencast :: capture-admin-service-impl - org/opencastproject/capture/admin/impl/AgentImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 131 |
Opencast :: capture-admin-service-impl - org/opencastproject/capture/admin/impl/CaptureAgentStateServiceImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–689 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 4 | 262 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 4 | 264 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AgentState': 'UNKNOWN' is already in scope because it is imported in this file | 4 | 283 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AgentState': 'UNKNOWN' is already in scope because it is imported in this file | 4 | 332 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 4 | 467 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 521–523 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AgentState': 'UNKNOWN' is already in scope because it is imported in this file | 4 | 529 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AgentState': 'UNKNOWN' is already in scope because it is imported in this file | 4 | 585 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 597–600 |
Opencast :: comments-workflowoperation - org/opencastproject/workflow/handler/comments/CommentWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 78 |
| UselessParentheses | Useless parentheses around `new Date().getTime()`. | 4 | 135 |
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 | 283 |
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 | 215–216 |
| UselessParentheses | Useless parentheses around `elements.contains(element)`. | 4 | 419 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 700–702 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MediaPackageImpl': 'valueOf' is already in scope | 4 | 1071 |
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 |
|---|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'NIL'. | 3 | 48 |
Opencast :: common - org/opencastproject/mediapackage/XMLCatalogImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–844 |
| UselessOverridingMethod | Overriding method merely calls super | 3 | 466 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 712–715 |
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–352 |
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 | 144–145 |
Opencast :: common - org/opencastproject/serviceregistry/api/RemoteBase.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 272–274 |
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 | 58–59 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 62–63 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 67–68 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 68–69 |
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–136 |
Opencast :: common - org/opencastproject/util/IoSupport.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 239–240 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'IoSupport': 'closeQuietly' is already in scope | 4 | 275 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'IoSupport': 'closeQuietly' is already in scope | 4 | 375 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 447–448 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'IoSupport': 'closeQuietly' is already in scope | 4 | 449 |
Opencast :: common - org/opencastproject/util/MimeTypes.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 4 | 95 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 4 | 96 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 4 | 97 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 4 | 98 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 4 | 99 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 4 | 100 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 4 | 101 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 4 | 102 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 4 | 103 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 4 | 104 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 4 | 105 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 4 | 106 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 4 | 107 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 4 | 108 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 4 | 109 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 4 | 110 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 4 | 111 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 4 | 112 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'parseMimeType' is already in scope | 4 | 113 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MimeTypes': 'fromString' is already in scope | 4 | 233 |
| UselessOverridingMethod | Overriding method merely calls super | 3 | 315 |
| UselessOverridingMethod | Overriding method merely calls super | 3 | 320 |
| UselessOverridingMethod | Overriding method merely calls super | 3 | 325 |
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/Collections.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedPrivateMethod | Avoid unused private methods such as 'buildFrom(Collection<B>)'. | 3 | 53 |
Opencast :: common - org/opencastproject/util/data/functions/Misc.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `(Object) ((Number) v).intValue()`. | 4 | 60 |
| UselessParentheses | Useless parentheses around `((Number) v).intValue()`. | 4 | 60 |
| UselessParentheses | Useless parentheses around `(Object) ((Number) v).longValue()`. | 4 | 62 |
| UselessParentheses | Useless parentheses around `((Number) v).longValue()`. | 4 | 62 |
| UselessParentheses | Useless parentheses around `(Object) ((Number) v).doubleValue()`. | 4 | 64 |
| UselessParentheses | Useless parentheses around `((Number) v).doubleValue()`. | 4 | 64 |
| UselessParentheses | Useless parentheses around `(Object) ((Number) v).floatValue()`. | 4 | 66 |
| UselessParentheses | Useless parentheses around `((Number) v).floatValue()`. | 4 | 66 |
| UselessParentheses | Useless parentheses around `(Object) ((Number) v).shortValue()`. | 4 | 68 |
| UselessParentheses | Useless parentheses around `((Number) v).shortValue()`. | 4 | 68 |
| UselessParentheses | Useless parentheses around `(Object) ((Number) v).byteValue()`. | 4 | 70 |
| UselessParentheses | Useless parentheses around `((Number) v).byteValue()`. | 4 | 70 |
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 |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 348 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 352 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 408 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 414 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 428 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 432 |
| UselessParentheses | Useless parentheses around `stream -> stream instanceof VideoStream`. | 4 | 502 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Tuple': 'tuple' is already in scope | 4 | 708 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Tuple': 'tuple' is already in scope | 4 | 708 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ComposerService': 'BOTH' is already in scope because it is inherited by an enclosing type | 4 | 877 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ComposerService': 'UPPER' is already in scope because it is inherited by an enclosing type | 4 | 880 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ComposerService': 'LOWER' is already in scope because it is inherited by an enclosing type | 4 | 882 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 987 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 1118 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 1497–1499 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 1696 |
| UselessParentheses | Useless parentheses around `'a' + i + 1 - ((characterCount - 1) * 25)`. | 4 | 1826 |
| UselessParentheses | Useless parentheses around `'a' + i + 1 - ((characterCount - 1) * 25)`. | 4 | 1850 |
| UnusedFormalParameter | Avoid unused method parameters such as 'ex'. | 3 | 1933 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 2221–2224 |
| UselessParentheses | Useless parentheses around `serviceRegistry.createJob(JOB_TYPE, Operation.P...`. | 4 | 2223 |
| UselessParentheses | Useless parentheses around `profiles`. | 4 | 2251 |
| UselessParentheses | Useless parentheses around `(SmilMediaParamGroup) smil.get(trackParamGroupId)`. | 4 | 2275 |
| UnusedLocalVariable | Avoid unused local variables such as 'sourceTrackFlavor'. | 3 | 2319 |
Opencast :: composer-ffmpeg - org/opencastproject/composer/impl/EncoderEngine.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `al`. | 4 | 517 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 720–721 |
| UnusedLocalVariable | Avoid unused local variables such as 'maxrate'. | 3 | 818 |
| UselessParentheses | Useless parentheses around `hasVideo ? videoOut : null`. | 4 | 1295 |
| UselessParentheses | Useless parentheses around `hasAudio ? audioOut : null`. | 4 | 1296 |
Opencast :: composer-ffmpeg - org/opencastproject/composer/impl/EncodingProfileScanner.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 275–278 |
Opencast :: composer-ffmpeg - org/opencastproject/composer/impl/endpoint/ComposerRestService.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 211 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 252 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 295 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 354 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 355 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 356 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 424 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 486 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 550 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 551 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 552 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 553 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 554 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 555 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 556 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 557 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 630 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 635 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 693 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 744 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 784 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 828 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 864 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file | 4 | 906 |
Opencast :: composer-workflowoperation - org/opencastproject/workflow/handler/composer/ConcatWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 100 |
| UselessParentheses | Useless parentheses around `new File(left.getURI().getPath())`. | 4 | 251 |
| UselessParentheses | Useless parentheses around `new File(right.getURI().getPath())`. | 4 | 252 |
| UselessParentheses | Useless parentheses around `l.compareTo(r)`. | 4 | 253 |
Opencast :: composer-workflowoperation - org/opencastproject/workflow/handler/composer/DemuxWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `new MediaPackageElementFlavor(flavorType, flavo...`. | 4 | 264 |
Opencast :: composer-workflowoperation - org/opencastproject/workflow/handler/composer/ImageWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `(double) durationMs - endMarginMs`. | 4 | 343 |
Opencast :: composer-workflowoperation - org/opencastproject/workflow/handler/composer/MultiEncodeWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `targetTags.length != 1 && sourceTags.length != ...`. | 4 | 224 |
| UselessParentheses | Useless parentheses around `sourceTags.length != 1 && sourceFlavors.length ...`. | 4 | 234 |
| UselessParentheses | Useless parentheses around `targetFlavors.length != 1 && sourceFlavors.leng...`. | 4 | 244 |
| UselessParentheses | Useless parentheses around `profiles.length != 1 && sourceFlavors.length !=...`. | 4 | 257 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 274–278 |
| UnusedFormalParameter | Avoid unused method parameters such as 'track'. | 3 | 486 |
| UnusedFormalParameter | Avoid unused method parameters such as 'mediaPackage'. | 3 | 486 |
| UselessParentheses | Useless parentheses around `new MediaPackageElementFlavor(flavorType, flavo...`. | 4 | 511 |
Opencast :: composer-workflowoperation - org/opencastproject/workflow/handler/composer/PartialImportWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `trackDimension.getB().getWidth() / 2`. | 4 | 677 |
| UselessParentheses | Useless parentheses around `trackDimension.getB().getHeight() / 2`. | 4 | 677–678 |
Opencast :: composer-workflowoperation - org/opencastproject/workflow/handler/composer/PrepareAVWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `QUESTION_MARK.equals(flavor.getType())`. | 4 | 369 |
| UselessParentheses | Useless parentheses around `QUESTION_MARK.equals(flavor.getSubtype())`. | 4 | 370 |
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 | 276–278 |
Opencast :: conductor - org/opencastproject/event/handler/ConductingEpisodeUpdatedEventHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 74–76 |
Opencast :: crop-workflowoperation - org/opencastproject/workflow/handler/crop/CropWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedLocalVariable | Avoid unused local variables such as 'operation'. | 3 | 95 |
Opencast :: distribution-service-aws-s3 - org/opencastproject/distribution/aws/s3/AwsS3DistributionServiceImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedLocalVariable | Avoid unused local variables such as 'distributedElementUriStr'. | 3 | 554 |
Opencast :: distribution-service-download - 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-wowza - org/opencastproject/distribution/streaming/wowza/WowzaStreamingDistributionService.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 179 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 267 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 268 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 275 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 282 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 432 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RequireUtil': 'notNull' is already in scope | 4 | 806 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RequireUtil': 'notNull' is already in scope | 4 | 807 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RequireUtil': 'notNull' is already in scope | 4 | 808 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 832 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 859 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 1115 |
Opencast :: distribution-workflowoperation - org/opencastproject/workflow/handler/distribution/ConfigurablePublishWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `downloadDistributionService != null`. | 4 | 151 |
| UselessParentheses | Useless parentheses around `streamingDistributionService != null`. | 4 | 157 |
| UselessParentheses | Useless parentheses around `"fail"`. | 4 | 245 |
| UselessParentheses | Useless parentheses around `"merge"`. | 4 | 249 |
| UselessParentheses | Useless parentheses around `streaming ? "streaming" : "download"`. | 4 | 329 |
Opencast :: distribution-workflowoperation - org/opencastproject/workflow/handler/distribution/ConfigurableRetractWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `downloadDistributionService != null`. | 4 | 78 |
| UselessParentheses | Useless parentheses around `streamingDistributionService != null`. | 4 | 84 |
| UselessParentheses | Useless parentheses around `channelId`. | 4 | 103 |
Opencast :: distribution-workflowoperation - org/opencastproject/workflow/handler/distribution/ConfigurableWorkflowOperationHandlerBase.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `(publication != null) && (mp != null)`. | 4 | 70 |
| UselessParentheses | Useless parentheses around `(channelId != null) && (publication != null) &&...`. | 4 | 101 |
| UselessParentheses | Useless parentheses around `(mp != null) && (channelId != null)`. | 4 | 161 |
| UselessParentheses | Useless parentheses around `publications != null`. | 4 | 165 |
| UselessParentheses | Useless parentheses around `(mp != null) && (channelId != null)`. | 4 | 171 |
Opencast :: distribution-workflowoperation - org/opencastproject/workflow/handler/distribution/PartialRetractEngageWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedPrivateMethod | Avoid unused private methods such as 'findPublicationElement(MediaPackage)'. | 3 | 190 |
Opencast :: distribution-workflowoperation - org/opencastproject/workflow/handler/distribution/PublishEngageWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| 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 :: dublincore - org/opencastproject/metadata/dublincore/DublinCoreCatalog.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `language.equals(lang)`. | 4 | 114 |
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 | 114 |
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 | 149 |
Opencast :: dublincore - org/opencastproject/metadata/dublincore/DublinCoreMetadataCollection.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 225–228 |
Opencast :: dublincore - org/opencastproject/metadata/dublincore/DublinCoreXmlFormat.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `mergeEntry.getEName()`. | 4 | 192 |
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 | 158–159 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 170–171 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 205–206 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.util': 'Date' is already in scope because it is imported in this file | 4 | 212 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 214–215 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 228–229 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.util': 'Date' is already in scope because it is imported in this file | 4 | 234 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 236–237 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 330–332 |
Opencast :: dublincore - org/opencastproject/metadata/dublincore/MetadataJson.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MetadataJson': 'fillCollectionFromJson' is already in scope | 4 | 431 |
Opencast :: dublincore - org/opencastproject/metadata/dublincore/OpencastDctermsDublinCore.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 21–605 |
| 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–396 |
| UnusedLocalVariable | Avoid unused local variables such as 'start'. | 3 | 160 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 231–234 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 242–244 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 252–254 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.util.function': 'Function' is already in scope because it is imported in this file | 4 | 355 |
| UnusedPrivateMethod | Avoid unused private methods such as 'load(Catalog)'. | 3 | 382 |
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 | 66 |
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 | 521 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 831–833 |
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 | 125–127 |
Opencast :: elasticsearch-index - org/opencastproject/elasticsearch/index/objects/series/Series.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'IndexObject': 'INDEX_XML_NAMESPACE' is already in scope because it is inherited by an enclosing type | 4 | 617 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Series': 'context' is already in scope because it is declared in an enclosing type | 4 | 646 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Series': 'context' is already in scope because it is declared in an enclosing type | 4 | 690 |
Opencast :: elasticsearch-index - org/opencastproject/elasticsearch/index/objects/series/SeriesSearchQuery.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 100–102 |
Opencast :: elasticsearch-index - org/opencastproject/elasticsearch/index/rebuild/IndexRebuildService.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessQualifiedThis | Useless qualified this usage in the same class. | 3 | 282 |
Opencast :: event-comment - org/opencastproject/event/comment/EventCommentParser.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XPathConstants': 'STRING' is already in scope because it is imported in this file | 4 | 105 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XPathConstants': 'STRING' is already in scope because it is imported in this file | 4 | 116 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XPathConstants': 'STRING' is already in scope because it is imported in this file | 4 | 122 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XPathConstants': 'STRING' is already in scope because it is imported in this file | 4 | 127 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XPathConstants': 'STRING' is already in scope because it is imported in this file | 4 | 163 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XPathConstants': 'STRING' is already in scope because it is imported in this file | 4 | 171 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XPathConstants': 'STRING' is already in scope because it is imported in this file | 4 | 176 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'XPathConstants': 'STRING' is already in scope because it is imported in this file | 4 | 195 |
Opencast :: event-comment - org/opencastproject/event/comment/persistence/EventCommentDto.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 377 |
Opencast :: event-comment - org/opencastproject/event/comment/persistence/EventCommentReplyDto.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 208 |
Opencast :: execute-impl - org/opencastproject/execute/impl/ExecuteServiceImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ExecuteService': 'COLLECTION' is already in scope because it is inherited by an enclosing type | 4 | 502 |
Opencast :: execute-impl - org/opencastproject/execute/impl/endpoint/ExecuteRestEndpoint.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'javax.ws.rs.core': 'Response' is already in scope because it is imported in this file | 4 | 198 |
Opencast :: execute-remote - org/opencastproject/execute/remote/ExecuteServiceRemoteImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ExecuteService': 'ENDPOINT_NAME' is already in scope because it is inherited by an enclosing type | 4 | 97 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ExecuteService': 'ENDPOINT_NAME' is already in scope because it is inherited by an enclosing type | 4 | 142 |
Opencast :: external-api - org/opencastproject/external/endpoint/EventsEndpoint.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 21–2241 |
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 245 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 576 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 577 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 578 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 582 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ApiVersion': 'VERSION_1_1_0' is already in scope because it is imported in this file | 4 | 825 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ApiVersion': 'VERSION_1_1_0' is already in scope because it is imported in this file | 4 | 844 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 1176 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 1372 |
| UselessParentheses | Useless parentheses around `!requestedVersion.isSmallerThan(VERSION_1_11_0)...`. | 4 | 1916 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 2032 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 2033 |
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 | 148 |
| 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–384 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 150 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 151 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 190 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 282 |
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–175 |
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–1486 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 208 |
| UselessParentheses | Useless parentheses around `withAcl != null && withAcl`. | 4 | 333 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 413 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 483 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 488 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 647 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 674 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 675 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 679 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 4 | 745 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 769 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 804 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 832 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 873 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 874 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 898 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 924 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 4 | 972 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope | 4 | 997 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1037 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1081 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 4 | 1086 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 4 | 1448 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 4 | 1449 |
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–301 |
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–450 |
Opencast :: external-api - org/opencastproject/external/util/CaptureAgentUtils.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'JSON_KEY_INPUTS'. | 3 | 38 |
Opencast :: external-api - org/opencastproject/external/util/SchedulingUtils.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ZoneOffset': 'UTC' is already in scope because it is imported in this file | 4 | 172 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ZoneOffset': 'UTC' is already in scope because it is imported in this file | 4 | 175 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 4 | 416 |
Opencast :: graphql - org/opencastproject/graphql/command/CreateSeriesCommand.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedLocalVariable | Avoid unused local variables such as 'seriesService'. | 3 | 71 |
Opencast :: graphql - org/opencastproject/graphql/datafetcher/event/CommonEventMetadataDataFetcher.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedLocalVariable | Avoid unused local variables such as 'e'. | 3 | 62 |
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 | 59 |
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 | 121 |
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 |
|---|---|---|---|
| UnusedLocalVariable | Avoid unused local variables such as 'ingest'. | 3 | 991 |
| UselessParentheses | Useless parentheses around `(removedScheduler || notFoundScheduler) && (rem...`. | 4 | 1576–1577 |
Opencast :: index-service - org/opencastproject/index/service/resources/list/provider/EventCommentsListProvider.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 58 |
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 63 |
Opencast :: index-service - org/opencastproject/index/service/resources/list/provider/SeriesListProvider.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 243–252 |
Opencast :: index-service - org/opencastproject/index/service/resources/list/provider/UsersListProvider.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `(user != null) && (user.getUsername() != null)`. | 4 | 141 |
| UselessParentheses | Useless parentheses around `name != null`. | 4 | 148 |
Opencast :: index-service - org/opencastproject/index/service/resources/list/query/ServicesListQuery.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 203–205 |
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 :: 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–2151 |
| UselessParentheses | Useless parentheses around `(String) properties.get(DOWNLOAD_USER)`. | 4 | 412 |
| UselessParentheses | Useless parentheses around `(String) properties.get(DOWNLOAD_SOURCE)`. | 4 | 413 |
| UselessParentheses | Useless parentheses around `(String) properties.get(SERIES_APPENDIX)`. | 4 | 438 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DublinCore': 'PROPERTY_IDENTIFIER' is already in scope because it is imported in this file | 4 | 918 |
| UnusedLocalVariable | Avoid unused local variables such as 'createdSeries'. | 3 | 2135 |
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 | 32 |
Opencast :: kernel - org/opencastproject/kernel/bundleinfo/BundleInfoRestEndpoint.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–224 |
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 |
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 | 428–430 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 549–553 |
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–745 |
| UselessQualifiedThis | Useless qualified this usage in the same class. | 3 | 281 |
Opencast :: oaipmh - org/opencastproject/oaipmh/server/OaiPmhServer.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 21–289 |
Opencast :: oaipmh - org/opencastproject/oaipmh/server/OaiXmlGen.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'OaiPmhConstants': 'OAI_2_0_XML_NS' is already in scope because it is imported in this file | 4 | 60 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.util': 'Collections' is already in scope because it is imported in this file | 4 | 208 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.util': 'Collections' is already in scope because it is imported in this file | 4 | 209 |
Opencast :: playlists - org/opencastproject/playlists/PlaylistRestService.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 21–659 |
Opencast :: playlists - org/opencastproject/playlists/PlaylistService.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 203–206 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 211–214 |
Opencast :: publication-service-configurable - org/opencastproject/publication/configurable/ConfigurablePublicationServiceImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessOverridingMethod | Overriding method merely calls super | 3 | 71 |
| UselessOverridingMethod | Overriding method merely calls super | 3 | 80 |
Opencast :: publication-service-oaipmh - org/opencastproject/publication/oaipmh/OaiPmhPublicationServiceImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 650–653 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 800–805 |
| EmptyControlStatement | Empty if statement | 3 | 996–998 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 1000 |
Opencast :: rename-files-workflowoperation - org/opencastproject/workflow/handler/rename/RenameFilesWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedLocalVariable | Avoid unused local variables such as 'extension'. | 3 | 130 |
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–2043 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 325 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 329 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 364 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 368 |
| 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 | 409 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 446 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 450 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 510 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 514 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 550 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 554 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 591 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 594 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 643 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 699 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 759 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 838 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 840 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 959 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 961 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1072 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 1082 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 1084 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1184 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1215 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1244 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1280 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1346 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 1348 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 1350 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1407 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 1409 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 1411 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1463 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 1465 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1501 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1528 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file | 4 | 1529 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1557 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1596 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1636 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 1683 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1809 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 1813 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DublinCore': 'PROPERTY_TEMPORAL' is already in scope because it is imported in this file | 4 | 1855 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 1892 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 1895 |
Opencast :: scheduler-impl - org/opencastproject/scheduler/impl/CaptureNowProlongingService.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 236–237 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DublinCore': 'PROPERTY_TEMPORAL' is already in scope because it is imported in this file | 4 | 391 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'DublinCore': 'PROPERTY_TEMPORAL' is already in scope because it is imported in this file | 4 | 410 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 422 |
Opencast :: scheduler-impl - org/opencastproject/scheduler/impl/SchedulerServiceImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 21–1778 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SchedulerService': 'JOB_TYPE' is already in scope because it is inherited by an enclosing type | 4 | 172 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 315 |
| UselessParentheses | Useless parentheses around `securityService.getUser().hasRole(GLOBAL_ADMIN_...`. | 4 | 820–821 |
| UnusedFormalParameter | Avoid unused method parameters such as 'checkOwner'. | 3 | 1570 |
Opencast :: scheduler-impl - org/opencastproject/scheduler/impl/persistence/ExtendedEventDto.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `"organization"`. | 4 | 75 |
| UselessParentheses | Useless parentheses around `"capture_agent_id"`. | 4 | 76 |
| UselessParentheses | Useless parentheses around `"start_date, end_date"`. | 4 | 77 |
Opencast :: scheduler-impl - org/opencastproject/scheduler/impl/persistence/LastModifiedDto.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `"last_modified"`. | 4 | 47 |
Opencast :: scheduler-remote - org/opencastproject/scheduler/remote/SchedulerServiceRemoteImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–919 |
| UnnecessaryReturn | Unnecessary return statement | 3 | 136 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 540–545 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 737–742 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 877–890 |
Opencast :: search-service-api - org/opencastproject/search/api/SearchResult.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SearchResult': 'dehydrateAclForIndex' is already in scope | 4 | 258 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SearchResult': 'dehydrateAclForREST' is already in scope | 4 | 259 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SearchResult': 'dehydrateDC' is already in scope | 4 | 260 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SearchResult': 'dehydrateAclForIndex' is already in scope | 4 | 274 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SearchResult': 'dehydrateAclForREST' is already in scope | 4 | 275 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SearchResult': 'dehydrateDC' is already in scope | 4 | 276 |
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–599 |
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 | 541 |
Opencast :: search-service-impl - org/opencastproject/search/impl/persistence/SearchEntity.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `"series_id"`. | 4 | 48 |
| UselessParentheses | Useless parentheses around `"organization"`. | 4 | 49 |
Opencast :: search-service-impl - org/opencastproject/search/impl/persistence/SearchServiceDatabaseImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–554 |
Opencast :: security-aai - org/opencastproject/security/aai/DynamicLoginHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedFormalParameter | Avoid unused method parameters such as 'id'. | 3 | 216 |
Opencast :: security-jwt - org/opencastproject/security/jwt/DynamicLoginHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `roleMappings == null ? new ArrayList<String>() ...`. | 4 | 341 |
Opencast :: security-jwt - org/opencastproject/security/jwt/JWTRequestHeaderAuthenticationFilter.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `super.getPreAuthenticatedPrincipal(request)`. | 4 | 52 |
Opencast :: security-jwt - org/opencastproject/security/jwt/JWTVerifier.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'logger'. | 3 | 55 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.text': 'ParseException' is already in scope because it is imported in this file | 4 | 70 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.text': 'ParseException' is already in scope because it is imported in this file | 4 | 111 |
Opencast :: security-shibboleth - org/opencastproject/security/shibboleth/ShibbolethRequestHeaderAuthenticationFilter.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `super.getPreAuthenticatedPrincipal(request)`. | 4 | 72 |
Opencast :: series-service-impl - org/opencastproject/series/endpoint/SeriesRestService.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–1370 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 948 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 998 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 1004 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 1112 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 1118 |
Opencast :: series-service-impl - org/opencastproject/series/impl/SeriesServiceImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 195–198 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 597 |
Opencast :: series-service-impl - org/opencastproject/series/impl/persistence/SeriesEntity.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `"modified_date"`. | 4 | 66 |
Opencast :: series-service-remote - org/opencastproject/series/remote/SeriesServiceRemoteImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–703 |
Opencast :: serviceregistry - org/opencastproject/serviceregistry/impl/AbstractIncidentService.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 113–114 |
Opencast :: serviceregistry - org/opencastproject/serviceregistry/impl/IncidentDto.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `"jobid"`. | 4 | 64 |
| UselessParentheses | Useless parentheses around `"severity"`. | 4 | 65 |
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 | 302 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 4 | 332 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 4 | 340 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 4 | 505 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 4 | 508 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 4 | 511 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Status': 'FAILED' is already in scope because it is imported in this file | 4 | 889 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Status': 'FAILED' is already in scope because it is imported in this file | 4 | 1023 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Status': 'FAILED' is already in scope because it is imported in this file | 4 | 1411 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 4 | 1879 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 4 | 1879 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 4 | 1879 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Status': 'FAILED' is already in scope because it is imported in this file | 4 | 2157 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 2227–2232 |
Opencast :: serviceregistry - org/opencastproject/serviceregistry/impl/endpoint/IncidentServiceEndpoint.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–360 |
Opencast :: serviceregistry - org/opencastproject/serviceregistry/impl/endpoint/ServiceRegistryEndpoint.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–769 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isNotBlank' is already in scope | 4 | 313 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope | 4 | 506 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StringUtils': 'isNotBlank' is already in scope | 4 | 510 |
Opencast :: silencedetection-impl - org/opencastproject/silencedetection/ffmpeg/FFmpegSilenceDetector.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.lang': 'Math' is already in scope because it is declared in java.lang | 4 | 213 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.lang': 'Math' is already in scope because it is declared in java.lang | 4 | 221 |
Opencast :: smil-api - org/opencastproject/smil/api/util/SmilUtil.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.w3c.dom': 'Document' is already in scope because it is imported in this file | 4 | 80 |
Opencast :: smil-impl - org/opencastproject/smil/entity/SmilObjectImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedPrivateMethod | Avoid unused private methods such as 'setId(String)'. | 3 | 73 |
Opencast :: smil-impl - org/opencastproject/smil/impl/SmilResponseImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedPrivateMethod | Avoid unused private methods such as 'setSmil(Smil)'. | 3 | 117 |
| UnusedPrivateMethod | Avoid unused private methods such as 'getResponseEntities()'. | 3 | 211 |
| UnusedPrivateMethod | Avoid unused private methods such as 'setResponseEntities(SmilResponseEntity<SmilObject>[])'. | 3 | 224 |
| UnusedPrivateMethod | Avoid unused private methods such as 'setEntity(SmilObject)'. | 3 | 253 |
Opencast :: speech-to-text-workflowoperation - org/opencastproject/workflow/handler/speechtotext/SpeechToTextWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `presentationTracksWithAudio`. | 4 | 273 |
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 | 309 |
| UnusedFormalParameter | Avoid unused method parameters such as 'limit'. | 3 | 330 |
| UnusedFormalParameter | Avoid unused method parameters such as 'limit'. | 3 | 397 |
Opencast :: statistics-provider-matomo - org/opencastproject/statistics/provider/matomo/provider/BatchMatomoRequest.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedFormalParameter | Avoid unused method parameters such as 'resolution'. | 3 | 181 |
Opencast :: subtitle-parser - org/opencastproject/subtitleparser/webvttparser/WebVTTParser.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'WEBVTT_METADATA_HEADER'. | 3 | 46 |
| EmptyControlStatement | Empty while statement | 3 | 127–129 |
| UselessParentheses | Useless parentheses around `value * 1000 + Long.parseLong(parts[1])`. | 4 | 188 |
Opencast :: subtitle-timeshift-workflowoperation - org/opencastproject/workflow/handler/subtitletimeshift/SubtitleTimeshiftWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedLocalVariable | Avoid unused local variables such as 'videoTrack'. | 3 | 134 |
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 | 259–267 |
| EmptyControlStatement | Empty else statement | 3 | 282–284 |
Opencast :: themes - org/opencastproject/themes/persistence/ThemesServiceDatabaseImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedPrivateMethod | Avoid unused private methods such as 'getThemes()'. | 3 | 151 |
Opencast :: timelinepreviews-ffmpeg - org/opencastproject/timelinepreviews/ffmpeg/TimelinePreviewsServiceImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 90 |
| UselessParentheses | Useless parentheses around `imageCount`. | 4 | 288 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 434–436 |
Opencast :: timelinepreviews-workflowoperation - org/opencastproject/workflow/handler/timelinepreviews/TimelinePreviewsWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 278–280 |
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 | 700–701 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 770–771 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 816–817 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 875 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AmberscriptTranscriptionService': 'CONNECTION_TIMEOUT' is already in scope because it is declared in an enclosing type | 4 | 899 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AmberscriptTranscriptionService': 'CONNECTION_TIMEOUT' is already in scope because it is declared in an enclosing type | 4 | 901 |
Opencast :: transcription-service-google-speech-impl - org/opencastproject/transcription/googlespeech/GoogleSpeechTranscriptionService.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 577–578 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 666–667 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 716–717 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 781 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 848–849 |
| UselessParentheses | Useless parentheses around `database.findByJob(jobId).getDateCreated().getT...`. | 4 | 952–954 |
| UselessParentheses | Useless parentheses around `System.currentTimeMillis()`. | 4 | 955 |
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 | 305–307 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 327–329 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 337–339 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 585–586 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 686–687 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 765–766 |
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 | 346–349 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 363–366 |
Opencast :: transcription-service-persistence - org/opencastproject/transcription/persistence/TranscriptionDatabaseImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedLocalVariable | Avoid unused local variables such as 'dto'. | 3 | 184 |
Opencast :: transcription-service-workflowoperation - org/opencastproject/transcription/workflowoperation/MicrosoftAzureStartTranscriptionOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 217–219 |
Opencast :: urlsigning-common - org/opencastproject/urlsigning/common/ResourceRequest.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 29 |
Opencast :: urlsigning-common - org/opencastproject/urlsigning/utils/PolicyUtils.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| PrimitiveWrapperInstantiation | Do not use `new Long(...)`, prefer `Long.valueOf(...)` | 3 | 125 |
| PrimitiveWrapperInstantiation | Do not use `new Long(...)`, prefer `Long.valueOf(...)` | 3 | 127 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'PolicyUtils': 'toJson' is already in scope | 4 | 164 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'PolicyUtils': 'toJson' is already in scope | 4 | 180 |
Opencast :: urlsigning-common - org/opencastproject/urlsigning/utils/SHA256Util.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `secretKey`. | 4 | 60 |
Opencast :: urlsigning-service-api - org/opencastproject/security/urlsigning/exception/UrlSigningException.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 32 |
Opencast :: urlsigning-service-impl - org/opencastproject/security/urlsigning/provider/impl/AbstractUrlSigningProvider.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `v.startsWith(propertyValue)`. | 4 | 199 |
Opencast :: urlsigning-service-impl - org/opencastproject/security/urlsigning/provider/impl/WowzaUrlSigningProvider.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `uri.getScheme()`. | 4 | 94 |
Opencast :: urlsigning-service-impl - org/opencastproject/security/urlsigning/service/impl/UrlSigningEndpoint.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `validFrom > 0 ? new DateTime(validFrom * DateTi...`. | 4 | 141–142 |
Opencast :: urlsigning-verifier-service-impl - org/opencastproject/security/urlsigning/filter/UrlSigningFilter.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryReturn | Unnecessary return statement | 3 | 183 |
| UnnecessaryReturn | Unnecessary return statement | 3 | 193 |
Opencast :: userdirectory-brightspace - org/opencastproject/userdirectory/brightspace/BrightspaceUserProviderFactory.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedLocalVariable | Avoid unused local variables such as 'adminUserName'. | 3 | 149 |
Opencast :: userdirectory-brightspace - org/opencastproject/userdirectory/brightspace/BrightspaceUserProviderInstance.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as 'LTI_LEARNER_ROLE'. | 3 | 68 |
Opencast :: userdirectory-canvas - org/opencastproject/userdirectory/canvas/CanvasUserRoleProvider.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 347–349 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 367–369 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 409–411 |
Opencast :: userdirectory-ldap - org/opencastproject/userdirectory/ldap/LdapUserProviderFactory.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'LdapUserProviderFactory': 'getObjectName' is already in scope | 4 | 424 |
Opencast :: userdirectory-moodle - org/opencastproject/userdirectory/moodle/MoodleUserProviderFactory.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MoodleUserProviderFactory': 'getObjectName' is already in scope | 4 | 283 |
Opencast :: userdirectory-sakai - org/opencastproject/userdirectory/sakai/SakaiUserProviderFactory.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SakaiUserProviderFactory': 'getObjectName' is already in scope | 4 | 239 |
Opencast :: userdirectory-sakai - org/opencastproject/userdirectory/sakai/SakaiUserProviderInstance.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `code == 200`. | 4 | 388 |
| UselessParentheses | Useless parentheses around `code == 200`. | 4 | 429 |
Opencast :: userdirectory-studip - org/opencastproject/userdirectory/studip/StudipUserProviderFactory.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'StudipUserProviderFactory': 'getObjectName' is already in scope | 4 | 213 |
Opencast :: userdirectory - org/opencastproject/userdirectory/UserIdRoleProvider.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 112 |
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 116 |
Opencast :: userdirectory - org/opencastproject/userdirectory/endpoint/GroupRoleEndpoint.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–376 |
Opencast :: userdirectory - org/opencastproject/userdirectory/endpoint/UserEndpoint.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–438 |
Opencast :: videoeditor-workflowoperation - org/opencastproject/workflow/handler/videoeditor/SilenceDetectionWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 286 |
Opencast :: videoeditor-workflowoperation - org/opencastproject/workflow/handler/videoeditor/VideoEditorWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 196 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 410–413 |
Opencast :: videogrid-service-impl - org/opencastproject/videogrid/impl/VideoGridServiceImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 205–207 |
Opencast :: videogrid-workflowoperation - org/opencastproject/workflow/handler/videogrid/VideoGridWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 602 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 623 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 695 |
| UselessParentheses | Useless parentheses around `videoCount / (float) tmpTilesV`. | 4 | 713 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 744 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 772 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 783 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 786 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 789 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 792 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 795 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 797 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 803 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 805 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 806 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 822 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 825 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 827 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 828 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 833 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 836 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 838 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 839 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 840 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 846 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 909 |
| UselessParentheses | Useless parentheses around `trackDimension.getB().getWidth() / 2`. | 4 | 947 |
| UselessParentheses | Useless parentheses around `trackDimension.getB().getHeight() / 2`. | 4 | 947–948 |
| UnusedPrivateMethod | Avoid unused private methods such as 'getTrackPath(Track)'. | 3 | 996 |
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 | 141 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 204–210 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 385–387 |
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 |
|---|---|---|---|
| UnnecessarySemicolon | Unnecessary semicolon | 3 | 73 |
Opencast :: workflow-service-api - org/opencastproject/workflow/api/WorkflowInstance.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `"mediapackage_id"`. | 4 | 79 |
| UselessParentheses | Useless parentheses around `"series_id"`. | 4 | 80 |
| UselessParentheses | Useless parentheses around `"workflow_id"`. | 4 | 194 |
Opencast :: workflow-service-api - org/opencastproject/workflow/api/WorkflowOperationInstance.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `"workflow_id"`. | 4 | 55 |
| UselessParentheses | Useless parentheses around `"workflow_operation_id"`. | 4 | 85 |
Opencast :: workflow-service-impl - org/opencastproject/workflow/endpoint/WorkflowRestService.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–864 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NO_CONTENT' is already in scope because it is imported in this file | 4 | 591 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file | 4 | 814 |
Opencast :: workflow-service-impl - org/opencastproject/workflow/impl/WorkflowCleanupScanner.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AbstractScanner': 'PARAM_KEY_ENABLED' is already in scope because it is inherited by an enclosing type | 4 | 149 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AbstractScanner': 'PARAM_KEY_CRON_EXPR' is already in scope because it is inherited by an enclosing type | 4 | 153 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AbstractScanner': 'PARAM_KEY_CRON_EXPR' is already in scope because it is inherited by an enclosing type | 4 | 155 |
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–2417 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 762–765 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 916–918 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkflowState': 'PAUSED' is already in scope because it is imported in this file | 4 | 1033 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1049–1052 |
| UselessParentheses | Useless parentheses around `currentUser.equals(workflowCreator)`. | 4 | 1155 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 1190–1192 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1633–1635 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkflowState': 'PAUSED' is already in scope because it is imported in this file | 4 | 2255 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 2274–2276 |
Opencast :: workflow-service-remote - org/opencastproject/workflow/remote/WorkflowServiceRemoteImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–676 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpStatus': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 644 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpStatus': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file | 4 | 647 |
Opencast :: workflow-workflowoperation - org/opencastproject/workflow/handler/workflow/CleanupWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `serviceRegistry.getJob(operationInstanceId)`. | 4 | 135 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 189–191 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 316–318 |
Opencast :: workflow-workflowoperation - org/opencastproject/workflow/handler/workflow/CopyWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'String': 'format' is already in scope | 4 | 184 |
Opencast :: workflow-workflowoperation - org/opencastproject/workflow/handler/workflow/DuplicateEventWorkflowOperationHandler.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `title.endsWith("}")`. | 4 | 340 |
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 | 226 |
Opencast :: working-file-repository-service-impl - org/opencastproject/workingfilerepository/impl/WorkingFileRepositoryCleaner.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 127–128 |
Opencast :: working-file-repository-service-impl - org/opencastproject/workingfilerepository/impl/WorkingFileRepositoryImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 577–579 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 642–644 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 865–867 |
Opencast :: working-file-repository-service-impl - org/opencastproject/workingfilerepository/impl/WorkingFileRepositoryRestEndpoint.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 22–683 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'MEDIAPACKAGE_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 4 | 151 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 179 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'MEDIAPACKAGE_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 4 | 187 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'COLLECTION_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 4 | 217 |
| AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 242 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'MEDIAPACKAGE_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 4 | 249 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'COLLECTION_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 4 | 280 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'COLLECTION_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 4 | 309 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'COLLECTION_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 4 | 340 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'MEDIAPACKAGE_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 4 | 363 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'MEDIAPACKAGE_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 4 | 417 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'WorkingFileRepository': 'COLLECTION_PATH_PREFIX' is already in scope because it is inherited by an enclosing type | 4 | 468 |
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–996 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 365–389 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 409–419 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 467 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 475 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file | 4 | 647 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 692 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file | 4 | 732 |
Suppressed Violations
| Filename | Rule message | Suppression type | Reason |
|---|---|---|---|
| org/opencastproject/capture/admin/impl/AgentImpl.java | Avoid unused private methods such as 'loadCaps()'. | @suppresswarnings |
