You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fineract.apache.org by "Michael Vorburger (Jira)" <ji...@apache.org> on 2020/10/21 15:12:00 UTC

[jira] [Created] (FINERACT-1237) var: Bulk change all existing code to use Java 10+ local variable type inference

Michael Vorburger created FINERACT-1237:
-------------------------------------------

             Summary: var: Bulk change all existing code to use Java 10+ local variable type inference
                 Key: FINERACT-1237
                 URL: https://issues.apache.org/jira/browse/FINERACT-1237
             Project: Apache Fineract
          Issue Type: New Feature
            Reporter: Michael Vorburger


Java 10+ introduced the {{var}} keyword for local variable type inference.

I'm assuming it's OK to use it in new Fineract code - everyone agrees?

The question is whether we should change bulk change all existing code to use it.

If yes, the question is how to do this once time. In Eclipse there is _Preferences > Save Actions > Additional Save Actions > Missing Code > Use local variable type inference (Java 10 or higher),_ which can do this for any file we edit - but that makes code reviews unnecessarily harder... need to check if there is a way to do this one time in bulk instead.

An IntelliJ user instead of Eclipse may have another tool to do this more easily once time?

[~ptuomola] chime in here - this came out of your (absolutely justified!) feedback on my https://github.com/apache/fineract/pull/1456/files.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)