Need bug id to remove the explicit type argument in test class

Langer, Christoph christoph.langer at sap.com
Wed Mar 4 12:23:23 UTC 2020


Hi Vipin,

it's a really tiny thing but here you go: https://bugs.openjdk.java.net/browse/JDK-8240524

In the change you'll also need to update the copyright year.

Maybe you find other places in these tests you want to update?

Best regards
Christoph


> -----Original Message-----
> From: core-libs-dev <core-libs-dev-bounces at openjdk.java.net> On Behalf
> Of Vipin Sharma
> Sent: Montag, 2. März 2020 20:34
> To: core-libs-dev at openjdk.java.net
> Subject: Need bug id to remove the explicit type argument in test class
> 
> Hi,
> 
> My OCA has been processed recently and I want to start Contributing to
> OpenJDK.
> 
> As a first fix, I would like to remove the explicit type argument in test
> class test/jdk/java/lang/Boolean/MakeBooleanComparable.java to fix one
> warning.
> 
> The first line given below is the existing code and the second line is what
> I am changing it to.
> 
> List<Boolean> list = new ArrayList<Boolean>();
> List<Boolean> list = new ArrayList<>();
> 
> If this is not too small change to start with, could you please help me to
> create a bug id against this so that I can create a patch and share.
> 
> Regards,
> Vipin


More information about the core-libs-dev mailing list