Skip to content

Commit a945f15

Browse files
authored
Merge pull request #21317 from aschackmull/java/deprecate-unreachableblocks
Java: Deprecate UnreachableBlocks.
2 parents 90a16cf + 5c53677 commit a945f15

File tree

6 files changed

+11
-54
lines changed

6 files changed

+11
-54
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
category: deprecated
3+
---
4+
* The `UnreachableBlocks.qll` library has been deprecated.

java/ql/lib/semmle/code/java/controlflow/UnreachableBlocks.qll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
/**
2+
* DEPRECATED: This module is no longer maintained, and will be removed in a future release.
3+
*
24
* Provides classes and predicates for identifying unreachable blocks under a "closed-world" assumption.
35
*/
46
overlay[local?]
5-
module;
7+
deprecated module;
68

79
import java
810
import semmle.code.java.controlflow.Guards

java/ql/lib/semmle/code/java/controlflow/unreachableblocks/ExcludeDebuggingProfilingLogging.qll

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1+
/**
2+
* DEPRECATED: This module is no longer maintained, and will be removed in a future release.
3+
*/
14
overlay[local?]
2-
module;
5+
deprecated module;
36

47
import java
58
import semmle.code.java.controlflow.UnreachableBlocks

java/ql/test/library-tests/unreachableblocks/UnreachableBlocks.expected

Lines changed: 0 additions & 12 deletions
This file was deleted.

java/ql/test/library-tests/unreachableblocks/UnreachableBlocks.ql

Lines changed: 0 additions & 5 deletions
This file was deleted.

java/ql/test/library-tests/unreachableblocks/unreachableblocks/Unreachable.java

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)