You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Laszlo Attila Toth (Jira)" <ji...@apache.org> on 2022/02/07 17:20:00 UTC

[jira] [Updated] (TEZ-4385) Update touched files to use Java 8 features

     [ 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)