Task/remove deprecated projection #1
Merged
NShiftKey / NShiftKey - sonarqube - bug
required action
Aug 5, 2024 in 6m 18s
Summary
- 35 security issue(s)
- Blocker : 20
- Critical : 15
- Major : 0
- Minor : 0
- Info : 0
Details
NShiftKey
-
Use try-with-resources or close this "Stream" in a "finally" clause.
- Description : https://rules.sonarsource.com/java/RSPEC-2095/
- Target Code : NationalSecurityAgency-datawave/warehouse/age-off-utils/src/test/java/datawave/age/off/util/AgeOffCsvToMatchPatternFormatterTest.java [view change history] [ignore this]
- Target Code : NationalSecurityAgency-datawave/warehouse/age-off-utils/src/test/java/datawave/age/off/util/AgeOffCsvToMatchPatternFormatterTest.java [view change history] [ignore this]
- Description : https://rules.sonarsource.com/java/RSPEC-2095/
-
Use try-with-resources or close this "BufferedInputStream" in a "finally" clause.
- Description : https://rules.sonarsource.com/java/RSPEC-2095/
- Target Code : NationalSecurityAgency-datawave/warehouse/core/src/test/java/datawave/edge/util/EdgeValueTest.java [view change history] [ignore this]
- Target Code : NationalSecurityAgency-datawave/warehouse/core/src/test/java/datawave/edge/util/EdgeValueTest.java [view change history] [ignore this]
- Description : https://rules.sonarsource.com/java/RSPEC-2095/
-
Add an end condition to this loop.
- Description : https://rules.sonarsource.com/java/RSPEC-2189/
- Target Code : NationalSecurityAgency-datawave/web-services/query/src/main/java/datawave/webservice/query/util/LookupUUIDUtil.java [view change history] [ignore this]
- Target Code : NationalSecurityAgency-datawave/warehouse/query-core/src/test/java/datawave/query/util/sortedset/MergeSortIteratorTest.java [view change history] [ignore this]
- Target Code : NationalSecurityAgency-datawave/web-services/query/src/main/java/datawave/webservice/query/util/LookupUUIDUtil.java [view change history] [ignore this]
- Description : https://rules.sonarsource.com/java/RSPEC-2189/
-
Use try-with-resources or close this "ServerSocket" in a "finally" clause.
- Description : https://rules.sonarsource.com/java/RSPEC-2095/
- Target Code : NationalSecurityAgency-datawave/warehouse/ingest-core/src/main/java/datawave/ingest/mapreduce/job/BulkIngestMapFileLoader.java [view change history] [ignore this]
- Target Code : NationalSecurityAgency-datawave/warehouse/ingest-core/src/main/java/datawave/ingest/mapreduce/job/BulkIngestMapFileLoader.java [view change history] [ignore this]
- Description : https://rules.sonarsource.com/java/RSPEC-2095/
-
Use try-with-resources or close this "BufferedReader" in a "finally" clause.
- Description : https://rules.sonarsource.com/java/RSPEC-2095/
- Target Code : NationalSecurityAgency-datawave/warehouse/ingest-core/src/test/java/datawave/ingest/mapreduce/partition/TabletLocationNamePartitionerTest.java [view change history] [ignore this]
- Target Code : NationalSecurityAgency-datawave/warehouse/ingest-core/src/test/java/datawave/ingest/mapreduce/partition/TabletLocationNamePartitionerTest.java [view change history] [ignore this]
- Description : https://rules.sonarsource.com/java/RSPEC-2095/
-
Use try-with-resources or close this "FileOutputStream" in a "finally" clause.
- Description : https://rules.sonarsource.com/java/RSPEC-2095/
- Target Code : NationalSecurityAgency-datawave/warehouse/query-core/src/test/java/datawave/query/util/TypeMetadataTest.java [view change history] [ignore this]
- Target Code : NationalSecurityAgency-datawave/warehouse/query-core/src/test/java/datawave/query/util/TypeMetadataTest.java [view change history] [ignore this]
- Description : https://rules.sonarsource.com/java/RSPEC-2095/
-
Use try-with-resources or close this "FileInputStream" in a "finally" clause.
- Description : https://rules.sonarsource.com/java/RSPEC-2095/
- Target Code : NationalSecurityAgency-datawave/warehouse/query-core/src/test/java/datawave/query/util/TypeMetadataTest.java [view change history] [ignore this]
- Target Code : NationalSecurityAgency-datawave/warehouse/query-core/src/test/java/datawave/query/util/TypeMetadataTest.java [view change history] [ignore this]
- Description : https://rules.sonarsource.com/java/RSPEC-2095/
-
Remove this dangerous instance of double-checked locking.
- Description : https://rules.sonarsource.com/java/RSPEC-2168/
- Target Code : NationalSecurityAgency-datawave/warehouse/ingest-core/src/main/java/datawave/ingest/data/TypeRegistry.java [view change history] [ignore this]
- Target Code : NationalSecurityAgency-datawave/warehouse/query-core/src/main/java/datawave/query/statsd/QueryStatsDClient.java [view change history] [ignore this]
- Target Code : NationalSecurityAgency-datawave/warehouse/query-core/src/main/java/datawave/query/tracking/ActiveQueryLog.java [view change history] [ignore this]
- Target Code : NationalSecurityAgency-datawave/warehouse/age-off/src/main/java/datawave/iterators/filter/ConfigurableAgeOffFilter.java [view change history] [ignore this]
- Target Code : NationalSecurityAgency-datawave/warehouse/age-off/src/main/java/datawave/iterators/filter/ConfigurableAgeOffFilter.java [view change history] [ignore this]
- Target Code : NationalSecurityAgency-datawave/warehouse/ingest-core/src/main/java/datawave/ingest/time/Now.java [view change history] [ignore this]
- Target Code : NationalSecurityAgency-datawave/warehouse/ingest-core/src/main/java/datawave/ingest/data/TypeRegistry.java [view change history] [ignore this]
- Description : https://rules.sonarsource.com/java/RSPEC-2168/
-
Use try-with-resources or close this "ObjectInputStream" in a "finally" clause.
- Description : https://rules.sonarsource.com/java/RSPEC-2095/
- Target Code : NationalSecurityAgency-datawave/warehouse/query-core/src/test/java/datawave/query/util/TypeMetadataTest.java [view change history] [ignore this]
- Target Code : NationalSecurityAgency-datawave/warehouse/query-core/src/test/java/datawave/query/util/TypeMetadataTest.java [view change history] [ignore this]
- Description : https://rules.sonarsource.com/java/RSPEC-2095/
-
Use try-with-resources or close this "DatagramSocket" in a "finally" clause.
- Description : https://rules.sonarsource.com/java/RSPEC-2095/
- Target Code : NationalSecurityAgency-datawave/warehouse/query-core/src/test/java/datawave/query/statsd/QueryStatsdDClientTest.java [view change history] [ignore this]
- Target Code : NationalSecurityAgency-datawave/warehouse/query-core/src/test/java/datawave/query/statsd/QueryStatsdDClientTest.java [view change history] [ignore this]
- Description : https://rules.sonarsource.com/java/RSPEC-2095/
-
Use try-with-resources or close this "ObjectOutputStream" in a "finally" clause.
- Description : https://rules.sonarsource.com/java/RSPEC-2095/
- Target Code : NationalSecurityAgency-datawave/warehouse/query-core/src/test/java/datawave/query/util/TypeMetadataTest.java [view change history] [ignore this]
- Target Code : NationalSecurityAgency-datawave/warehouse/query-core/src/test/java/datawave/query/util/TypeMetadataTest.java [view change history] [ignore this]
- Description : https://rules.sonarsource.com/java/RSPEC-2095/
-
Replace the call to "Thread.sleep(...)" with a call to "wait(...)".
- Description : https://rules.sonarsource.com/java/RSPEC-2276/
- Target Code : NationalSecurityAgency-datawave/warehouse/query-core/src/main/java/datawave/mr/bulk/RecordIterator.java [view change history] [ignore this]
- Target Code : NationalSecurityAgency-datawave/warehouse/query-core/src/main/java/datawave/query/planner/ThreadedRangeBundlerIterator.java [view change history] [ignore this]
- Target Code : NationalSecurityAgency-datawave/warehouse/query-core/src/main/java/datawave/mr/bulk/RecordIterator.java [view change history] [ignore this]
- Description : https://rules.sonarsource.com/java/RSPEC-2276/
-
Use try-with-resources or close this "BufferedOutputStream" in a "finally" clause.
- Description : https://rules.sonarsource.com/java/RSPEC-2095/
- Target Code : NationalSecurityAgency-datawave/warehouse/core/src/test/java/datawave/edge/util/EdgeValueTest.java [view change history] [ignore this]
- Target Code : NationalSecurityAgency-datawave/warehouse/core/src/test/java/datawave/edge/util/EdgeValueTest.java [view change history] [ignore this]
- Description : https://rules.sonarsource.com/java/RSPEC-2095/
-
Remove or replace this boundary that will never match because it appears before mandatory input.
- Description : https://rules.sonarsource.com/java/RSPEC-5996/
- Target Code : NationalSecurityAgency-datawave/web-services/map-reduce/src/main/java/datawave/webservice/mr/configuration/MapReduceJobConfiguration.java [view change history] [ignore this]
- Target Code : NationalSecurityAgency-datawave/web-services/map-reduce/src/main/java/datawave/webservice/mr/configuration/MapReduceJobConfiguration.java [view change history] [ignore this]
- Description : https://rules.sonarsource.com/java/RSPEC-5996/
-
Remove this throw statement from this finally block.
- Description : https://rules.sonarsource.com/java/RSPEC-1143/
- Target Code : NationalSecurityAgency-datawave/web-services/model/src/main/java/datawave/webservice/query/model/ModelBean.java [view change history] [ignore this]
- Target Code : NationalSecurityAgency-datawave/web-services/model/src/main/java/datawave/webservice/query/model/ModelBean.java [view change history] [ignore this]
- Target Code : NationalSecurityAgency-datawave/web-services/query/src/main/java/datawave/webservice/query/runner/QueryExecutorBean.java [view change history] [ignore this]
- Target Code : NationalSecurityAgency-datawave/web-services/query/src/main/java/datawave/webservice/query/runner/QueryExecutorBean.java [view change history] [ignore this]
- Target Code : NationalSecurityAgency-datawave/web-services/query/src/main/java/datawave/webservice/query/runner/QueryExecutorBean.java [view change history] [ignore this]
- Target Code : NationalSecurityAgency-datawave/web-services/query/src/main/java/datawave/webservice/query/runner/QueryExecutorBean.java [view change history] [ignore this]
- Target Code : NationalSecurityAgency-datawave/web-services/query/src/main/java/datawave/webservice/query/runner/QueryExecutorBean.java [view change history] [ignore this]
- Target Code : NationalSecurityAgency-datawave/web-services/map-reduce/src/main/java/datawave/webservice/mr/MapReduceBean.java [view change history] [ignore this]
- Target Code : NationalSecurityAgency-datawave/web-services/map-reduce/src/main/java/datawave/webservice/mr/MapReduceBean.java [view change history] [ignore this]
- Target Code : NationalSecurityAgency-datawave/warehouse/ingest-core/src/main/java/datawave/ingest/util/NGramTokenizationStrategy.java [view change history] [ignore this]
- Target Code : NationalSecurityAgency-datawave/warehouse/query-core/src/main/java/datawave/query/tables/ScannerSession.java [view change history] [ignore this]
- Target Code : NationalSecurityAgency-datawave/warehouse/query-core/src/main/java/datawave/query/tables/ScannerSession.java [view change history] [ignore this]
- Target Code : NationalSecurityAgency-datawave/web-services/model/src/main/java/datawave/webservice/query/model/ModelBean.java [view change history] [ignore this]
- Description : https://rules.sonarsource.com/java/RSPEC-1143/
-
Save and re-use this "Random".
- Description : https://rules.sonarsource.com/java/RSPEC-2119/
- Target Code : NationalSecurityAgency-datawave/warehouse/age-off/src/test/java/datawave/iterators/filter/TokenTtlTrieTest.java [view change history] [ignore this]
- Target Code : NationalSecurityAgency-datawave/warehouse/accumulo-extensions/src/test/java/datawave/ingest/table/balancer/ShardedTableTabletBalancerTest.java [view change history] [ignore this]
- Target Code : NationalSecurityAgency-datawave/warehouse/age-off/src/test/java/datawave/iterators/filter/TokenTtlTrieTest.java [view change history] [ignore this]
- Description : https://rules.sonarsource.com/java/RSPEC-2119/
Loading