Skip to content

Commit 82d6e91

Browse files
minor update
1 parent 98ac1a4 commit 82d6e91

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/spring_JSR_250_annotations/MainApp.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**Following is the content of the MainApp.java file. Here you
44
* need to register a shutdown hook registerShutdownHook() method that
55
* is declared on the AbstractApplicationContext class.
6-
* This will ensures a graceful shutdown and calls the relevant destroy methods.*/
6+
* This will ensure a graceful shutdown and call the relevant destroy methods.*/
77

88
import org.springframework.context.support.AbstractApplicationContext;
99
import org.springframework.context.support.ClassPathXmlApplicationContext;
@@ -12,7 +12,7 @@ public class MainApp {
1212
public static void main(String[] args) {
1313

1414
AbstractApplicationContext context = new ClassPathXmlApplicationContext(
15-
"Beans.xml");
15+
"beans.xml");
1616

1717
HelloWorld obj = (HelloWorld) context.getBean("helloWorld");
1818
obj.getMessage();
File renamed without changes.

0 commit comments

Comments
 (0)