@@ -65,7 +65,7 @@ public final class FileLoggerModuleTest {
6565 public void testFileMessage () throws IOException {
6666
6767 /* Get singletong instance of File Logger Module */
68- final FileLoggerModule fileLoggerModule = FileLoggerModule .getSingleton ();
68+ final var fileLoggerModule = FileLoggerModule .getSingleton ();
6969
7070 /* Prepare the essential sub modules, to perform the sequence of jobs */
7171 fileLoggerModule .prepare ();
@@ -89,7 +89,7 @@ public void testFileMessage() throws IOException {
8989 public void testNoFileMessage () throws IOException {
9090
9191 /* Get singletong instance of File Logger Module */
92- final FileLoggerModule fileLoggerModule = FileLoggerModule .getSingleton ();
92+ final var fileLoggerModule = FileLoggerModule .getSingleton ();
9393
9494 /* Prepare the essential sub modules, to perform the sequence of jobs */
9595 fileLoggerModule .prepare ();
@@ -111,7 +111,7 @@ public void testNoFileMessage() throws IOException {
111111 public void testFileErrorMessage () throws FileNotFoundException {
112112
113113 /* Get singletong instance of File Logger Module */
114- final FileLoggerModule fileLoggerModule = FileLoggerModule .getSingleton ();
114+ final var fileLoggerModule = FileLoggerModule .getSingleton ();
115115
116116 /* Prepare the essential sub modules, to perform the sequence of jobs */
117117 fileLoggerModule .prepare ();
@@ -136,7 +136,7 @@ public void testFileErrorMessage() throws FileNotFoundException {
136136 public void testNoFileErrorMessage () throws FileNotFoundException {
137137
138138 /* Get singletong instance of File Logger Module */
139- final FileLoggerModule fileLoggerModule = FileLoggerModule .getSingleton ();
139+ final var fileLoggerModule = FileLoggerModule .getSingleton ();
140140
141141 /* Prepare the essential sub modules, to perform the sequence of jobs */
142142 fileLoggerModule .prepare ();
@@ -157,7 +157,7 @@ public void testNoFileErrorMessage() throws FileNotFoundException {
157157 private static final String readFirstLine (final String file ) {
158158
159159 String firstLine = null ;
160- try (BufferedReader bufferedReader = new BufferedReader (new FileReader (file ))) {
160+ try (var bufferedReader = new BufferedReader (new FileReader (file ))) {
161161
162162 while (bufferedReader .ready ()) {
163163
0 commit comments