Merge pull request #218 from yh-semmle/java/query-severities

Approved by aschackmull
This commit is contained in:
semmle-qlci
2018-09-21 16:59:03 +01:00
committed by GitHub
4 changed files with 4 additions and 4 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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