mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
remove java test EmptyInterface
This is a test of an internal query for the Semmle repository. It cannot run against the public QL repository alone, and therefore should not be tested here. https://git.semmle.com/Semmle/code/pull/35690 adds the test back to the internal repo.
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
| IAmBad.java:1:18:1:23 | IAmBad | Do not use empty interfaces; put some of the behavior in the interface or (better) an abstract superclass. |
|
||||
| IAmBadAsWell.java:1:18:1:29 | IAmBadAsWell | Do not use empty interfaces; put some of the behavior in the interface or (better) an abstract superclass. |
|
||||
| IAmBadToo.java:1:18:1:26 | IAmBadToo | Do not use empty interfaces; put some of the behavior in the interface or (better) an abstract superclass. |
|
||||
@@ -1 +0,0 @@
|
||||
general/EmptyInterface.ql
|
||||
@@ -1 +0,0 @@
|
||||
public interface IAmAlsoOK extends java.util.Collection<Number> {}
|
||||
@@ -1 +0,0 @@
|
||||
public interface IAmBad {}
|
||||
@@ -1 +0,0 @@
|
||||
public interface IAmBadAsWell {}
|
||||
@@ -1 +0,0 @@
|
||||
public interface IAmBadToo extends IAmBad {}
|
||||
@@ -1,3 +0,0 @@
|
||||
public interface IAmNonEmpty {
|
||||
public void m();
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
public interface IAmNonEmptyAsWell {
|
||||
public class C {
|
||||
int x;
|
||||
}
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
public interface IAmNonEmptyToo {
|
||||
public String hello = "world";
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
public interface IAmOK extends IAmBad, IAmBadToo {}
|
||||
@@ -1 +0,0 @@
|
||||
public @interface IAmUseful {}
|
||||
Reference in New Issue
Block a user