mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 20:42:52 +07:00
unused return value: report native methods (IDEA-90127)
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<problems>
|
||||
<problem>
|
||||
<file>Test.java</file>
|
||||
<line>2</line>
|
||||
<description>Return value of the method is never used</description>
|
||||
</problem>
|
||||
</problems>
|
||||
@@ -0,0 +1,7 @@
|
||||
class Test {
|
||||
private static native boolean isUnused();
|
||||
|
||||
public static void main(String[] args) {
|
||||
Test.isUnused();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user