Skip to content

Commit

Permalink
Update spring-without-boot.md
Browse files Browse the repository at this point in the history
  • Loading branch information
iChicago authored Nov 19, 2018
1 parent 52850dd commit 9778841
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions spring-without-boot.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,17 +55,7 @@ public static void main(String[] args) {
new AnnotationConfigApplicationContext(
SpringIn5StepsBasicApplication.class)) {

BinarySearchImpl binarySearch =
applicationContext.getBean(BinarySearchImpl.class);

BinarySearchImpl binarySearch1 =
applicationContext.getBean(BinarySearchImpl.class);

System.out.println(binarySearch);
System.out.println(binarySearch1);

int result = binarySearch.binarySearch(new int[] { 12, 4, 6 }, 3);
System.out.println(result);
//rest of your code
}
}
```

0 comments on commit 9778841

Please sign in to comment.