Skip to content

java(test): avoid deprecation warning#20623

Merged
opencv-pushbot merged 1 commit intoopencv:3.4from
alalek:fix_java_byte
Aug 28, 2021
Merged

java(test): avoid deprecation warning#20623
opencv-pushbot merged 1 commit intoopencv:3.4from
alalek:fix_java_byte

Conversation

@alalek
Copy link
Copy Markdown
Member

@alalek alalek commented Aug 28, 2021

  • 'new Byte' => 'Byte.valueOf'

Message looks like this:

      [javac] C:\build\precommit_opencl\build\java_test\src\org\opencv\test\utils\ConvertersTest.java:31: warning: [removal] Byte(byte) in Byte has been deprecated and marked for removal
      [javac]         truth.add(new Byte(value1));

- 'new Byte' => 'Byte.valueOf'
@opencv-pushbot opencv-pushbot merged commit da6aeac into opencv:3.4 Aug 28, 2021
@alalek alalek mentioned this pull request Aug 28, 2021
@alalek alalek mentioned this pull request Oct 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants