Small refactoring of the webservices/compbio/ws/server/SetExecutableFlag.java class
authorSasha <Main-laptop2>
Sat, 27 Jul 2013 08:19:01 +0000 (09:19 +0100)
committerSasha <Main-laptop2>
Sat, 27 Jul 2013 08:19:01 +0000 (09:19 +0100)
webservices/compbio/ws/server/SetExecutableFlag.java

index dea7cbe..9cc4dce 100644 (file)
@@ -58,15 +58,14 @@ public class SetExecutableFlag implements ServletContextListener {
                // Run only one once if not on Windows\r
                if (!SysPrefs.isWindows && !isExec) {\r
 \r
-                       // verify script exist\r
+                       // verify script exists\r
                        File scriptFile = new File(workDir, script);\r
                        if (!scriptFile.exists()) {\r
-                               log.debug("Setexecflag.sh script is NOT found in "\r
-                                               + scriptFile.getAbsolutePath());\r
+                               log.debug("setexecflag.sh script is not found in " + scriptFile.getAbsolutePath());\r
                                return;\r
                        } else {\r
                                scriptFile.setExecutable(true);\r
-                               log.debug("Setexecflag.sh script is found");\r
+                               log.debug("setexecflag.sh script is found");\r
                        }\r
 \r
                        try {\r