aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/java/com/jogamp/gluegen/JavaEmitter.java2
-rw-r--r--src/junit/com/jogamp/gluegen/test/junit/generation/BaseClass4JavaCallback.java8
-rw-r--r--src/junit/com/jogamp/gluegen/test/junit/generation/Test2p1FuncPtr.java1
-rw-r--r--src/junit/com/jogamp/gluegen/test/junit/generation/Test3p1PtrStorage.java1
-rw-r--r--src/junit/com/jogamp/gluegen/test/junit/generation/Test4p1JavaCallback.java1
5 files changed, 1 insertions, 12 deletions
diff --git a/src/java/com/jogamp/gluegen/JavaEmitter.java b/src/java/com/jogamp/gluegen/JavaEmitter.java
index 8ed269e..9d0edef 100644
--- a/src/java/com/jogamp/gluegen/JavaEmitter.java
+++ b/src/java/com/jogamp/gluegen/JavaEmitter.java
@@ -374,7 +374,7 @@ public class JavaEmitter implements GlueEmitter {
final Type funcPtr = typedefDictionary.get(jcbd.cbFuncTypeName);
if( null != funcPtr && funcPtr.isFunctionPointer() ) {
final Optional<FunctionSymbol> setter = cFunctions.stream()
- .filter(cFunction -> jcbd.setFuncName.equals(cFunction.getName()))
+ .filter( cFunction -> jcbd.setFuncName.equals(cFunction.getName()) )
.findFirst();
if( setter.isPresent() ) {
generateJavaCallbackCode(jcbd, funcPtr.getTargetFunction());
diff --git a/src/junit/com/jogamp/gluegen/test/junit/generation/BaseClass4JavaCallback.java b/src/junit/com/jogamp/gluegen/test/junit/generation/BaseClass4JavaCallback.java
index 51987e4..cab8a9c 100644
--- a/src/junit/com/jogamp/gluegen/test/junit/generation/BaseClass4JavaCallback.java
+++ b/src/junit/com/jogamp/gluegen/test/junit/generation/BaseClass4JavaCallback.java
@@ -28,11 +28,9 @@
package com.jogamp.gluegen.test.junit.generation;
-import java.io.IOException;
import java.util.Set;
import java.util.concurrent.atomic.AtomicReference;
-import com.jogamp.common.os.NativeLibrary;
import com.jogamp.gluegen.test.junit.generation.Bindingtest2.ALBUFFERCALLBACKTYPESOFT;
import com.jogamp.gluegen.test.junit.generation.Bindingtest2.ALEVENTPROCSOFT;
import com.jogamp.gluegen.test.junit.generation.Bindingtest2.AlBufferCallback0Key;
@@ -47,13 +45,7 @@ import com.jogamp.gluegen.test.junit.generation.Bindingtest2.T2_CallbackFunc12a;
import com.jogamp.gluegen.test.junit.generation.Bindingtest2.T2_CallbackFunc12b;
import com.jogamp.gluegen.test.junit.generation.Bindingtest2.T2_CallbackFunc13;
-import org.junit.AfterClass;
import org.junit.Assert;
-import org.junit.BeforeClass;
-import org.junit.Test;
-
-import org.junit.FixMethodOrder;
-import org.junit.runners.MethodSorters;
/**
* Test {@link Bindingtest2} with {@link T2_PointerStorage} instance and pointer pointer..
diff --git a/src/junit/com/jogamp/gluegen/test/junit/generation/Test2p1FuncPtr.java b/src/junit/com/jogamp/gluegen/test/junit/generation/Test2p1FuncPtr.java
index 10faff1..fafe06a 100644
--- a/src/junit/com/jogamp/gluegen/test/junit/generation/Test2p1FuncPtr.java
+++ b/src/junit/com/jogamp/gluegen/test/junit/generation/Test2p1FuncPtr.java
@@ -28,7 +28,6 @@
package com.jogamp.gluegen.test.junit.generation;
-import com.jogamp.common.os.NativeLibrary;
import com.jogamp.gluegen.test.junit.generation.impl.Bindingtest2p1Impl;
import org.junit.*;
import org.junit.runners.MethodSorters;
diff --git a/src/junit/com/jogamp/gluegen/test/junit/generation/Test3p1PtrStorage.java b/src/junit/com/jogamp/gluegen/test/junit/generation/Test3p1PtrStorage.java
index e02852a..8a54ef4 100644
--- a/src/junit/com/jogamp/gluegen/test/junit/generation/Test3p1PtrStorage.java
+++ b/src/junit/com/jogamp/gluegen/test/junit/generation/Test3p1PtrStorage.java
@@ -28,7 +28,6 @@
package com.jogamp.gluegen.test.junit.generation;
-import com.jogamp.common.os.NativeLibrary;
import com.jogamp.gluegen.test.junit.generation.impl.Bindingtest2p1Impl;
import org.junit.*;
import org.junit.runners.MethodSorters;
diff --git a/src/junit/com/jogamp/gluegen/test/junit/generation/Test4p1JavaCallback.java b/src/junit/com/jogamp/gluegen/test/junit/generation/Test4p1JavaCallback.java
index c0bb175..6a55c5d 100644
--- a/src/junit/com/jogamp/gluegen/test/junit/generation/Test4p1JavaCallback.java
+++ b/src/junit/com/jogamp/gluegen/test/junit/generation/Test4p1JavaCallback.java
@@ -28,7 +28,6 @@
package com.jogamp.gluegen.test.junit.generation;
-import com.jogamp.common.os.NativeLibrary;
import com.jogamp.gluegen.test.junit.generation.impl.Bindingtest2p1Impl;
import org.junit.*;
import org.junit.runners.MethodSorters;