jdk/test/tools/jlink/IntegrationTest.java
changeset 39129 4b2086305b68
parent 38320 e24c7029e8ba
child 39321 c60f34e8c057
--- a/jdk/test/tools/jlink/IntegrationTest.java	Tue Jun 21 14:00:59 2016 +0100
+++ b/jdk/test/tools/jlink/IntegrationTest.java	Tue Jun 21 19:05:34 2016 +0530
@@ -90,10 +90,8 @@
         }
 
         @Override
-        public Set<Category> getType() {
-            Set<Category> set = new HashSet<>();
-            set.add(Category.PROCESSOR);
-            return Collections.unmodifiableSet(set);
+        public Category getType() {
+            return Category.PROCESSOR;
         }
 
         @Override
@@ -139,13 +137,6 @@
         }
 
         @Override
-        public Set<Category> getType() {
-            Set<Category> set = new HashSet<>();
-            set.add(Category.TRANSFORMER);
-            return Collections.unmodifiableSet(set);
-        }
-
-        @Override
         public String getDescription() {
             return null;
         }