Skip to content
Snippets Groups Projects
Commit d251b9ad authored by brinn's avatar brinn
Browse files

minor: formatting

SVN: 1562
parent 36c1da6a
No related branches found
No related tags found
No related merge requests found
...@@ -92,7 +92,9 @@ public class LocalProcessorHandler implements IPathHandler ...@@ -92,7 +92,9 @@ public class LocalProcessorHandler implements IPathHandler
{ {
File[] files = FileSystemHelper.listFiles(tempDir); File[] files = FileSystemHelper.listFiles(tempDir);
if (files == null || files.length == 0) if (files == null || files.length == 0)
{
return; // directory is empty, no recovery is needed return; // directory is empty, no recovery is needed
}
for (int i = 0; i < files.length; i++) for (int i = 0; i < files.length; i++)
{ {
...@@ -122,7 +124,9 @@ public class LocalProcessorHandler implements IPathHandler ...@@ -122,7 +124,9 @@ public class LocalProcessorHandler implements IPathHandler
{ {
File[] files = FileSystemHelper.listFiles(outputDir); File[] files = FileSystemHelper.listFiles(outputDir);
if (files == null || files.length == 0) if (files == null || files.length == 0)
{
return; // directory is empty, no recovery is needed return; // directory is empty, no recovery is needed
}
for (int i = 0; i < files.length; i++) for (int i = 0; i < files.length; i++)
{ {
...@@ -136,7 +140,9 @@ public class LocalProcessorHandler implements IPathHandler ...@@ -136,7 +140,9 @@ public class LocalProcessorHandler implements IPathHandler
{ {
Boolean result = tryMoveManualOrClean(path); Boolean result = tryMoveManualOrClean(path);
if (result != null) if (result != null)
{
return result.booleanValue(); // stop processing return result.booleanValue(); // stop processing
}
boolean ok = true; boolean ok = true;
File extraTmpCopy = null; File extraTmpCopy = null;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment