aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/gluegen/MethodBinding.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-10-16 07:42:41 +0200
committerSven Gothel <[email protected]>2012-10-16 07:42:41 +0200
commit33ffe6769081401741813507ab01faa5ede80eae (patch)
tree8c128f8268c1134e2c65d88c6800aea96675c1f6 /src/java/com/jogamp/gluegen/MethodBinding.java
parent3ccb9dbc00746d31f08a907d190892d68273d4bf (diff)
ProcAddressEmitter: Remove 'guessing' argument names from types, since they are ambiguous - better use default generic ones to avoid confusion.
Diffstat (limited to 'src/java/com/jogamp/gluegen/MethodBinding.java')
-rw-r--r--src/java/com/jogamp/gluegen/MethodBinding.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/com/jogamp/gluegen/MethodBinding.java b/src/java/com/jogamp/gluegen/MethodBinding.java
index a8d4b30..8c2bd9e 100644
--- a/src/java/com/jogamp/gluegen/MethodBinding.java
+++ b/src/java/com/jogamp/gluegen/MethodBinding.java
@@ -157,8 +157,8 @@ public class MethodBinding {
are no namespace clashes with these fabricated argument
names. */
public String getArgumentName(int i) {
- String ret = sym.getArgumentName(i);
- if (ret != null) {
+ final String ret = sym.getArgumentName(i);
+ if ( null != ret ) {
return ret;
}
return "arg" + i;