mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Merge pull request #218 from yh-semmle/java/query-severities
Approved by aschackmull
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
* @description If a synchronized method is overridden in a subclass, and the overriding method is
|
||||
* not synchronized, the thread-safety of the subclass may be broken.
|
||||
* @kind problem
|
||||
* @problem.severity error
|
||||
* @problem.severity warning
|
||||
* @precision very-high
|
||||
* @id java/non-sync-override
|
||||
* @tags reliability
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
* @description A resource that is opened for reading but not closed may cause a resource
|
||||
* leak.
|
||||
* @kind problem
|
||||
* @problem.severity error
|
||||
* @problem.severity warning
|
||||
* @precision high
|
||||
* @id java/input-resource-leak
|
||||
* @tags efficiency
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* @name Potential database resource leak
|
||||
* @description A database resource that is opened but not closed may cause a resource leak.
|
||||
* @kind problem
|
||||
* @problem.severity error
|
||||
* @problem.severity warning
|
||||
* @precision high
|
||||
* @id java/database-resource-leak
|
||||
* @tags correctness
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
* @description A resource that is opened for writing but not closed may cause a resource
|
||||
* leak.
|
||||
* @kind problem
|
||||
* @problem.severity error
|
||||
* @problem.severity warning
|
||||
* @precision high
|
||||
* @id java/output-resource-leak
|
||||
* @tags efficiency
|
||||
|
||||
Reference in New Issue
Block a user