On 24/04/2012 19:35, sebb wrote:
> On 24 April 2012 19:26, Mark Thomas <[email protected]> wrote:
>> On 24/04/2012 19:15, sebb wrote:
>>> On 24 April 2012 18:48,  <[email protected]> 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.

It does. I wasn't on the latest version so I am updating anyway.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to