good code red fixed

This commit is contained in:
anna
2012-04-16 14:24:32 +02:00
parent bbc5761036
commit 0c15dccf23
2 changed files with 15 additions and 3 deletions
@@ -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> {}