mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
good code red fixed
This commit is contained in:
+14
-2
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import java.util.Iterator;
|
||||
import java.util.*;
|
||||
|
||||
public class Test {
|
||||
public static void bar() {
|
||||
@@ -24,4 +24,16 @@ public class Test {
|
||||
public static Class<? extends Iterator> foo() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class Example {
|
||||
static List<? extends AbstractTreeNode> treeNodes = null;
|
||||
|
||||
public static void main(String[] args) {
|
||||
for (AbstractTreeNode<String> treeNode : treeNodes) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
class AbstractTreeNode<T> {}
|
||||
Reference in New Issue
Block a user