Skip to content

Commit 9778841

Browse files
authored
Update spring-without-boot.md
1 parent 52850dd commit 9778841

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

spring-without-boot.md

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -55,17 +55,7 @@ public static void main(String[] args) {
5555
new AnnotationConfigApplicationContext(
5656
SpringIn5StepsBasicApplication.class)) {
5757

58-
BinarySearchImpl binarySearch =
59-
applicationContext.getBean(BinarySearchImpl.class);
60-
61-
BinarySearchImpl binarySearch1 =
62-
applicationContext.getBean(BinarySearchImpl.class);
63-
64-
System.out.println(binarySearch);
65-
System.out.println(binarySearch1);
66-
67-
int result = binarySearch.binarySearch(new int[] { 12, 4, 6 }, 3);
68-
System.out.println(result);
58+
//rest of your code
6959
}
7060
}
7161
```

0 commit comments

Comments
 (0)