From 0ce5ab632102858c5a30980918b36e1ad7128f30 Mon Sep 17 00:00:00 2001
From: Sasha <Main-laptop2>
Date: Sat, 27 Jul 2013 09:19:01 +0100
Subject: [PATCH] Small refactoring of the
 webservices/compbio/ws/server/SetExecutableFlag.java class

---
 webservices/compbio/ws/server/SetExecutableFlag.java |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

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