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. 1322
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 1386

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. 965

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. 93

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 223853
UnnecessaryReturn Unnecessary return statement 1492

Opencast :: admin-ui - org/opencastproject/adminui/endpoint/AclEndpoint.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 22514

Opencast :: admin-ui - org/opencastproject/adminui/endpoint/CaptureAgentsEndpoint.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 22383

Opencast :: admin-ui - org/opencastproject/adminui/endpoint/GroupsEndpoint.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 22410

Opencast :: admin-ui - org/opencastproject/adminui/endpoint/SeriesEndpoint.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 221601

Opencast :: admin-ui - org/opencastproject/adminui/endpoint/TasksEndpoint.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 22243

Opencast :: admin-ui - org/opencastproject/adminui/endpoint/ThemesEndpoint.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 22783

Opencast :: admin-ui - org/opencastproject/adminui/endpoint/UserSettingsEndpoint.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 22237

Opencast :: admin-ui - org/opencastproject/adminui/endpoint/UsersEndpoint.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 22634

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 22282

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 211671
EmptyCatchBlock Avoid empty catch blocks 13361338
EmptyCatchBlock Avoid empty catch blocks 1582

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 21508

Opencast :: asset-manager-impl - org/opencastproject/assetmanager/impl/endpoint/AbstractTieredStorageAssetManagerRestEndpoint.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 21348

Opencast :: asset-manager-impl - org/opencastproject/assetmanager/impl/persistence/Database.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 107109

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 21308

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 22378

Opencast :: authorization-manager - org/opencastproject/authorization/xacml/manager/endpoint/JsonConv.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 2280

Opencast :: authorization-manager - org/opencastproject/authorization/xacml/manager/impl/AclServiceImpl.java

Rule Violation Line
CollapsibleIfStatements This if statement could be combined with its parent 9194

Opencast :: caption-impl - org/opencastproject/caption/converters/DFXPCaptionConverter.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 145146

Opencast :: caption-impl - org/opencastproject/caption/converters/SubRipCaptionConverter.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 8990

Opencast :: caption-impl - org/opencastproject/caption/impl/CaptionServiceImpl.java

Rule Violation Line
UnnecessarySemicolon Unnecessary semicolon 106
EmptyCatchBlock Avoid empty catch blocks 343345
EmptyCatchBlock Avoid empty catch blocks 458460

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 22552

Opencast :: capture-admin-service-impl - org/opencastproject/capture/admin/impl/AgentImpl.java

Rule Violation Line
UnnecessarySemicolon Unnecessary semicolon 134

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 22702
EmptyCatchBlock Avoid empty catch blocks 528530
EmptyCatchBlock Avoid empty catch blocks 605608

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 180181

Opencast :: common - org/opencastproject/mediapackage/AbstractMediaPackageElement.java

Rule Violation Line
CollapsibleIfStatements This if statement could be combined with its parent 517519

Opencast :: common - org/opencastproject/mediapackage/AdaptivePlaylist.java

Rule Violation Line
UnnecessarySemicolon Unnecessary semicolon 665

Opencast :: common - org/opencastproject/mediapackage/MediaPackageImpl.java

Rule Violation Line
CollapsibleIfStatements This if statement could be combined with its parent 215217
CollapsibleIfStatements This if statement could be combined with its parent 728730

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 22851
UselessOverridingMethod Overriding method merely calls super 474
EmptyCatchBlock Avoid empty catch blocks 719722

Opencast :: common - org/opencastproject/mediapackage/attachment/AttachmentImpl.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 9192

Opencast :: common - org/opencastproject/mediapackage/elementbuilder/AttachmentBuilderPlugin.java

Rule Violation Line
UselessOverridingMethod Overriding method merely calls super 66

Opencast :: common - org/opencastproject/mediapackage/selector/AbstractMediaPackageElementSelector.java

Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'object'. 149

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 22357

Opencast :: common - org/opencastproject/security/util/SecurityUtil.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 22215

Opencast :: common - org/opencastproject/serviceregistry/api/Incidents.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 144145

Opencast :: common - org/opencastproject/serviceregistry/api/RemoteBase.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 273275

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 6263
EmptyCatchBlock Avoid empty catch blocks 6667
EmptyCatchBlock Avoid empty catch blocks 7172
EmptyCatchBlock Avoid empty catch blocks 7273

Opencast :: common - org/opencastproject/util/FileSupport.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 22568

Opencast :: common - org/opencastproject/util/HttpUtil.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 22136

Opencast :: common - org/opencastproject/util/IoSupport.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 239240
EmptyCatchBlock Avoid empty catch blocks 447448

Opencast :: common - org/opencastproject/util/MimeTypes.java

Rule Violation Line
UselessOverridingMethod Overriding method merely calls super 321
UselessOverridingMethod Overriding method merely calls super 326
UselessOverridingMethod Overriding method merely calls super 331

Opencast :: common - org/opencastproject/util/ZipUtil.java

Rule Violation Line
CollapsibleIfStatements This if statement could be combined with its parent 254257

Opencast :: common - org/opencastproject/util/data/Collections.java

Rule Violation Line
UnusedPrivateMethod Avoid unused private methods such as 'buildFrom(Collection<B>)'. 56

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 15121514
UnusedFormalParameter Avoid unused method parameters such as 'ex'. 1956
CollapsibleIfStatements This if statement could be combined with its parent 22452248
UnusedLocalVariable Avoid unused local variables such as 'sourceTrackFlavor'. 2345

Opencast :: composer-ffmpeg - org/opencastproject/composer/impl/EncoderEngine.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 735736
UnusedLocalVariable Avoid unused local variables such as 'maxrate'. 836

Opencast :: composer-ffmpeg - org/opencastproject/composer/impl/EncodingProfileScanner.java

Rule Violation Line
CollapsibleIfStatements This if statement could be combined with its parent 278281

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 280284
UnusedFormalParameter Avoid unused method parameters such as 'track'. 497
UnusedFormalParameter Avoid unused method parameters such as 'mediaPackage'. 497

Opencast :: composer-workflowoperation - org/opencastproject/workflow/handler/composer/ProcessSmilWorkflowOperationHandler.java

Rule Violation Line
UnnecessarySemicolon Unnecessary semicolon 168
UnusedFormalParameter Avoid unused method parameters such as 'track'. 601
UnusedFormalParameter Avoid unused method parameters such as 'mediaPackage'. 601

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 276278

Opencast :: conductor - org/opencastproject/event/handler/ConductingEpisodeUpdatedEventHandler.java

Rule Violation Line
CollapsibleIfStatements This if statement could be combined with its parent 7476

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 21946

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 602609

Opencast :: dublincore - org/opencastproject/metadata/dublincore/DublinCoreMetadataCollection.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 227230

Opencast :: dublincore - org/opencastproject/metadata/dublincore/DublinCores.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 22206

Opencast :: dublincore - org/opencastproject/metadata/dublincore/EncodingSchemeUtils.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 165166
EmptyCatchBlock Avoid empty catch blocks 181182
EmptyCatchBlock Avoid empty catch blocks 217218
EmptyCatchBlock Avoid empty catch blocks 226227
EmptyCatchBlock Avoid empty catch blocks 240241
EmptyCatchBlock Avoid empty catch blocks 248249
EmptyCatchBlock Avoid empty catch blocks 348350

Opencast :: dublincore - org/opencastproject/metadata/dublincore/OpencastDctermsDublinCore.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 21607
EmptyCatchBlock Avoid empty catch blocks 374375

Opencast :: dublincore - org/opencastproject/metadata/dublincore/StaticMetadataServiceDublinCoreImpl.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 22406
UnusedLocalVariable Avoid unused local variables such as 'start'. 161
CollapsibleIfStatements This if statement could be combined with its parent 232235
CollapsibleIfStatements This if statement could be combined with its parent 243245
CollapsibleIfStatements This if statement could be combined with its parent 253255
UnusedPrivateMethod Avoid unused private methods such as 'load(Catalog)'. 390

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 831833

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 125127

Opencast :: elasticsearch-index - org/opencastproject/elasticsearch/index/objects/series/SeriesSearchQuery.java

Rule Violation Line
CollapsibleIfStatements This if statement could be combined with its parent 100102

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 212586
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 21493

Opencast :: external-api - org/opencastproject/external/endpoint/PlaylistsEndpoint.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 21392

Opencast :: external-api - org/opencastproject/external/endpoint/SecurityEndpoint.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 21192

Opencast :: external-api - org/opencastproject/external/endpoint/SeriesEndpoint.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 211647

Opencast :: external-api - org/opencastproject/external/endpoint/WorkflowDefinitionsEndpoint.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 21344

Opencast :: external-api - org/opencastproject/external/endpoint/WorkflowsEndpoint.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 21510

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 && 121122

Opencast :: index-service - org/opencastproject/index/service/catalog/adapter/ConfigurableDCCatalogUIAdapter.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 104107

Opencast :: index-service - org/opencastproject/index/service/impl/IndexServiceImpl.java

Rule Violation Line
UnusedLocalVariable Avoid unused local variables such as 'ingest'. 1000

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 246255

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 206208

