]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/java/typeck.c
jcf-path.c (jcf_path_init): Don't name variable 'try'.
[thirdparty/gcc.git] / gcc / java / typeck.c
index 403639dafa6d597ae5a9c95e37ca354d565e555e..1028c73ad14c68e36a7789d5c0b3d01968956e78 100644 (file)
@@ -1,5 +1,5 @@
 /* Handle types for the GNU compiler for the Java(TM) language.
-   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2007
+   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2007, 2008
    Free Software Foundation, Inc.
 
 This file is part of GCC.
@@ -691,11 +691,11 @@ lookup_java_method (tree searched_class, tree method_name,
                    method_signature, build_java_signature);
 }
 
-/* Return true iff CLASS (or its ancestors) has a method METHOD_NAME.  */
+/* Return true iff KLASS (or its ancestors) has a method METHOD_NAME.  */
 int
-has_method (tree class, tree method_name)
+has_method (tree klass, tree method_name)
 {
-  return lookup_do (class, SEARCH_INTERFACE,
+  return lookup_do (klass, SEARCH_INTERFACE,
                    method_name, NULL_TREE,
                    build_null_signature) != NULL_TREE;
 }