From c0c5e7d4cf632efeb3bea9f22797f4113d0c60e4 Mon Sep 17 00:00:00 2001 From: krahets Date: Fri, 17 Nov 2023 01:14:32 +0800 Subject: [PATCH 1/2] Test Java CI check --- codes/java/chapter_array_and_linkedlist/array.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codes/java/chapter_array_and_linkedlist/array.java b/codes/java/chapter_array_and_linkedlist/array.java index c0f73d0396..f36811e467 100644 --- a/codes/java/chapter_array_and_linkedlist/array.java +++ b/codes/java/chapter_array_and_linkedlist/array.java @@ -74,7 +74,7 @@ static int find(int[] nums, int target) { /* Driver Code */ public static void main(String[] args) { /* 初始化数组 */ - int[] arr = new int[5]; + int[] ar = new int[5]; System.out.println("数组 arr = " + Arrays.toString(arr)); int[] nums = { 1, 3, 2, 5, 4 }; System.out.println("数组 nums = " + Arrays.toString(nums)); From f3a62f42c67e4393f85a601b2fa63a30278cc94e Mon Sep 17 00:00:00 2001 From: Yudong Jin Date: Fri, 17 Nov 2023 01:16:00 +0800 Subject: [PATCH 2/2] Update array.java --- codes/java/chapter_array_and_linkedlist/array.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codes/java/chapter_array_and_linkedlist/array.java b/codes/java/chapter_array_and_linkedlist/array.java index f36811e467..c0f73d0396 100644 --- a/codes/java/chapter_array_and_linkedlist/array.java +++ b/codes/java/chapter_array_and_linkedlist/array.java @@ -74,7 +74,7 @@ static int find(int[] nums, int target) { /* Driver Code */ public static void main(String[] args) { /* 初始化数组 */ - int[] ar = new int[5]; + int[] arr = new int[5]; System.out.println("数组 arr = " + Arrays.toString(arr)); int[] nums = { 1, 3, 2, 5, 4 }; System.out.println("数组 nums = " + Arrays.toString(nums));