< prev index next >

jdk/src/jdk.jline/share/classes/jdk/internal/jline/console/completer/EnumCompleter.java

Print this page

        

@@ -4,24 +4,24 @@
  * This software is distributable under the BSD license. See the terms of the
  * BSD license in the documentation provided with this software.
  *
  * http://www.opensource.org/licenses/bsd-license.php
  */
-package jline.console.completer;
+package jdk.internal.jline.console.completer;
 
-import static jline.internal.Preconditions.checkNotNull;
+import static jdk.internal.jline.internal.Preconditions.checkNotNull;
 
 /**
  * {@link Completer} for {@link Enum} names.
  *
  * @author <a href="mailto:jason@planet57.com">Jason Dillon</a>
  * @since 2.3
  */
 public class EnumCompleter
     extends StringsCompleter
 {
-    public EnumCompleter(Class<? extends Enum> source) {
+    public EnumCompleter(Class<? extends Enum<?>> source) {
         checkNotNull(source);
 
         for (Enum<?> n : source.getEnumConstants()) {
             this.getStrings().add(n.name().toLowerCase());
         }
< prev index next >