Commit 7573762
authored
[JAVA_API] Replace deprecated .finalize() method usage in Wrapper (#1007)
Resolve these warnings:
```
openvino_contrib/modules/java_api/src/main/java/org/intel/openvino/Wrapper.java:27: warning: [removal] finalize() in Object has been deprecated and marked for removal
protected void finalize() throws Throwable {
^
openvino_contrib/modules/java_api/src/main/java/org/intel/openvino/Wrapper.java:29: warning: [removal] finalize() in Object has been deprecated and marked for removal
super.finalize();
^
2 warnings
```1 parent c789481 commit 7573762
File tree
1 file changed
+7
-4
lines changed- modules/java_api/src/main/java/org/intel/openvino
1 file changed
+7
-4
lines changedLines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
| |||
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
27 | | - | |
28 | | - | |
29 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
30 | 33 | | |
31 | 34 | | |
32 | 35 | | |
| |||
0 commit comments