From 494740e563ead19828cc44a03230eb066bf84a02 Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Tue, 7 Dec 2004 02:09:52 +0000 Subject: Fixed Issue 123: Use of "enum" as variable name should be eliminated in JOGL git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@179 232f8b59-042b-4e1e-8c03-345bb8c30851 --- src/net/java/games/gluegen/JavaMethodBindingEmitter.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/net/java/games/gluegen') diff --git a/src/net/java/games/gluegen/JavaMethodBindingEmitter.java b/src/net/java/games/gluegen/JavaMethodBindingEmitter.java index 850a2c701..131faae0d 100644 --- a/src/net/java/games/gluegen/JavaMethodBindingEmitter.java +++ b/src/net/java/games/gluegen/JavaMethodBindingEmitter.java @@ -231,16 +231,16 @@ public class JavaMethodBindingEmitter extends FunctionEmitter // distinguish between the values found within multiple anonymous // enums in the same C translation unit. if (type.isEnum() && type.getName() != HeaderParser.ANONYMOUS_ENUM_NAME) { - EnumType enum = (EnumType)type; + EnumType enumType = (EnumType)type; writer.println(); writer.print(emitter.getBaseIndentString()); writer.print(" "); writer.print("@param "); writer.print(binding.getArgumentName(i)); writer.print(" valid values are: "); - for (int j = 0; j < enum.getNumEnumerates(); ++j) { + for (int j = 0; j < enumType.getNumEnumerates(); ++j) { if (j>0) writer.print(", "); - writer.print(enum.getEnumName(j)); + writer.print(enumType.getEnumName(j)); } writer.println(""); } -- cgit v1.2.3