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:
Henning Makholm
2019-12-02 15:29:42 +01:00
parent d293418672
commit 95c26a51af
11 changed files with 0 additions and 21 deletions

View File

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

View File

@@ -1 +0,0 @@
general/EmptyInterface.ql

View File

@@ -1 +0,0 @@
public interface IAmAlsoOK extends java.util.Collection<Number> {}

View File

@@ -1 +0,0 @@
public interface IAmBad {}

View File

@@ -1 +0,0 @@
public interface IAmBadAsWell {}

View File

@@ -1 +0,0 @@
public interface IAmBadToo extends IAmBad {}

View File

@@ -1,3 +0,0 @@
public interface IAmNonEmpty {
public void m();
}

View File

@@ -1,5 +0,0 @@
public interface IAmNonEmptyAsWell {
public class C {
int x;
}
}

View File

@@ -1,3 +0,0 @@
public interface IAmNonEmptyToo {
public String hello = "world";
}

View File

@@ -1 +0,0 @@
public interface IAmOK extends IAmBad, IAmBadToo {}

View File

@@ -1 +0,0 @@
public @interface IAmUseful {}