@@ -258,28 +258,28 @@ public void addListener(final FileAlterationListener listener) {
258258 */
259259 private void checkAndFire (final FileEntry parentEntry , final FileEntry [] previousEntries , final File [] currentEntries ) {
260260 int c = 0 ;
261- final FileEntry [] actualEntry = currentEntries .length > 0 ? new FileEntry [currentEntries .length ] : FileEntry .EMPTY_FILE_ENTRY_ARRAY ;
261+ final FileEntry [] actualEntries = currentEntries .length > 0 ? new FileEntry [currentEntries .length ] : FileEntry .EMPTY_FILE_ENTRY_ARRAY ;
262262 for (final FileEntry previousEntry : previousEntries ) {
263263 while (c < currentEntries .length && comparator .compare (previousEntry .getFile (), currentEntries [c ]) > 0 ) {
264- actualEntry [c ] = createFileEntry (parentEntry , currentEntries [c ]);
265- fireOnCreate (actualEntry [c ]);
264+ actualEntries [c ] = createFileEntry (parentEntry , currentEntries [c ]);
265+ fireOnCreate (actualEntries [c ]);
266266 c ++;
267267 }
268268 if (c < currentEntries .length && comparator .compare (previousEntry .getFile (), currentEntries [c ]) == 0 ) {
269269 fireOnChange (previousEntry , currentEntries [c ]);
270270 checkAndFire (previousEntry , previousEntry .getChildren (), listFiles (currentEntries [c ]));
271- actualEntry [c ] = previousEntry ;
271+ actualEntries [c ] = previousEntry ;
272272 c ++;
273273 } else {
274274 checkAndFire (previousEntry , previousEntry .getChildren (), FileUtils .EMPTY_FILE_ARRAY );
275275 fireOnDelete (previousEntry );
276276 }
277277 }
278278 for (; c < currentEntries .length ; c ++) {
279- actualEntry [c ] = createFileEntry (parentEntry , currentEntries [c ]);
280- fireOnCreate (actualEntry [c ]);
279+ actualEntries [c ] = createFileEntry (parentEntry , currentEntries [c ]);
280+ fireOnCreate (actualEntries [c ]);
281281 }
282- parentEntry .setChildren (actualEntry );
282+ parentEntry .setChildren (actualEntries );
283283 }
284284
285285 /**
0 commit comments