twosigma / twosigma/beakerx

clean up java warnings

Open
#6,460 0 comments 0 reactions 0 assignees View on GitHub
Enhancement
Dominant language
Jupyter Notebook
Stars
2.9k
Forks
383
PR merge metrics
No merged PRs in 30d

Description

a number of bits of java code:
```
:base:compileTestJava/home/beakerx/kernel/base/src/test/java/com/twosigma/beakerx/chart/categoryplot/plotitem/CategoryAreasTest.java:63: warning: non-varargs call of varargs method with inexact argument type for last parameter;
categoryArea.setBase(Arrays.asList(array1));
^
cast to Object for a varargs call
cast to Object[] for a non-varargs call and to suppress this warning
/home/beakerx/kernel/base/src/test/java/com/twosigma/beakerx/chart/categoryplot/plotitem/CategoryBarsTest.java:64: warning: non-varargs call of varargs method with inexact argument type for last parameter;
categoryBars.setBase(Arrays.asList(array1));
^
cast to Object for a varargs call
cast to Object[] for a non-varargs call and to suppress this warning
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 warnings
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.