mirror of
https://github.com/github/codeql.git
synced 2026-04-22 23:35:14 +02:00
Java: Add 'previous-id' and adjust tags for 'java/garbage-collection' and 'java/do-not-use-finalizers'
This commit is contained in:
@@ -80,6 +80,7 @@ ql/java/ql/src/Violations of Best Practice/Naming Conventions/LocalShadowsFieldC
|
||||
ql/java/ql/src/Violations of Best Practice/Naming Conventions/SameNameAsSuper.ql
|
||||
ql/java/ql/src/Violations of Best Practice/Records/IgnoredSerializationMembersOfRecordClass.ql
|
||||
ql/java/ql/src/Violations of Best Practice/SpecialCharactersInLiterals/NonExplicitControlAndWhitespaceCharsInLiterals.ql
|
||||
ql/java/ql/src/Violations of Best Practice/Undesirable Calls/CallsToRunFinalizersOnExit.ql
|
||||
ql/java/ql/src/Violations of Best Practice/Undesirable Calls/CallsToStringToString.ql
|
||||
ql/java/ql/src/Violations of Best Practice/Undesirable Calls/DefaultToString.ql
|
||||
ql/java/ql/src/Violations of Best Practice/Undesirable Calls/DoNotCallFinalize.ql
|
||||
|
||||
@@ -7,8 +7,11 @@
|
||||
* @problem.severity error
|
||||
* @precision medium
|
||||
* @id java/run-finalizers-on-exit
|
||||
* @tags reliability
|
||||
* maintainability
|
||||
* @previous-id java/do-not-use-finalizers
|
||||
* @tags quality
|
||||
* reliability
|
||||
* correctness
|
||||
* performance
|
||||
*/
|
||||
|
||||
import java
|
||||
|
||||
@@ -6,8 +6,10 @@
|
||||
* @problem.severity recommendation
|
||||
* @precision low
|
||||
* @id java/garbage-collection
|
||||
* @tags reliability
|
||||
* maintainability
|
||||
* @previous-id java/do-not-use-finalizers
|
||||
* @tags quality
|
||||
* reliability
|
||||
* correctness
|
||||
*/
|
||||
|
||||
import java
|
||||
|
||||
5
java/ql/src/change-notes/2025-07-19-adjust-tags.md
Normal file
5
java/ql/src/change-notes/2025-07-19-adjust-tags.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
category: queryMetadata
|
||||
---
|
||||
* The tag `maintainability` has been removed from `java/run-finalizers-on-exit` and the tags `quality`, `correctness`, and `performance` have been added.
|
||||
* The tag `maintainability` has been removed from `java/garbage-collection` and the tags `quality` and `correctness` have been added.
|
||||
Reference in New Issue
Block a user