File imports.patch of Package jctools.33192

--- JCTools-3.3.0/jctools-build/src/main/java/org/jctools/queues/atomic/JavaParsingAtomicArrayQueueGenerator.java	2021-03-04 13:31:26.000000000 +0100
+++ JCTools-3.3.0/jctools-build/src/main/java/org/jctools/queues/atomic/JavaParsingAtomicArrayQueueGenerator.java	2022-03-10 01:17:42.600945295 +0100
@@ -126,7 +126,7 @@
         cu.addImport(importDeclaration("java.util.concurrent.atomic.AtomicReferenceArray"));
         cu.addImport(importDeclaration("java.util.concurrent.atomic.AtomicLongArray"));
         cu.addImport(importDeclaration("org.jctools.queues.MessagePassingQueueUtil"));
-        cu.addImport(staticImportDeclaration("org.jctools.queues.atomic.AtomicQueueUtil.*"));
+        cu.addImport(staticImportDeclaration("org.jctools.queues.atomic.AtomicQueueUtil"));
     }
 
     /**
--- JCTools-3.3.0/jctools-build/src/main/java/org/jctools/queues/atomic/JavaParsingAtomicLinkedQueueGenerator.java	2021-03-04 13:31:26.000000000 +0100
+++ JCTools-3.3.0/jctools-build/src/main/java/org/jctools/queues/atomic/JavaParsingAtomicLinkedQueueGenerator.java	2022-03-10 01:17:34.301128084 +0100
@@ -174,7 +174,7 @@
         cu.addImport(importDeclaration("org.jctools.queues.MessagePassingQueueUtil"));
         cu.addImport(importDeclaration("org.jctools.queues.QueueProgressIndicators"));
         cu.addImport(importDeclaration("org.jctools.queues.IndexedQueueSizeUtil"));
-        cu.addImport(staticImportDeclaration("org.jctools.queues.atomic.AtomicQueueUtil.*"));
+        cu.addImport(staticImportDeclaration("org.jctools.queues.atomic.AtomicQueueUtil"));
     }
 
     /**
--- JCTools-3.3.0/jctools-build/src/main/java/org/jctools/queues/atomic/JavaParsingAtomicQueueGenerator.java	2021-03-04 13:31:26.000000000 +0100
+++ JCTools-3.3.0/jctools-build/src/main/java/org/jctools/queues/atomic/JavaParsingAtomicQueueGenerator.java	2022-03-10 01:17:27.333281545 +0100
@@ -291,7 +291,7 @@
     }
 
     protected ImportDeclaration importDeclaration(String name) {
-        return new ImportDeclaration(new Name(name), false, false);
+        return new ImportDeclaration(name, false, false);
     }
 
     /**
@@ -327,7 +327,7 @@
     }
 
     ImportDeclaration staticImportDeclaration(String name) {
-        return new ImportDeclaration(new Name(name), true, false);
+        return new ImportDeclaration(name, true, true);
     }
 
 }
openSUSE Build Service is sponsored by