Shortening long line
authorJaroslav Tulach <jtulach@netbeans.org>
Sat, 14 Jun 2008 10:04:08 +0200
changeset 200c2f0f73f0e02
parent 199 ef3e24d5cb1c
child 201 784b78c2436f
Shortening long line
samples/consistency/src-api2.0/api/Lookup.java
     1.1 --- a/samples/consistency/src-api2.0/api/Lookup.java	Sat Jun 14 10:04:06 2008 +0200
     1.2 +++ b/samples/consistency/src-api2.0/api/Lookup.java	Sat Jun 14 10:04:08 2008 +0200
     1.3 @@ -51,7 +51,8 @@
     1.4          if (!it.hasNext()) {
     1.5              return Collections.emptySet();
     1.6          } else {
     1.7 -            Set<Class<? extends T>> result = new HashSet<Class<? extends T>>();
     1.8 +            Set<Class<? extends T>> result = 
     1.9 +                new HashSet<Class<? extends T>>();
    1.10              while (it.hasNext()) {
    1.11                  result.add(it.next().getClass().asSubclass(clazz));
    1.12              }