[
https://issues.apache.org/jira/browse/TEZ-4385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Laszlo Attila Toth updated TEZ-4385:
------------------------------------
Description:
Since TEZ-3745 Java 8 is required, so it's safe to use its features. Also some
Java-specific things, like:
* default value for a type (everything is initialized to null, 0, etc.)
* type deduction e.g. in generics
* lambdas for anonymous classes
Others:
* use assertEquals instead of assertTrue(a == b), etc.
The scope is too wide, so I would restrict this to the touched files in (my)
other tickets (TEZ-4383, etc.)
was:
Since TEZ-3745 Java 8 is required, so it's safe to use its features. Also some
Java-specific things, like:
* default value for a type (everything is initialized to null, 0, etc.)
* type deduction e.g. in generics
* lambdas for anonymous classes
Others:
* use assertEquals instead of assertTrue(a == b), etc.
> Update touched files to use Java 8 features
> -------------------------------------------
>
> Key: TEZ-4385
> URL: https://issues.apache.org/jira/browse/TEZ-4385
> Project: Apache Tez
> Issue Type: Bug
> Reporter: Laszlo Attila Toth
> Priority: Major
>
> Since TEZ-3745 Java 8 is required, so it's safe to use its features. Also
> some Java-specific things, like:
> * default value for a type (everything is initialized to null, 0, etc.)
> * type deduction e.g. in generics
> * lambdas for anonymous classes
> Others:
> * use assertEquals instead of assertTrue(a == b), etc.
> The scope is too wide, so I would restrict this to the touched files in (my)
> other tickets (TEZ-4383, etc.)
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)