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:17:00 UTC

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

Laszlo Attila Toth created TEZ-4385:
---------------------------------------

             Summary: 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


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.

 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)