Juyeon Kim created ZEPPELIN-6276:
------------------------------------

             Summary: Replace Deprecated Number Constructors for Java 11
                 Key: ZEPPELIN-6276
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-6276
             Project: Zeppelin
          Issue Type: Test
            Reporter: Juyeon Kim


After upgrading to Java 11, replace deprecated boxed primitive constructors 
(deprecated since Java 9).

For Example:
{code:java}
// zeppelin/rlang/src/main/java/org/apache/zeppelin/r/ZeppelinR.java:52
private Integer rRequestNotifier = new Integer(0);

// 
zeppelin/zeppelin-zengine/src/main/java/org/apache/zeppelin/interpreter/remote/AppendOutputRunner.java:40
public static final Long BUFFER_TIME_MS = new Long(100);{code}

Replace usages of new Integer(...) and new Long(...) with Integer.valueOf(...) 
and Long.valueOf(...).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to