Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 86a8886

Browse files
fix build
1 parent 3574b2f commit 86a8886

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/main/java/com/fishercoder/common/utils/CommonUtils.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,18 @@ public static <T> void printArray_generic_type(T[] nums) {
2121
System.out.println();
2222
}
2323

24+
public static void main(String... strings) {
25+
Integer[] nums = new Integer[]{1, 2, 3, 4, 5};
26+
printArray_generic_type(nums);
27+
}
28+
2429
public static void printArray(boolean[] booleans) {
2530
for (boolean i : booleans) {
2631
System.out.print(i + ", ");
2732
}
2833
System.out.println();
2934
}
3035

31-
public static void main(String... strings) {
32-
Integer[] nums = new Integer[]{1, 2, 3, 4, 5};
33-
printArray_generic_type(nums);
34-
}
35-
3636
public static void printArray(int[] nums) {
3737
for (int i : nums) {
3838
System.out.print(i + ", ");

0 commit comments

Comments
 (0)