[Clirr-devel] CVS: clirr/src/java/net/sf/clirr/checks MethodSetCheck.java,1.16,1.17
Status: Alpha
Brought to you by:
lkuehne
From: Simon K. <s_k...@us...> - 2004-06-29 07:41:09
|
Update of /cvsroot/clirr/clirr/src/java/net/sf/clirr/checks In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14507/src/java/net/sf/clirr/checks Modified Files: MethodSetCheck.java Log Message: Minor change to comment Index: MethodSetCheck.java =================================================================== RCS file: /cvsroot/clirr/clirr/src/java/net/sf/clirr/checks/MethodSetCheck.java,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- MethodSetCheck.java 29 Jun 2004 07:01:25 -0000 1.16 +++ MethodSetCheck.java 29 Jun 2004 07:40:58 -0000 1.17 @@ -533,15 +533,15 @@ Type bReturnType = baselineMethod.getReturnType(); Type cReturnType = currentMethod.getReturnType(); - // TODO: Check assignability... + // TODO: Check assignability. If the new return type is + // assignable to the old type, then the code is source-code + // compatible even when binary-incompatible. if (!bReturnType.toString().equals(cReturnType.toString())) { fireDiff(MSG_METHOD_RETURNTYPE_CHANGED, Severity.ERROR, compatBaseline, baselineMethod, new String[] {cReturnType.toString()}); } - - } private void checkDeclaredExceptions( |