Opencast :: ingest-service-impl - org/opencastproject/ingest/impl/IngestServiceImpl.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 222178
UnusedLocalVariable Avoid unused local variables such as 'createdSeries'. 2162

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 279281
EmptyCatchBlock Avoid empty catch blocks 283285
UselessQualifiedThis Useless qualified this usage in the same class. 349
UselessQualifiedThis Useless qualified this usage in the same class. 356

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(...)` 204
PrimitiveWrapperInstantiation Do not use `new Float(...)`, prefer `Float.valueOf(...)` 216
PrimitiveWrapperInstantiation Do not use `new Double(...)`, prefer `Double.valueOf(...)` 262
PrimitiveWrapperInstantiation Do not use `new Float(...)`, prefer `Float.valueOf(...)` 274
CollapsibleIfStatements This if statement could be combined with its parent 360364

Opencast :: inspection-service-ffmpeg - org/opencastproject/inspection/ffmpeg/MediaInspector.java

Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'options'. 339
CollapsibleIfStatements This if statement could be combined with its parent 416418
EmptyControlStatement Empty if statement 541545

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 22238

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 98103

Opencast :: kernel - org/opencastproject/kernel/security/RemoteUserAndOrganizationFilter.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 22320

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 6769
EmptyCatchBlock Avoid empty catch blocks 7779

Opencast :: live-schedule-impl - org/opencastproject/liveschedule/impl/LiveScheduleServiceImpl.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 428430
EmptyCatchBlock Avoid empty catch blocks 549553

Opencast :: live-schedule-impl - org/opencastproject/liveschedule/message/SchedulerEventUpdateHandler.java

Rule Violation Line
CollapsibleIfStatements This if statement could be combined with its parent 129131

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 21311

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 298

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'. 198
UnusedLocalVariable Avoid unused local variables such as 'resultSize'. 199
UnusedLocalVariable Avoid unused local variables such as 'resultOffset'. 200
UnusedLocalVariable Avoid unused local variables such as 'resultLimit'. 201

Opencast :: oaipmh - org/opencastproject/oaipmh/server/OaiPmhRepository.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 21759
UselessQualifiedThis Useless qualified this usage in the same class. 282

Opencast :: oaipmh - org/opencastproject/oaipmh/server/OaiPmhServer.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 21291

Opencast :: playlists - org/opencastproject/playlists/PlaylistRestService.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 21659

Opencast :: playlists - org/opencastproject/playlists/PlaylistService.java

Rule Violation Line
CollapsibleIfStatements This if statement could be combined with its parent 203206
CollapsibleIfStatements This if statement could be combined with its parent 211214

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 650653
CollapsibleIfStatements This if statement could be combined with its parent 800805
EmptyControlStatement Empty if statement 996998

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 294312

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 222043

Opencast :: scheduler-impl - org/opencastproject/scheduler/impl/CaptureNowProlongingService.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 236237

Opencast :: scheduler-impl - org/opencastproject/scheduler/impl/SchedulerServiceImpl.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 211778
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 22919
UnnecessaryReturn Unnecessary return statement 136
CollapsibleIfStatements This if statement could be combined with its parent 540545
CollapsibleIfStatements This if statement could be combined with its parent 737742
CollapsibleIfStatements This if statement could be combined with its parent 877890

Opencast :: search-service-impl - org/opencastproject/search/endpoint/SearchRestService.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 22599

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 22554

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 221370

Opencast :: series-service-impl - org/opencastproject/series/impl/SeriesServiceImpl.java

Rule Violation Line
CollapsibleIfStatements This if statement could be combined with its parent 195198
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 22703

Opencast :: serviceregistry - org/opencastproject/serviceregistry/impl/AbstractIncidentService.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 113114

Opencast :: serviceregistry - org/opencastproject/serviceregistry/impl/JobDispatcher.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 398400
EmptyCatchBlock Avoid empty catch blocks 572574
UnusedPrivateField Avoid unused private fields such as 'toHostRegistration'. 629
UnusedPrivateField Avoid unused private fields such as 'toMaxLoad'. 637
UnusedPrivateField Avoid unused private fields such as 'sortFloatValuesDesc'. 644

Opencast :: serviceregistry - org/opencastproject/serviceregistry/impl/ServiceRegistryJpaImpl.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 222689
CollapsibleIfStatements This if statement could be combined with its parent 22392244

Opencast :: serviceregistry - org/opencastproject/serviceregistry/impl/endpoint/IncidentServiceEndpoint.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 22393

Opencast :: serviceregistry - org/opencastproject/serviceregistry/impl/endpoint/ServiceRegistryEndpoint.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 221077

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. 479

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 127129

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 316318
EmptyCatchBlock Avoid empty catch blocks 368370

Opencast :: termination-state-impl - org/opencastproject/terminationstate/impl/TerminationStateServiceImpl.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 140142

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 259267
EmptyControlStatement Empty else statement 282284

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 434436

Opencast :: timelinepreviews-workflowoperation - org/opencastproject/workflow/handler/timelinepreviews/TimelinePreviewsWorkflowOperationHandler.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 278280

Opencast :: transcription-service-amberscript - org/opencastproject/transcription/amberscript/AmberscriptTranscriptionService.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 700701
EmptyCatchBlock Avoid empty catch blocks 770771
EmptyCatchBlock Avoid empty catch blocks 816817

Opencast :: transcription-service-google-speech-impl - org/opencastproject/transcription/googlespeech/GoogleSpeechTranscriptionService.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 577578
EmptyCatchBlock Avoid empty catch blocks 666667
EmptyCatchBlock Avoid empty catch blocks 716717
EmptyCatchBlock Avoid empty catch blocks 848849

Opencast :: transcription-service-google-speech-impl - org/opencastproject/transcription/googlespeech/GoogleSpeechTranscriptionServiceStorage.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 123124
EmptyCatchBlock Avoid empty catch blocks 169170

Opencast :: transcription-service-ibm-watson-impl - org/opencastproject/transcription/ibmwatson/IBMWatsonTranscriptionService.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 305307
EmptyCatchBlock Avoid empty catch blocks 327329
EmptyCatchBlock Avoid empty catch blocks 337339
EmptyCatchBlock Avoid empty catch blocks 585586
EmptyCatchBlock Avoid empty catch blocks 686687
EmptyCatchBlock Avoid empty catch blocks 765766

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 346349
EmptyCatchBlock Avoid empty catch blocks 363366

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 217219

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 347349
EmptyCatchBlock Avoid empty catch blocks 367369
EmptyCatchBlock Avoid empty catch blocks 409411

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 22376

Opencast :: userdirectory - org/opencastproject/userdirectory/endpoint/UserEndpoint.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 22519

Opencast :: videoeditor-workflowoperation - org/opencastproject/workflow/handler/videoeditor/VideoEditorWorkflowOperationHandler.java

Rule Violation Line
CollapsibleIfStatements This if statement could be combined with its parent 410413

Opencast :: videogrid-service-impl - org/opencastproject/videogrid/impl/VideoGridServiceImpl.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 205207

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 554706
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 204210
EmptyCatchBlock Avoid empty catch blocks 385387

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 22864

Opencast :: workflow-service-impl - org/opencastproject/workflow/impl/WorkflowOperationWorker.java

Rule Violation Line
CollapsibleIfStatements This if statement could be combined with its parent 127129

Opencast :: workflow-service-impl - org/opencastproject/workflow/impl/WorkflowServiceImpl.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 222417
CollapsibleIfStatements This if statement could be combined with its parent 762765
EmptyCatchBlock Avoid empty catch blocks 916918
CollapsibleIfStatements This if statement could be combined with its parent 10491052
EmptyCatchBlock Avoid empty catch blocks 11901192
CollapsibleIfStatements This if statement could be combined with its parent 16331635
EmptyCatchBlock Avoid empty catch blocks 22742276

Opencast :: workflow-service-remote - org/opencastproject/workflow/remote/WorkflowServiceRemoteImpl.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 22676

Opencast :: workflow-workflowoperation - org/opencastproject/workflow/handler/workflow/CleanupWorkflowOperationHandler.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 189191
EmptyCatchBlock Avoid empty catch blocks 316318

Opencast :: workflow-workflowoperation - org/opencastproject/workflow/handler/workflow/WebvttToCutMarksWorkflowOperationHandler.java

Rule Violation Line
CollapsibleIfStatements This if statement could be combined with its parent 301303
CollapsibleIfStatements This if statement could be combined with its parent 316318

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 127128

Opencast :: working-file-repository-service-impl - org/opencastproject/workingfilerepository/impl/WorkingFileRepositoryImpl.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 577579
EmptyCatchBlock Avoid empty catch blocks 642644
EmptyCatchBlock Avoid empty catch blocks 865867

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 22683

Opencast :: workspace-impl - org/opencastproject/workspace/impl/WorkspaceCleaner.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 120121

Opencast :: workspace-impl - org/opencastproject/workspace/impl/WorkspaceImpl.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 22996
CollapsibleIfStatements This if statement could be combined with its parent 365389
CollapsibleIfStatements This if statement could be combined with its parent 409419

Priority 4

Opencast :: admin-ui - org/opencastproject/adminui/endpoint/AbstractEventEndpoint.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 313
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 337
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file 339
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 384
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 410
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 412
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file 440
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 482
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file 484
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file 486
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 559
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 561
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 693
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 695
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 728
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 730
UnnecessaryFullyQualifiedName Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope 836
UnnecessaryFullyQualifiedName Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope 837
UnnecessaryFullyQualifiedName Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope 844
UnnecessaryFullyQualifiedName Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope 845
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 910
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 912
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 947
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 949
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file 1177
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 1179
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NO_CONTENT' is already in scope because it is imported in this file 1263
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 1265
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file 1363
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file 1430
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 1508
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 1510
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 1587
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 1589
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Status': 'NOT_FOUND' is already in scope because it is imported in this file 1646
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 1691
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file 1693
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_INTERNAL_SERVER_ERROR' is already in scope because it is imported in this file 1696
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 1698
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NO_CONTENT' is already in scope because it is imported in this file 1781
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 1782
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file 1785
UnnecessaryFullyQualifiedName Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope 1842
UnnecessaryFullyQualifiedName Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope 1843
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 1903
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file 1904
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 1906
UnnecessaryFullyQualifiedName Unnecessary qualifier 'String': 'format' is already in scope 1920
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NO_CONTENT' is already in scope because it is imported in this file 1937
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_INTERNAL_SERVER_ERROR' is already in scope because it is imported in this file 1941
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 2015
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 2017
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 2063
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 2065
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 2091
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 2093
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 2119
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 2121
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 2147
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 2149
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 2175
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 2177
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 2203
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 2205
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 2231
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 2233
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 2259
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 2261
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 2343
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 2345
UnnecessaryFullyQualifiedName Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope 2380
UnnecessaryFullyQualifiedName Unnecessary qualifier 'String': 'format' is already in scope 2410
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NO_CONTENT' is already in scope because it is imported in this file 2429
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 2431
UnnecessaryFullyQualifiedName Unnecessary qualifier 'String': 'format' is already in scope 2484
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 2503
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file 2504
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 2506
UnnecessaryFullyQualifiedName Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope 2550
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 2580
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file 2581
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 2583
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 2645
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file 2647
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 2649
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 2720
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file 2721
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 2723
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 2766
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file 2767
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 2769
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 2871
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file 2873
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 2875
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NO_CONTENT' is already in scope because it is imported in this file 3020
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file 3022
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 3218
UnnecessaryFullyQualifiedName Unnecessary qualifier 'String': 'format' is already in scope 3359
UnnecessaryFullyQualifiedName Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope 3693
UnnecessaryFullyQualifiedName Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope 3699
UnnecessaryFullyQualifiedName Unnecessary qualifier 'String': 'format' is already in scope 3763
UnnecessaryFullyQualifiedName Unnecessary qualifier 'String': 'format' is already in scope 3781
UnnecessaryFullyQualifiedName Unnecessary qualifier 'String': 'format' is already in scope 3817
UnnecessaryFullyQualifiedName Unnecessary qualifier 'String': 'format' is already in scope 3821

Opencast :: admin-ui - org/opencastproject/adminui/endpoint/AclEndpoint.java

Rule Violation Line
UselessParentheses Useless parentheses around `AclsListQuery.FILTER_TEXT_NAME.equals(name)`. 212
UselessParentheses Useless parentheses around `StringUtils.isNotBlank(value)`. 212

Opencast :: admin-ui - org/opencastproject/adminui/endpoint/JobEndpoint.java

Rule Violation Line
UselessParentheses Useless parentheses around `server.isPresent()`. 215
UselessParentheses Useless parentheses around `job.getRootJobId() != null && !StringUtils.equa...`. 233234
UnnecessaryFullyQualifiedName Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope 300
UnnecessaryFullyQualifiedName Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope 302

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 327
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file 662
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 749
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 772
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file 774
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Status': 'BAD_REQUEST' is already in scope because it is imported in this file 778
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Status': 'BAD_REQUEST' is already in scope because it is imported in this file 787
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Status': 'BAD_REQUEST' is already in scope because it is imported in this file 790
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 993
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 1033
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 1035
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 1118
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 1120
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 1544

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 203
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 265
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 267
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 293
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 295
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 340
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 354
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 356
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 358
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 360
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 364
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 366
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 368
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 388
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 389
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 390
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 391
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 391
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 392
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 393
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 394
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 394
UnnecessaryFullyQualifiedName Unnecessary qualifier 'RestUtils': 'okJson' is already in scope 408
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 428
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 442
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 444
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 446
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 448
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 450
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 452
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 454
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 456
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 527
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 528
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 529
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 530
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 530
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 531
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 532
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 533
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 533
UnnecessaryFullyQualifiedName Unnecessary qualifier 'RestUtils': 'okJson' is already in scope 546
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'isNotBlank' is already in scope 623
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'isNotBlank' is already in scope 646

Opencast :: admin-ui - org/opencastproject/adminui/endpoint/UserSettingsEndpoint.java

Rule Violation Line
UselessParentheses Useless parentheses around `Response.serverError().build()`. 148

Opencast :: admin-ui - org/opencastproject/adminui/endpoint/UsersEndpoint.java

Rule Violation Line
UselessParentheses Useless parentheses around `UsersListQuery.FILTER_TEXT_NAME.equals(name)`. 247
UselessParentheses Useless parentheses around `StringUtils.isNotBlank(value)`. 247

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()...`. 1075
UnnecessaryFullyQualifiedName Unnecessary qualifier 'java.util.function': 'Predicate' is already in scope because it is imported in this file 1238
UnnecessaryFullyQualifiedName Unnecessary qualifier 'String': 'format' is already in scope 1324
UnnecessaryFullyQualifiedName Unnecessary qualifier 'String': 'format' is already in scope 1384
UnnecessaryFullyQualifiedName Unnecessary qualifier 'String': 'format' is already in scope 1613
UnnecessaryFullyQualifiedName Unnecessary qualifier 'String': 'format' is already in scope 1629

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()`. 130
UselessParentheses Useless parentheses around `wordTSList.get("endTime").toString()`. 137
UselessParentheses Useless parentheses around `ms % 3600000L`. 190
UselessParentheses Useless parentheses around `ms % 60000L`. 191

Opencast :: caption-impl - org/opencastproject/caption/converters/IBMWatsonCaptionConverter.java

Rule Violation Line
UselessParentheses Useless parentheses around `wordTsArray.get(1).toString()`. 130
UselessParentheses Useless parentheses around `wordTsArray.get(2).toString()`. 136
UselessParentheses Useless parentheses around `ms % 3600000L`. 187
UselessParentheses Useless parentheses around `ms % 60000L`. 188

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 211
UnnecessaryFullyQualifiedName Unnecessary qualifier 'javax.ws.rs.core': 'Response' is already in scope because it is imported in this file 398
UnnecessaryFullyQualifiedName Unnecessary qualifier 'javax.ws.rs.core': 'Response' is already in scope because it is imported in this file 418
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 475

Opencast :: capture-admin-service-impl - org/opencastproject/capture/admin/impl/CaptureAgentStateServiceImpl.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope 263
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope 266
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AgentState': 'UNKNOWN' is already in scope because it is imported in this file 287
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AgentState': 'UNKNOWN' is already in scope because it is imported in this file 336
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope 472
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AgentState': 'UNKNOWN' is already in scope because it is imported in this file 536
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AgentState': 'UNKNOWN' is already in scope because it is imported in this file 593

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 294

Opencast :: common - org/opencastproject/mediapackage/AdaptivePlaylist.java

Rule Violation Line
UselessParentheses Useless parentheses around `br.lines().map(l -> { ... }).collect(Collectors...`. 170178
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AdaptivePlaylist': 'isPlaylist' is already in scope 440
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AdaptivePlaylist': 'isPlaylist' is already in scope 449
UselessParentheses Useless parentheses around `e`. 509

Opencast :: common - org/opencastproject/mediapackage/EName.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'EName': 'fromString' is already in scope 215

Opencast :: common - org/opencastproject/mediapackage/MediaPackageImpl.java

Rule Violation Line
UselessParentheses Useless parentheses around `elements.contains(element)`. 432
UnnecessaryFullyQualifiedName Unnecessary qualifier 'MediaPackageImpl': 'valueOf' is already in scope 1113

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 137
UnnecessaryFullyQualifiedName Unnecessary qualifier 'MediaPackageReferenceImpl': 'fromString' is already in scope 318

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`. 115

Opencast :: common - org/opencastproject/util/ChecksumType.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'ChecksumType': 'fromString' is already in scope 153

Opencast :: common - org/opencastproject/util/EnumSupport.java

Rule Violation Line
UnnecessaryImport Unused import 'org.checkerframework.checker.units.qual.A' 25

Opencast :: common - org/opencastproject/util/FileSupport.java

Rule Violation Line
UselessParentheses Useless parentheses around `!aCanonical.equals(bCanonical) && bCanonical.st...`. 395

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 239

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`. 280

Opencast :: common - org/opencastproject/util/data/Collections.java

Rule Violation Line
UnnecessaryImport Unused import 'org.checkerframework.checker.units.qual.A' 24
UnnecessaryImport Unused import 'org.checkerframework.checker.units.qual.K' 25

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 350
UnnecessaryFullyQualifiedName Unnecessary qualifier 'String': 'format' is already in scope 354
UnnecessaryFullyQualifiedName Unnecessary qualifier 'String': 'format' is already in scope 410
UnnecessaryFullyQualifiedName Unnecessary qualifier 'String': 'format' is already in scope 416
UnnecessaryFullyQualifiedName Unnecessary qualifier 'String': 'format' is already in scope 430
UnnecessaryFullyQualifiedName Unnecessary qualifier 'String': 'format' is already in scope 434
UselessParentheses Useless parentheses around `stream -> stream instanceof VideoStream`. 504
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Tuple': 'tuple' is already in scope 712
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Tuple': 'tuple' is already in scope 712
UnnecessaryFullyQualifiedName Unnecessary qualifier 'ComposerService': 'BOTH' is already in scope because it is inherited by an enclosing type 882
UnnecessaryFullyQualifiedName Unnecessary qualifier 'ComposerService': 'UPPER' is already in scope because it is inherited by an enclosing type 885
UnnecessaryFullyQualifiedName Unnecessary qualifier 'ComposerService': 'LOWER' is already in scope because it is inherited by an enclosing type 887
UnnecessaryFullyQualifiedName Unnecessary qualifier 'String': 'format' is already in scope 993
UnnecessaryFullyQualifiedName Unnecessary qualifier 'String': 'format' is already in scope 1124
UnnecessaryFullyQualifiedName Unnecessary qualifier 'String': 'format' is already in scope 1712
UselessParentheses Useless parentheses around `'a' + i + 1 - ((characterCount - 1) * 25)`. 1844
UselessParentheses Useless parentheses around `'a' + i + 1 - ((characterCount - 1) * 25)`. 1871
UselessParentheses Useless parentheses around `serviceRegistry.createJob(JOB_TYPE, Operation.P...`. 2247
UselessParentheses Useless parentheses around `profiles`. 2275
UselessParentheses Useless parentheses around `(SmilMediaParamGroup) smil.get(trackParamGroupId)`. 2300

Opencast :: composer-ffmpeg - org/opencastproject/composer/impl/EncoderEngine.java

Rule Violation Line
UselessParentheses Useless parentheses around `al`. 522
UselessParentheses Useless parentheses around `hasVideo ? videoOut : null`. 1325
UselessParentheses Useless parentheses around `hasAudio ? audioOut : null`. 1326

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 219
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file 271
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file 324
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file 400
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file 402
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file 404
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 563
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file 641
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file 643
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file 645
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file 647
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file 649
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file 651
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file 653
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file 655
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file 743
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file 752
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file 824
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file 888
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file 944
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file 1002
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file 1052
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file 1104

Opencast :: composer-workflowoperation - org/opencastproject/workflow/handler/composer/ConcatWorkflowOperationHandler.java

Rule Violation Line
UselessParentheses Useless parentheses around `new File(left.getURI().getPath())`. 258
UselessParentheses Useless parentheses around `new File(right.getURI().getPath())`. 259
UselessParentheses Useless parentheses around `l.compareTo(r)`. 260

Opencast :: composer-workflowoperation - org/opencastproject/workflow/handler/composer/DemuxWorkflowOperationHandler.java

Rule Violation Line
UselessParentheses Useless parentheses around `new MediaPackageElementFlavor(flavorType, flavo...`. 267

Opencast :: composer-workflowoperation - org/opencastproject/workflow/handler/composer/ImageWorkflowOperationHandler.java

Rule Violation Line
UselessParentheses Useless parentheses around `(double) durationMs - endMarginMs`. 344

Opencast :: composer-workflowoperation - org/opencastproject/workflow/handler/composer/MultiEncodeWorkflowOperationHandler.java

Rule Violation Line
UselessParentheses Useless parentheses around `targetTags.length != 1 && sourceTags.length != ...`. 226
UselessParentheses Useless parentheses around `sourceTags.length != 1 && sourceFlavors.length ...`. 238
UselessParentheses Useless parentheses around `targetFlavors.length != 1 && sourceFlavors.leng...`. 248
UselessParentheses Useless parentheses around `profiles.length != 1 && sourceFlavors.length !=...`. 261
UselessParentheses Useless parentheses around `new MediaPackageElementFlavor(flavorType, flavo...`. 524

Opencast :: composer-workflowoperation - org/opencastproject/workflow/handler/composer/PartialImportWorkflowOperationHandler.java

Rule Violation Line
UselessParentheses Useless parentheses around `trackDimension.getB().getWidth() / 2`. 689
UselessParentheses Useless parentheses around `trackDimension.getB().getHeight() / 2`. 689690

Opencast :: composer-workflowoperation - org/opencastproject/workflow/handler/composer/PrepareAVWorkflowOperationHandler.java

Rule Violation Line
UselessParentheses Useless parentheses around `QUESTION_MARK.equals(flavor.getType())`. 379
UselessParentheses Useless parentheses around `QUESTION_MARK.equals(flavor.getSubtype())`. 380

Opencast :: composer-workflowoperation - org/opencastproject/workflow/handler/composer/ProcessSmilWorkflowOperationHandler.java

Rule Violation Line
UselessParentheses Useless parentheses around `options`. 254
UselessParentheses Useless parentheses around `(trackFlavor.getType().equals(sourceFlavor.getT...`. 621626

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 224
UnnecessaryFullyQualifiedName Unnecessary qualifier 'java.util': 'Date' is already in scope because it is imported in this file 246

Opencast :: dublincore - org/opencastproject/metadata/dublincore/MetadataJson.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'MetadataJson': 'fillCollectionFromJson' is already in scope 464

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 356

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 518

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 217

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 102
UnnecessaryFullyQualifiedName Unnecessary qualifier 'ExecuteService': 'ENDPOINT_NAME' is already in scope because it is inherited by an enclosing type 153

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 635
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 637
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 639
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 646
UnnecessaryFullyQualifiedName Unnecessary qualifier 'ApiVersion': 'VERSION_1_1_0' is already in scope because it is imported in this file 951
UnnecessaryFullyQualifiedName Unnecessary qualifier 'ApiVersion': 'VERSION_1_1_0' is already in scope because it is imported in this file 970
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 1313
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 1566
UselessParentheses Useless parentheses around `!requestedVersion.isSmallerThan(VERSION_1_11_0)...`. 21662167
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 2357
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 2361

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 166
UselessParentheses Useless parentheses around `members1.size() - members2.size()`. 284
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 298
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 300
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NO_CONTENT' is already in scope because it is imported in this file 331
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 333
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_CREATED' is already in scope because it is imported in this file 368
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file 370
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NO_CONTENT' is already in scope because it is imported in this file 469
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 471

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 152
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 193
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 288

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 228
UselessParentheses Useless parentheses around `withAcl != null && withAcl`. 354
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' 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 522
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 529
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 693
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 732
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file 734
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 740
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope 808
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 846
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 890
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 929
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 992
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file 994
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file 1030
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 1060
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope 1108
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 1133
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 1183
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 1239
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope 1246
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope 1609
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope 1610

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 419

Opencast :: graphql - org/opencastproject/graphql/directive/RolesAllowedWiring.java

Rule Violation Line
UselessParentheses Duplicate parentheses around `(dataFetchingEnvironment, value) -> { ... }`. 4051

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...`. 15901591

Opencast :: index-service - org/opencastproject/index/service/resources/list/provider/UsersListProvider.java

Rule Violation Line
UselessParentheses Useless parentheses around `(user != null) && (user.getUsername() != null)`. 144
UselessParentheses Useless parentheses around `name != null`. 151

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 924

Opencast :: ingest-service-impl - org/opencastproject/ingest/scanner/Ingestor.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'String': 'format' is already in scope 577
UnnecessaryFullyQualifiedName Unnecessary qualifier 'String': 'format' is already in scope 595

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 241

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 261

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 198
UnnecessaryFullyQualifiedName Unnecessary qualifier 'RestConstants': 'HTTP_CLASSPATH' is already in scope because it is inherited by an enclosing type 454
UnnecessaryFullyQualifiedName Unnecessary qualifier 'RestConstants': 'HTTP_ALIAS' is already in scope because it is inherited by an enclosing type 455
UnnecessaryFullyQualifiedName Unnecessary qualifier 'RestConstants': 'HTTP_WELCOME' is already in scope because it is inherited by an enclosing type 456
UnnecessaryFullyQualifiedName Unnecessary qualifier 'RestConstants': 'HTTP_SPA_REDIRECT' is already in scope because it is inherited by an enclosing type 458
UnnecessaryFullyQualifiedName Unnecessary qualifier 'RestConstants': 'HTTP_CONTEXT_ID' is already in scope because it is inherited by an enclosing type 464
UnnecessaryFullyQualifiedName Unnecessary qualifier 'RestConstants': 'HTTP_CLASSPATH' is already in scope because it is inherited by an enclosing type 488
UnnecessaryFullyQualifiedName Unnecessary qualifier 'RestConstants': 'HTTP_ALIAS' is already in scope because it is inherited by an enclosing type 489

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`. 121

Opencast :: kernel - org/opencastproject/kernel/security/TrustedHttpClientImpl.java

Rule Violation Line
UselessParentheses Useless parentheses around `retryBaseDelay * MILLISECONDS_IN_SECONDS + vari...`. 549
UselessParentheses Useless parentheses around `"Nonce has expired/timed out".equals(response.g...`. 579

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]`. 377

Opencast :: mpeg7 - org/opencastproject/metadata/mpeg7/SpatioTemporalDecompositionImpl.java

Rule Violation Line
UselessParentheses Useless parentheses around `hasGap ? "true" : "false"`. 153
UselessParentheses Useless parentheses around `hasOverlap ? "true" : "false"`. 154

Opencast :: mpeg7 - org/opencastproject/metadata/mpeg7/TemporalDecompositionImpl.java

Rule Violation Line
UselessParentheses Useless parentheses around `gap ? "true" : "false"`. 157
UselessParentheses Useless parentheses around `overlap ? "true" : "false"`. 158

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_...`. 820821

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 307
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope 337
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope 345
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope 510
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope 513
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope 516
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Status': 'FAILED' is already in scope because it is imported in this file 895
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Status': 'FAILED' is already in scope because it is imported in this file 1030
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Status': 'FAILED' is already in scope because it is imported in this file 1419
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope 1887
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope 1887
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope 1887
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Status': 'FAILED' is already in scope because it is imported in this file 2169

Opencast :: serviceregistry - org/opencastproject/serviceregistry/impl/endpoint/ServiceRegistryEndpoint.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'isNotBlank' is already in scope 416
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope 692
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'isNotBlank' is already in scope 696

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()`. 240
UselessParentheses Useless parentheses around `ranges.isEmpty()`. 255
UselessParentheses Useless parentheses around `ranges.hasNext()`. 325
UselessParentheses Useless parentheses around `-1L`. 369
UselessParentheses Useless parentheses around `(start >= 0) && (end >= 0) && (start <= end) &&...`. 533

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...`. 952954
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...`. 141142

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`. 947948

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 223853
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 4 313
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 4 337
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file 4 339
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 4 384
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 4 410
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 4 412
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file 4 440
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 4 482
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file 4 484
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_UNAUTHORIZED' is already in scope because it is imported in this file 4 486
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 4 559
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 4 561
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 4 693
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 4 695
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 4 728
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 4 730
UnnecessaryFullyQualifiedName Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope 4 836
UnnecessaryFullyQualifiedName Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope 4 837
UnnecessaryFullyQualifiedName Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope 4 844
UnnecessaryFullyQualifiedName Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope 4 845
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 4 910
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 4 912
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 4 947
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 4 949
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file 4 1177
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 4 1179
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NO_CONTENT' is already in scope because it is imported in this file 4 1263
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 4 1265
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 1322
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file 4 1363
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 1386
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file 4 1430
UnnecessaryReturn Unnecessary return statement 3 1492
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 4 1508
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 4 1510
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 4 1587
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 4 1589
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Status': 'NOT_FOUND' is already in scope because it is imported in this file 4 1646
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 4 1691
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file 4 1693
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_INTERNAL_SERVER_ERROR' is already in scope because it is imported in this file 4 1696
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 4 1698
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NO_CONTENT' is already in scope because it is imported in this file 4 1781
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 4 1782
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file 4 1785
UnnecessaryFullyQualifiedName Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope 4 1842
UnnecessaryFullyQualifiedName Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope 4 1843
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 4 1903
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file 4 1904
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 4 1906
UnnecessaryFullyQualifiedName Unnecessary qualifier 'String': 'format' is already in scope 4 1920
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NO_CONTENT' is already in scope because it is imported in this file 4 1937
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_INTERNAL_SERVER_ERROR' is already in scope because it is imported in this file 4 1941
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 4 2015
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 4 2017
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 4 2063
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 4 2065
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 4 2091
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 4 2093
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 4 2119
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 4 2121
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 4 2147
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 4 2149
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 4 2175
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 4 2177
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 4 2203
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 4 2205
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 4 2231
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 4 2233
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 4 2259
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 4 2261
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 4 2343
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 4 2345
UnnecessaryFullyQualifiedName Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope 4 2380
UnnecessaryFullyQualifiedName Unnecessary qualifier 'String': 'format' is already in scope 4 2410
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NO_CONTENT' is already in scope because it is imported in this file 4 2429
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 4 2431
UnnecessaryFullyQualifiedName Unnecessary qualifier 'String': 'format' is already in scope 4 2484
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 4 2503
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file 4 2504
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 4 2506
UnnecessaryFullyQualifiedName Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope 4 2550
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 4 2580
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file 4 2581
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 4 2583
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 4 2645
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file 4 2647
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 4 2649
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 4 2720
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file 4 2721
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 4 2723
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 4 2766
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file 4 2767
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 4 2769
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 4 2871
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file 4 2873
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 4 2875
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NO_CONTENT' is already in scope because it is imported in this file 4 3020
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file 4 3022
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 4 3218
UnnecessaryFullyQualifiedName Unnecessary qualifier 'String': 'format' is already in scope 4 3359
UnnecessaryFullyQualifiedName Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope 4 3693
UnnecessaryFullyQualifiedName Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope 4 3699
UnnecessaryFullyQualifiedName Unnecessary qualifier 'String': 'format' is already in scope 4 3763
UnnecessaryFullyQualifiedName Unnecessary qualifier 'String': 'format' is already in scope 4 3781
UnnecessaryFullyQualifiedName Unnecessary qualifier 'String': 'format' is already in scope 4 3817
UnnecessaryFullyQualifiedName Unnecessary qualifier 'String': 'format' is already in scope 4 3821

Opencast :: admin-ui - org/opencastproject/adminui/endpoint/AclEndpoint.java

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 22514
UselessParentheses Useless parentheses around `AclsListQuery.FILTER_TEXT_NAME.equals(name)`. 4 212
UselessParentheses Useless parentheses around `StringUtils.isNotBlank(value)`. 4 212

Opencast :: admin-ui - org/opencastproject/adminui/endpoint/CaptureAgentsEndpoint.java

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 22383

Opencast :: admin-ui - org/opencastproject/adminui/endpoint/GroupsEndpoint.java

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 22410

Opencast :: admin-ui - org/opencastproject/adminui/endpoint/JobEndpoint.java

Rule Violation Priority Line
UselessParentheses Useless parentheses around `server.isPresent()`. 4 215
UselessParentheses Useless parentheses around `job.getRootJobId() != null && !StringUtils.equa...`. 4 233234
UnnecessaryFullyQualifiedName Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope 4 300
UnnecessaryFullyQualifiedName Unnecessary qualifier 'DateTimeSupport': 'toUTC' is already in scope 4 302

Opencast :: admin-ui - org/opencastproject/adminui/endpoint/SeriesEndpoint.java

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 221601
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 4 327
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file 4 662
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 4 749
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 4 772
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file 4 774
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Status': 'BAD_REQUEST' is already in scope because it is imported in this file 4 778
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Status': 'BAD_REQUEST' is already in scope because it is imported in this file 4 787
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Status': 'BAD_REQUEST' is already in scope because it is imported in this file 4 790
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 4 993
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 4 1033
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 4 1035
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 4 1118
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 4 1120
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 4 1544

Opencast :: admin-ui - org/opencastproject/adminui/endpoint/TasksEndpoint.java

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 22243

Opencast :: admin-ui - org/opencastproject/adminui/endpoint/ThemesEndpoint.java

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 22783
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 4 203
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 4 265
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 4 267
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 4 293
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 4 295
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 4 340
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 4 354
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 4 356
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 4 358
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 4 360
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 364
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 4 366
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 4 368
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 4 388
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 4 389
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 4 390
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 4 391
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 4 391
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 4 392
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 4 393
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 4 394
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 4 394
UnnecessaryFullyQualifiedName Unnecessary qualifier 'RestUtils': 'okJson' is already in scope 4 408
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 4 428
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 4 442
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 4 444
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 4 446
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 4 448
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 4 450
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 4 452
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 4 454
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 4 456
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 4 527
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 4 528
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 4 529
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 4 530
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 4 530
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 4 531
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 4 532
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 4 533
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 4 533
UnnecessaryFullyQualifiedName Unnecessary qualifier 'RestUtils': 'okJson' is already in scope 4 546
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'isNotBlank' is already in scope 4 623
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'isNotBlank' is already in scope 4 646

Opencast :: admin-ui - org/opencastproject/adminui/endpoint/UserSettingsEndpoint.java

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 22237
UselessParentheses Useless parentheses around `Response.serverError().build()`. 4 148

Opencast :: admin-ui - org/opencastproject/adminui/endpoint/UsersEndpoint.java

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 22634
UselessParentheses Useless parentheses around `UsersListQuery.FILTER_TEXT_NAME.equals(name)`. 4 247
UselessParentheses Useless parentheses around `StringUtils.isNotBlank(value)`. 4 247

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 22282
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 211671
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 965
UselessParentheses Useless parentheses around `originalOrg != null ? securityService.getUser()...`. 4 1075
UnnecessaryFullyQualifiedName Unnecessary qualifier 'java.util.function': 'Predicate' is already in scope because it is imported in this file 4 1238
UnnecessaryFullyQualifiedName Unnecessary qualifier 'String': 'format' is already in scope 4 1324
EmptyCatchBlock Avoid empty catch blocks 3 13361338
UnnecessaryFullyQualifiedName Unnecessary qualifier 'String': 'format' is already in scope 4 1384
EmptyCatchBlock Avoid empty catch blocks 3 1582
UnnecessaryFullyQualifiedName Unnecessary qualifier 'String': 'format' is already in scope 4 1613
UnnecessaryFullyQualifiedName Unnecessary qualifier 'String': 'format' is already in scope 4 1629

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 21508
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 21348

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 107109
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 21308

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 22378

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 2280

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 9194
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 145146

Opencast :: caption-impl - org/opencastproject/caption/converters/GoogleSpeechCaptionConverter.java

Rule Violation Priority Line
UselessParentheses Useless parentheses around `wordTSList.get("startTime").toString()`. 4 130
UselessParentheses Useless parentheses around `wordTSList.get("endTime").toString()`. 4 137
UselessParentheses Useless parentheses around `ms % 3600000L`. 4 190
UselessParentheses Useless parentheses around `ms % 60000L`. 4 191

Opencast :: caption-impl - org/opencastproject/caption/converters/IBMWatsonCaptionConverter.java

Rule Violation Priority Line
UselessParentheses Useless parentheses around `wordTsArray.get(1).toString()`. 4 130
UselessParentheses Useless parentheses around `wordTsArray.get(2).toString()`. 4 136
UselessParentheses Useless parentheses around `ms % 3600000L`. 4 187
UselessParentheses Useless parentheses around `ms % 60000L`. 4 188

Opencast :: caption-impl - org/opencastproject/caption/converters/SubRipCaptionConverter.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 8990

Opencast :: caption-impl - org/opencastproject/caption/impl/CaptionServiceImpl.java

Rule Violation Priority Line
UnnecessarySemicolon Unnecessary semicolon 3 106
EmptyCatchBlock Avoid empty catch blocks 3 343345
EmptyCatchBlock Avoid empty catch blocks 3 458460

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 22552
UnnecessaryFullyQualifiedName Unnecessary qualifier 'javax.ws.rs.core': 'Response' is already in scope because it is imported in this file 4 211
UnnecessaryFullyQualifiedName Unnecessary qualifier 'javax.ws.rs.core': 'Response' is already in scope because it is imported in this file 4 398
UnnecessaryFullyQualifiedName Unnecessary qualifier 'javax.ws.rs.core': 'Response' is already in scope because it is imported in this file 4 418
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 4 475

Opencast :: capture-admin-service-impl - org/opencastproject/capture/admin/impl/AgentImpl.java

Rule Violation Priority Line
UnnecessarySemicolon Unnecessary semicolon 3 134

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 22702
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope 4 263
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope 4 266
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AgentState': 'UNKNOWN' is already in scope because it is imported in this file 4 287
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AgentState': 'UNKNOWN' is already in scope because it is imported in this file 4 336
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope 4 472
EmptyCatchBlock Avoid empty catch blocks 3 528530
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AgentState': 'UNKNOWN' is already in scope because it is imported in this file 4 536
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AgentState': 'UNKNOWN' is already in scope because it is imported in this file 4 593
EmptyCatchBlock Avoid empty catch blocks 3 605608

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 180181

Opencast :: common - org/opencastproject/job/api/JobBarrier.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Thread': 'sleep' is already in scope 4 294

Opencast :: common - org/opencastproject/mediapackage/AbstractMediaPackageElement.java

Rule Violation Priority Line
CollapsibleIfStatements This if statement could be combined with its parent 3 517519

Opencast :: common - org/opencastproject/mediapackage/AdaptivePlaylist.java

Rule Violation Priority Line
UselessParentheses Useless parentheses around `br.lines().map(l -> { ... }).collect(Collectors...`. 4 170178
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AdaptivePlaylist': 'isPlaylist' is already in scope 4 440
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AdaptivePlaylist': 'isPlaylist' is already in scope 4 449
UselessParentheses Useless parentheses around `e`. 4 509
UnnecessarySemicolon Unnecessary semicolon 3 665

Opencast :: common - org/opencastproject/mediapackage/EName.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'EName': 'fromString' is already in scope 4 215

Opencast :: common - org/opencastproject/mediapackage/MediaPackageImpl.java

Rule Violation Priority Line
CollapsibleIfStatements This if statement could be combined with its parent 3 215217
UselessParentheses Useless parentheses around `elements.contains(element)`. 4 432
CollapsibleIfStatements This if statement could be combined with its parent 3 728730
UnnecessaryFullyQualifiedName Unnecessary qualifier 'MediaPackageImpl': 'valueOf' is already in scope 4 1113

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 137
UnnecessaryFullyQualifiedName Unnecessary qualifier 'MediaPackageReferenceImpl': 'fromString' is already in scope 4 318

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 22851
UselessOverridingMethod Overriding method merely calls super 3 474
EmptyCatchBlock Avoid empty catch blocks 3 719722

Opencast :: common - org/opencastproject/mediapackage/attachment/AttachmentImpl.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 9192

Opencast :: common - org/opencastproject/mediapackage/elementbuilder/AttachmentBuilderPlugin.java

Rule Violation Priority Line
UselessOverridingMethod Overriding method merely calls super 3 66

Opencast :: common - org/opencastproject/mediapackage/selector/AbstractMediaPackageElementSelector.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused method parameters such as 'object'. 3 149

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 22357

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 22215
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 144145

Opencast :: common - org/opencastproject/serviceregistry/api/RemoteBase.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 273275

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 115

Opencast :: common - org/opencastproject/util/ChecksumType.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'ChecksumType': 'fromString' is already in scope 4 153

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
UnnecessaryImport Unused import 'org.checkerframework.checker.units.qual.A' 4 25
EmptyCatchBlock Avoid empty catch blocks 3 6263
EmptyCatchBlock Avoid empty catch blocks 3 6667
EmptyCatchBlock Avoid empty catch blocks 3 7172
EmptyCatchBlock Avoid empty catch blocks 3 7273

Opencast :: common - org/opencastproject/util/FileSupport.java

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 22568
UselessParentheses Useless parentheses around `!aCanonical.equals(bCanonical) && bCanonical.st...`. 4 395

Opencast :: common - org/opencastproject/util/HttpUtil.java

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 22136

Opencast :: common - org/opencastproject/util/IoSupport.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 239240
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 447448
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 239
UselessOverridingMethod Overriding method merely calls super 3 321
UselessOverridingMethod Overriding method merely calls super 3 326
UselessOverridingMethod Overriding method merely calls super 3 331

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 254257
UselessParentheses Useless parentheses around `e`. 4 280

Opencast :: common - org/opencastproject/util/data/Collections.java

Rule Violation Priority Line
UnnecessaryImport Unused import 'org.checkerframework.checker.units.qual.A' 4 24
UnnecessaryImport Unused import 'org.checkerframework.checker.units.qual.K' 4 25
UnusedPrivateMethod Avoid unused private methods such as 'buildFrom(Collection<B>)'. 3 56

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 350
UnnecessaryFullyQualifiedName Unnecessary qualifier 'String': 'format' is already in scope 4 354
UnnecessaryFullyQualifiedName Unnecessary qualifier 'String': 'format' is already in scope 4 410
UnnecessaryFullyQualifiedName Unnecessary qualifier 'String': 'format' is already in scope 4 416
UnnecessaryFullyQualifiedName Unnecessary qualifier 'String': 'format' is already in scope 4 430
UnnecessaryFullyQualifiedName Unnecessary qualifier 'String': 'format' is already in scope 4 434
UselessParentheses Useless parentheses around `stream -> stream instanceof VideoStream`. 4 504
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Tuple': 'tuple' is already in scope 4 712
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Tuple': 'tuple' is already in scope 4 712
UnnecessaryFullyQualifiedName Unnecessary qualifier 'ComposerService': 'BOTH' is already in scope because it is inherited by an enclosing type 4 882
UnnecessaryFullyQualifiedName Unnecessary qualifier 'ComposerService': 'UPPER' is already in scope because it is inherited by an enclosing type 4 885
UnnecessaryFullyQualifiedName Unnecessary qualifier 'ComposerService': 'LOWER' is already in scope because it is inherited by an enclosing type 4 887
UnnecessaryFullyQualifiedName Unnecessary qualifier 'String': 'format' is already in scope 4 993
UnnecessaryFullyQualifiedName Unnecessary qualifier 'String': 'format' is already in scope 4 1124
EmptyCatchBlock Avoid empty catch blocks 3 15121514
UnnecessaryFullyQualifiedName Unnecessary qualifier 'String': 'format' is already in scope 4 1712
UselessParentheses Useless parentheses around `'a' + i + 1 - ((characterCount - 1) * 25)`. 4 1844
UselessParentheses Useless parentheses around `'a' + i + 1 - ((characterCount - 1) * 25)`. 4 1871
UnusedFormalParameter Avoid unused method parameters such as 'ex'. 3 1956
CollapsibleIfStatements This if statement could be combined with its parent 3 22452248
UselessParentheses Useless parentheses around `serviceRegistry.createJob(JOB_TYPE, Operation.P...`. 4 2247
UselessParentheses Useless parentheses around `profiles`. 4 2275
UselessParentheses Useless parentheses around `(SmilMediaParamGroup) smil.get(trackParamGroupId)`. 4 2300
UnusedLocalVariable Avoid unused local variables such as 'sourceTrackFlavor'. 3 2345

Opencast :: composer-ffmpeg - org/opencastproject/composer/impl/EncoderEngine.java

Rule Violation Priority Line
UselessParentheses Useless parentheses around `al`. 4 522
EmptyCatchBlock Avoid empty catch blocks 3 735736
UnusedLocalVariable Avoid unused local variables such as 'maxrate'. 3 836
UselessParentheses Useless parentheses around `hasVideo ? videoOut : null`. 4 1325
UselessParentheses Useless parentheses around `hasAudio ? audioOut : null`. 4 1326

Opencast :: composer-ffmpeg - org/opencastproject/composer/impl/EncodingProfileScanner.java

Rule Violation Priority Line
CollapsibleIfStatements This if statement could be combined with its parent 3 278281

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 219
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file 4 271
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file 4 324
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file 4 400
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file 4 402
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file 4 404
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 563
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file 4 641
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file 4 643
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file 4 645
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file 4 647
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file 4 649
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file 4 651
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file 4 653
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file 4 655
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file 4 743
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file 4 752
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file 4 824
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file 4 888
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file 4 944
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file 4 1002
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file 4 1052
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'TEXT' is already in scope because it is imported in this file 4 1104

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 258
UselessParentheses Useless parentheses around `new File(right.getURI().getPath())`. 4 259
UselessParentheses Useless parentheses around `l.compareTo(r)`. 4 260

Opencast :: composer-workflowoperation - org/opencastproject/workflow/handler/composer/DemuxWorkflowOperationHandler.java

Rule Violation Priority Line
UselessParentheses Useless parentheses around `new MediaPackageElementFlavor(flavorType, flavo...`. 4 267

Opencast :: composer-workflowoperation - org/opencastproject/workflow/handler/composer/ImageWorkflowOperationHandler.java

Rule Violation Priority Line
UselessParentheses Useless parentheses around `(double) durationMs - endMarginMs`. 4 344

Opencast :: composer-workflowoperation - org/opencastproject/workflow/handler/composer/MultiEncodeWorkflowOperationHandler.java

Rule Violation Priority Line
UselessParentheses Useless parentheses around `targetTags.length != 1 && sourceTags.length != ...`. 4 226
UselessParentheses Useless parentheses around `sourceTags.length != 1 && sourceFlavors.length ...`. 4 238
UselessParentheses Useless parentheses around `targetFlavors.length != 1 && sourceFlavors.leng...`. 4 248
UselessParentheses Useless parentheses around `profiles.length != 1 && sourceFlavors.length !=...`. 4 261
CollapsibleIfStatements This if statement could be combined with its parent 3 280284
UnusedFormalParameter Avoid unused method parameters such as 'track'. 3 497
UnusedFormalParameter Avoid unused method parameters such as 'mediaPackage'. 3 497
UselessParentheses Useless parentheses around `new MediaPackageElementFlavor(flavorType, flavo...`. 4 524

Opencast :: composer-workflowoperation - org/opencastproject/workflow/handler/composer/PartialImportWorkflowOperationHandler.java

Rule Violation Priority Line
UselessParentheses Useless parentheses around `trackDimension.getB().getWidth() / 2`. 4 689
UselessParentheses Useless parentheses around `trackDimension.getB().getHeight() / 2`. 4 689690

Opencast :: composer-workflowoperation - org/opencastproject/workflow/handler/composer/PrepareAVWorkflowOperationHandler.java

Rule Violation Priority Line
UselessParentheses Useless parentheses around `QUESTION_MARK.equals(flavor.getType())`. 4 379
UselessParentheses Useless parentheses around `QUESTION_MARK.equals(flavor.getSubtype())`. 4 380

Opencast :: composer-workflowoperation - org/opencastproject/workflow/handler/composer/ProcessSmilWorkflowOperationHandler.java

Rule Violation Priority Line
UnnecessarySemicolon Unnecessary semicolon 3 168
UselessParentheses Useless parentheses around `options`. 4 254
UnusedFormalParameter Avoid unused method parameters such as 'track'. 3 601
UnusedFormalParameter Avoid unused method parameters such as 'mediaPackage'. 3 601
UselessParentheses Useless parentheses around `(trackFlavor.getType().equals(sourceFlavor.getT...`. 4 621626

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 276278

Opencast :: conductor - org/opencastproject/event/handler/ConductingEpisodeUpdatedEventHandler.java

Rule Violation Priority Line
CollapsibleIfStatements This if statement could be combined with its parent 3 7476

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 21946

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 602609

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 227230

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 22206

Opencast :: dublincore - org/opencastproject/metadata/dublincore/EncodingSchemeUtils.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 165166
EmptyCatchBlock Avoid empty catch blocks 3 181182
EmptyCatchBlock Avoid empty catch blocks 3 217218
UnnecessaryFullyQualifiedName Unnecessary qualifier 'java.util': 'Date' is already in scope because it is imported in this file 4 224
EmptyCatchBlock Avoid empty catch blocks 3 226227
EmptyCatchBlock Avoid empty catch blocks 3 240241
UnnecessaryFullyQualifiedName Unnecessary qualifier 'java.util': 'Date' is already in scope because it is imported in this file 4 246
EmptyCatchBlock Avoid empty catch blocks 3 248249
EmptyCatchBlock Avoid empty catch blocks 3 348350

Opencast :: dublincore - org/opencastproject/metadata/dublincore/MetadataJson.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'MetadataJson': 'fillCollectionFromJson' is already in scope 4 464

Opencast :: dublincore - org/opencastproject/metadata/dublincore/OpencastDctermsDublinCore.java

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 21607
EmptyCatchBlock Avoid empty catch blocks 3 374375

Opencast :: dublincore - org/opencastproject/metadata/dublincore/StaticMetadataServiceDublinCoreImpl.java

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 22406
UnusedLocalVariable Avoid unused local variables such as 'start'. 3 161
CollapsibleIfStatements This if statement could be combined with its parent 3 232235
CollapsibleIfStatements This if statement could be combined with its parent 3 243245
CollapsibleIfStatements This if statement could be combined with its parent 3 253255
UnnecessaryFullyQualifiedName Unnecessary qualifier 'java.util.function': 'Function' is already in scope because it is imported in this file 4 356
UnusedPrivateMethod Avoid unused private methods such as 'load(Catalog)'. 3 390

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 831833

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 125127

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 100102

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 518

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 217

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 102
UnnecessaryFullyQualifiedName Unnecessary qualifier 'ExecuteService': 'ENDPOINT_NAME' is already in scope because it is inherited by an enclosing type 4 153

Opencast :: external-api - org/opencastproject/external/endpoint/EventsEndpoint.java

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 212586
UnnecessarySemicolon Unnecessary semicolon 3 245
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 4 635
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 4 637
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 4 639
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 4 646
UnnecessaryFullyQualifiedName Unnecessary qualifier 'ApiVersion': 'VERSION_1_1_0' is already in scope because it is imported in this file 4 951
UnnecessaryFullyQualifiedName Unnecessary qualifier 'ApiVersion': 'VERSION_1_1_0' is already in scope because it is imported in this file 4 970
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 4 1313
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 4 1566
UselessParentheses Useless parentheses around `!requestedVersion.isSmallerThan(VERSION_1_11_0)...`. 4 21662167
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 4 2357
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Type': 'STRING' is already in scope because it is imported in this file 4 2361

Opencast :: external-api - org/opencastproject/external/endpoint/GroupsEndpoint.java

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 21493
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 4 166
UselessParentheses Useless parentheses around `members1.size() - members2.size()`. 4 284
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 4 298
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 4 300
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NO_CONTENT' is already in scope because it is imported in this file 4 331
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 4 333
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_CREATED' is already in scope because it is imported in this file 4 368
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file 4 370
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NO_CONTENT' is already in scope because it is imported in this file 4 469
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_NOT_FOUND' is already in scope because it is imported in this file 4 471

Opencast :: external-api - org/opencastproject/external/endpoint/PlaylistsEndpoint.java

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 21392
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 152
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 4 193
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 4 288

Opencast :: external-api - org/opencastproject/external/endpoint/SecurityEndpoint.java

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 21192

Opencast :: external-api - org/opencastproject/external/endpoint/SeriesEndpoint.java

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 211647
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 4 228
UselessParentheses Useless parentheses around `withAcl != null && withAcl`. 4 354
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' 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 522
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 4 529
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 4 693
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 4 732
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file 4 734
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 4 740
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope 4 808
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 4 846
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 4 890
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 4 929
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 4 992
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file 4 994
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_BAD_REQUEST' is already in scope because it is imported in this file 4 1030
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 4 1060
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope 4 1108
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'trimToNull' is already in scope 4 1133
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 4 1183
UnnecessaryFullyQualifiedName Unnecessary qualifier 'HttpServletResponse': 'SC_OK' is already in scope because it is imported in this file 4 1239
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope 4 1246
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope 4 1609
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope 4 1610

Opencast :: external-api - org/opencastproject/external/endpoint/WorkflowDefinitionsEndpoint.java

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 21344

Opencast :: external-api - org/opencastproject/external/endpoint/WorkflowsEndpoint.java

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 21510

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 419

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 4051

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 121122

Opencast :: index-service - org/opencastproject/index/service/catalog/adapter/ConfigurableDCCatalogUIAdapter.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 104107

Opencast :: index-service - org/opencastproject/index/service/impl/IndexServiceImpl.java

Rule Violation Priority Line
UnusedLocalVariable Avoid unused local variables such as 'ingest'. 3 1000
UselessParentheses Useless parentheses around `(removedScheduler || notFoundScheduler) && (rem...`. 4 15901591

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 246255

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 144
UselessParentheses Useless parentheses around `name != null`. 4 151

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 206208

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 222178
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 924
UnusedLocalVariable Avoid unused local variables such as 'createdSeries'. 3 2162

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 279281
EmptyCatchBlock Avoid empty catch blocks 3 283285
UselessQualifiedThis Useless qualified this usage in the same class. 3 349
UselessQualifiedThis Useless qualified this usage in the same class. 3 356
UnnecessaryFullyQualifiedName Unnecessary qualifier 'String': 'format' is already in scope 4 577
UnnecessaryFullyQualifiedName Unnecessary qualifier 'String': 'format' is already in scope 4 595

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 204
PrimitiveWrapperInstantiation Do not use `new Float(...)`, prefer `Float.valueOf(...)` 3 216
PrimitiveWrapperInstantiation Do not use `new Double(...)`, prefer `Double.valueOf(...)` 3 262
PrimitiveWrapperInstantiation Do not use `new Float(...)`, prefer `Float.valueOf(...)` 3 274
CollapsibleIfStatements This if statement could be combined with its parent 3 360364

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 339
CollapsibleIfStatements This if statement could be combined with its parent 3 416418
EmptyControlStatement Empty if statement 3 541545

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 241

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 22238

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 261

Opencast :: kernel - org/opencastproject/kernel/rest/CleanSessionsFilter.java

Rule Violation Priority Line
CollapsibleIfStatements This if statement could be combined with its parent 3 98103

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 198
UnnecessaryFullyQualifiedName Unnecessary qualifier 'RestConstants': 'HTTP_CLASSPATH' is already in scope because it is inherited by an enclosing type 4 454
UnnecessaryFullyQualifiedName Unnecessary qualifier 'RestConstants': 'HTTP_ALIAS' is already in scope because it is inherited by an enclosing type 4 455
UnnecessaryFullyQualifiedName Unnecessary qualifier 'RestConstants': 'HTTP_WELCOME' is already in scope because it is inherited by an enclosing type 4 456
UnnecessaryFullyQualifiedName Unnecessary qualifier 'RestConstants': 'HTTP_SPA_REDIRECT' is already in scope because it is inherited by an enclosing type 4 458
UnnecessaryFullyQualifiedName Unnecessary qualifier 'RestConstants': 'HTTP_CONTEXT_ID' is already in scope because it is inherited by an enclosing type 4 464
UnnecessaryFullyQualifiedName Unnecessary qualifier 'RestConstants': 'HTTP_CLASSPATH' is already in scope because it is inherited by an enclosing type 4 488
UnnecessaryFullyQualifiedName Unnecessary qualifier 'RestConstants': 'HTTP_ALIAS' is already in scope because it is inherited by an enclosing type 4 489

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 22320

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 121

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 6769
EmptyCatchBlock Avoid empty catch blocks 3 7779

Opencast :: kernel - org/opencastproject/kernel/security/TrustedHttpClientImpl.java

Rule Violation Priority Line
UselessParentheses Useless parentheses around `retryBaseDelay * MILLISECONDS_IN_SECONDS + vari...`. 4 549
UselessParentheses Useless parentheses around `"Nonce has expired/timed out".equals(response.g...`. 4 579

Opencast :: live-schedule-impl - org/opencastproject/liveschedule/impl/LiveScheduleServiceImpl.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 428430
EmptyCatchBlock Avoid empty catch blocks 3 549553

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 129131

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 21311

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 298

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 377

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 153
UselessParentheses Useless parentheses around `hasOverlap ? "true" : "false"`. 4 154

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 157
UselessParentheses Useless parentheses around `overlap ? "true" : "false"`. 4 158

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 198
UnusedLocalVariable Avoid unused local variables such as 'resultSize'. 3 199
UnusedLocalVariable Avoid unused local variables such as 'resultOffset'. 3 200
UnusedLocalVariable Avoid unused local variables such as 'resultLimit'. 3 201

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 93

Opencast :: oaipmh - org/opencastproject/oaipmh/server/OaiPmhRepository.java

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 21759
UselessQualifiedThis Useless qualified this usage in the same class. 3 282

Opencast :: oaipmh - org/opencastproject/oaipmh/server/OaiPmhServer.java

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 21291

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 21659

Opencast :: playlists - org/opencastproject/playlists/PlaylistService.java

Rule Violation Priority Line
CollapsibleIfStatements This if statement could be combined with its parent 3 203206
CollapsibleIfStatements This if statement could be combined with its parent 3 211214

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 650653
CollapsibleIfStatements This if statement could be combined with its parent 3 800805
EmptyControlStatement Empty if statement 3 996998
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 294312

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 222043
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 236237
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 211778
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 820821
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 22919
UnnecessaryReturn Unnecessary return statement 3 136
CollapsibleIfStatements This if statement could be combined with its parent 3 540545
CollapsibleIfStatements This if statement could be combined with its parent 3 737742
CollapsibleIfStatements This if statement could be combined with its parent 3 877890

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 22599

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 22554

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 221370
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 195198
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 22703

Opencast :: serviceregistry - org/opencastproject/serviceregistry/impl/AbstractIncidentService.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 113114

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 398400
EmptyCatchBlock Avoid empty catch blocks 3 572574
UnusedPrivateField Avoid unused private fields such as 'toHostRegistration'. 3 629
UnusedPrivateField Avoid unused private fields such as 'toMaxLoad'. 3 637
UnusedPrivateField Avoid unused private fields such as 'sortFloatValuesDesc'. 3 644

Opencast :: serviceregistry - org/opencastproject/serviceregistry/impl/ServiceRegistryJpaImpl.java

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 222689
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope 4 307
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope 4 337
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope 4 345
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope 4 510
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope 4 513
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope 4 516
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Status': 'FAILED' is already in scope because it is imported in this file 4 895
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Status': 'FAILED' is already in scope because it is imported in this file 4 1030
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Status': 'FAILED' is already in scope because it is imported in this file 4 1419
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope 4 1887
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope 4 1887
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope 4 1887
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Status': 'FAILED' is already in scope because it is imported in this file 4 2169
CollapsibleIfStatements This if statement could be combined with its parent 3 22392244

Opencast :: serviceregistry - org/opencastproject/serviceregistry/impl/endpoint/IncidentServiceEndpoint.java

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 22393

Opencast :: serviceregistry - org/opencastproject/serviceregistry/impl/endpoint/ServiceRegistryEndpoint.java

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 221077
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'isNotBlank' is already in scope 4 416
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'isBlank' is already in scope 4 692
UnnecessaryFullyQualifiedName Unnecessary qualifier 'StringUtils': 'isNotBlank' is already in scope 4 696

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 240
UselessParentheses Useless parentheses around `ranges.isEmpty()`. 4 255
UselessParentheses Useless parentheses around `ranges.hasNext()`. 4 325
UselessParentheses Useless parentheses around `-1L`. 4 369
CheckSkipResult Check the value returned by the skip() method of an InputStream to see if the requested number of bytes has been skipped. 3 479
UselessParentheses Useless parentheses around `(start >= 0) && (end >= 0) && (start <= end) &&...`. 4 533

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 127129
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 316318
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 368370

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 140142

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 259267
EmptyControlStatement Empty else statement 3 282284

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 434436

Opencast :: timelinepreviews-workflowoperation - org/opencastproject/workflow/handler/timelinepreviews/TimelinePreviewsWorkflowOperationHandler.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 278280

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 700701
EmptyCatchBlock Avoid empty catch blocks 3 770771
EmptyCatchBlock Avoid empty catch blocks 3 816817
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 577578
EmptyCatchBlock Avoid empty catch blocks 3 666667
EmptyCatchBlock Avoid empty catch blocks 3 716717
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 781
EmptyCatchBlock Avoid empty catch blocks 3 848849
UselessParentheses Useless parentheses around `database.findByJob(jobId).getDateCreated().getT...`. 4 952954
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 123124
EmptyCatchBlock Avoid empty catch blocks 3 169170

Opencast :: transcription-service-ibm-watson-impl - org/opencastproject/transcription/ibmwatson/IBMWatsonTranscriptionService.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 305307
EmptyCatchBlock Avoid empty catch blocks 3 327329
EmptyCatchBlock Avoid empty catch blocks 3 337339
EmptyCatchBlock Avoid empty catch blocks 3 585586
EmptyCatchBlock Avoid empty catch blocks 3 686687
EmptyCatchBlock Avoid empty catch blocks 3 765766

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 346349
EmptyCatchBlock Avoid empty catch blocks 3 363366

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 217219

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 141142

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 347349
EmptyCatchBlock Avoid empty catch blocks 3 367369
EmptyCatchBlock Avoid empty catch blocks 3 409411

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 22376

Opencast :: userdirectory - org/opencastproject/userdirectory/endpoint/UserEndpoint.java

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 22519

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 410413

Opencast :: videogrid-service-impl - org/opencastproject/videogrid/impl/VideoGridServiceImpl.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 205207

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 947948
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 554706
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 204210
EmptyCatchBlock Avoid empty catch blocks 3 385387

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 22864
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 127129

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 222417
CollapsibleIfStatements This if statement could be combined with its parent 3 762765
EmptyCatchBlock Avoid empty catch blocks 3 916918
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 10491052
UselessParentheses Useless parentheses around `currentUser.equals(workflowCreator)`. 4 1155
EmptyCatchBlock Avoid empty catch blocks 3 11901192
CollapsibleIfStatements This if statement could be combined with its parent 3 16331635
UnnecessaryFullyQualifiedName Unnecessary qualifier 'WorkflowState': 'PAUSED' is already in scope because it is imported in this file 4 2255
EmptyCatchBlock Avoid empty catch blocks 3 22742276

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 22676
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 189191
EmptyCatchBlock Avoid empty catch blocks 3 316318

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 301303
CollapsibleIfStatements This if statement could be combined with its parent 3 316318

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 127128

Opencast :: working-file-repository-service-impl - org/opencastproject/workingfilerepository/impl/WorkingFileRepositoryImpl.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 577579
EmptyCatchBlock Avoid empty catch blocks 3 642644
EmptyCatchBlock Avoid empty catch blocks 3 865867

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 22683
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 120121

Opencast :: workspace-impl - org/opencastproject/workspace/impl/WorkspaceImpl.java

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 22996
CollapsibleIfStatements This if statement could be combined with its parent 3 365389
CollapsibleIfStatements This if statement could be combined with its parent 3 409419
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