You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fineract.apache.org by "Robert Jakech (Jira)" <ji...@apache.org> on 2022/11/03 11:48:00 UTC

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

     [ https://issues.apache.org/jira/browse/FINERACT-1237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Jakech updated FINERACT-1237:
------------------------------------
    Labels: Roadmap2022  (was: )

> 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
>            Priority: Major
>              Labels: Roadmap2022
>
> 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.20.10#820010)