[Clirr-devel] CVS: clirr/src/java/net/sf/clirr/event ApiDifference.java,1.12,1.13
Status: Alpha
Brought to you by:
lkuehne
From: Simon K. <s_k...@us...> - 2004-06-29 07:02:32
|
Update of /cvsroot/clirr/clirr/src/java/net/sf/clirr/event In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7875/event Modified Files: ApiDifference.java Log Message: Provide getter method for associated Message object. Index: ApiDifference.java =================================================================== RCS file: /cvsroot/clirr/clirr/src/java/net/sf/clirr/event/ApiDifference.java,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- ApiDifference.java 28 Jun 2004 06:53:00 -0000 1.12 +++ ApiDifference.java 29 Jun 2004 07:02:06 -0000 1.13 @@ -205,6 +205,17 @@ } /** + * Return the message object (if any) associated with this difference. + * <p> + * Checks which support the "new" message API will provide ApiDifference + * objects with non-null message objects. + */ + public Message getMessage() + { + return message; + } + + /** * The Severity of the API difference in terms of binary compatibility. * ERROR means that clients will definitely break, WARNING means that * clients may break, depending on how they use the library. |