[Nice-commit] Nice/src/bossa/syntax RetypedJavaMethod.java,1.14,1.15
Brought to you by:
bonniot
From: <ar...@us...> - 2004-02-26 13:05:33
|
Update of /cvsroot/nice/Nice/src/bossa/syntax In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19206/F:/nice/src/bossa/syntax Modified Files: RetypedJavaMethod.java Log Message: Removed return type check of retypings because of bug #904832. Index: RetypedJavaMethod.java =================================================================== RCS file: /cvsroot/nice/Nice/src/bossa/syntax/RetypedJavaMethod.java,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** RetypedJavaMethod.java 24 Feb 2004 14:05:47 -0000 1.14 --- RetypedJavaMethod.java 26 Feb 2004 12:57:24 -0000 1.15 *************** *** 187,198 **** //reflectMethod.return_type = javaRetType; - if (! reflectMethod.isConstructor() && - ! reflectMethod.return_type.getName().equals(javaRetType.getName())) - User.error(retTypeString, - "Method " + methodName + - " has not the indicated return type." + - "\nIndicated: " + javaRetType.getName() + - "\nFound : " + reflectMethod.return_type.getName()); - if (reflectMethod.isConstructor()) { --- 187,190 ---- |