RFR: 2331: Improve review notes [v4]
Erik Joelsson
erikj at openjdk.org
Mon Aug 19 17:05:10 UTC 2024
On Fri, 9 Aug 2024 20:20:40 GMT, Erik Joelsson <erikj at openjdk.org> wrote:
>> Usually, making a minimally necessary change is good, and parsing end-user text is bad. In fact, I'd go to great lengths to avoid "stringly typed" code that operates on strings that are also subject to change.
>>
>> Here, I initially thought I might be violating some encapsulation boundary by bringing a dependency. Maybe I still am. If nothing else, it's not the first class imported from that package:
>>
>> import org.openjdk.skara.jcheck.JCheckConfiguration;
>> +import org.openjdk.skara.jcheck.TooFewReviewersIssue;
>
> I think it's ok to return the list of jcheck issues, but the variable name `issues` can be confusing as an `Issue` in the bots is usually some form of Jira Issue. I would recommend `jcheckIssues` to avoid confusion.
Could you rename the variable `issues` to something more descriptive?
-------------
PR Review Comment: https://git.openjdk.org/skara/pull/1679#discussion_r1722094927
More information about the skara-dev
mailing list