mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-13 21:55:01 +07:00
'compare()' method can be used to compare primitives -> 'compare()' method can be used to compare numbers
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Fix all ''compare()' method can be used to compare primitives' problems in file" "true"
|
||||
// "Fix all ''compare()' method can be used to compare numbers' problems in file" "true"
|
||||
public class Test {
|
||||
public void test(String s1, String s2) {
|
||||
System.out.println(Integer.compare(s1.length(), s2.length()));
|
||||
|
||||
Reference in New Issue
Block a user