[Nice-commit] Nice/src/bossa/syntax RetypedJavaMethod.java,1.11,1.12
Brought to you by:
bonniot
From: <ar...@us...> - 2003-11-26 08:50:28
|
Update of /cvsroot/nice/Nice/src/bossa/syntax In directory sc8-pr-cvs1:/tmp/cvs-serv15512/F:/nice/src/bossa/syntax Modified Files: RetypedJavaMethod.java Log Message: Changed 2 more user errors in a ignored retyping warnings because they can happen when compiling with java 1.3 . Index: RetypedJavaMethod.java =================================================================== RCS file: /cvsroot/nice/Nice/src/bossa/syntax/RetypedJavaMethod.java,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** RetypedJavaMethod.java 21 Nov 2003 08:09:59 -0000 1.11 --- RetypedJavaMethod.java 26 Nov 2003 08:50:23 -0000 1.12 *************** *** 160,164 **** holder.getDeclaredMethod(methodName, javaArgType.length); } catch (Error e) { ! User.error(this, "The types of the arguments don't exactly match any of the declarations"); } if (reflectMethod == null) --- 160,164 ---- holder.getDeclaredMethod(methodName, javaArgType.length); } catch (Error e) { ! setIgnoredRetyping(this, "Ignored retyping because no declaration exist with " + javaArgType.length + " arguments"); } if (reflectMethod == null) *************** *** 176,180 **** } ! User.error(className, "The types of the arguments don't match the declaration:\n" + reflectMethod); --- 176,180 ---- } ! setIgnoredRetyping(className, "Ignored retyping because The types of the arguments don't match the declaration:\n" + reflectMethod); |