You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2021/04/01 09:47:45 UTC

[GitHub] [maven-resolver] cstamas edited a comment on pull request #77: [MRESOLVER-145] SyncContext implementations

cstamas edited a comment on pull request #77:
URL: https://github.com/apache/maven-resolver/pull/77#issuecomment-811791981


   General remark: my personal preference for local variables is to declare them as `T variable = new T()`, in cases when the variable is strictly local scoped. I really see no value in doing `Map aMap = new HashMap()` when the `aMap` is used in local scope only. Is not only more logical to me, but lessens import count as well (Map vs HashMap in example above).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org