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)

Reply via email to