RFR: 8246592: Simplify checking of boolean file attributes

Roger Riggs Roger.Riggs at oracle.com
Thu Jun 4 16:05:11 UTC 2020


Hi Claes,

The code looks ok but I would rename the new method to 'hasBooleanAttribute'
since it is not returning the attribute but testing for it.

I think you can leave the 'public' modifiers to a separate issue.

Regards, Roger




On 6/4/20 9:41 AM, Claes Redestad wrote:
>
>
> On 2020-06-04 15:26, Alan Bateman wrote:
>> On 04/06/2020 14:22, Roger Riggs wrote:
>>> Hi Claes,
>>>
>>> Not a review...
>>>
>>> You'll need a CSR for the API change.
>>>
>>> FileSystem.java: You'll need proper javadoc for the new 
>>> getBooleanAttribute method.
>> FileSystem is not a public class so it's not actually an API change. 
>> I agree the public modifier is confusing, should probably be dropped 
>> from all these methods.
>
> If you prefer I can strip out all the public modifiers. Or do that as a
> follow-up.
>
> /Claes



More information about the core-libs-dev mailing list