On 24 April 2012 19:26, Mark Thomas <ma...@apache.org> wrote: > On 24/04/2012 19:15, sebb wrote: >> On 24 April 2012 18:48, <ma...@apache.org> wrote: >>> Author: markt >>> Date: Tue Apr 24 17:48:50 2012 >>> New Revision: 1329891 >>> >>> URL: http://svn.apache.org/viewvc?rev=1329891&view=rev >>> Log: >>> Fix an Eclipse warning >> >> I don't get that warning; but I do now get "Unnecessary >> @SuppressWarnings("unused")" >> >> Would the following work for you: >> >> @Test >> public void testJavaBeanInstantiation() { >> assertNotNull(new PoolUtils()); >> } > > Ah. This sounds like different Eclipse versions. Let me make sure I am > using the latest...
More likely different compiler settings. I assume the warning you are getting is because the new instance is not used. Adding the assert should fix that. > Mark > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org