incubator-s4-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dfe...@apache.org
Subject git commit: S4-126: Remove duplicate log
Date Thu, 07 Mar 2013 10:35:35 GMT
Updated Branches:
  refs/heads/dev c8f070a1c -> 23ba4668c


S4-126: Remove duplicate log

Patch by Aimee Cheng


Project: http://git-wip-us.apache.org/repos/asf/incubator-s4/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-s4/commit/23ba4668
Tree: http://git-wip-us.apache.org/repos/asf/incubator-s4/tree/23ba4668
Diff: http://git-wip-us.apache.org/repos/asf/incubator-s4/diff/23ba4668

Branch: refs/heads/dev
Commit: 23ba4668c369256e26b1118b9ad19e3fd239151d
Parents: c8f070a
Author: Daniel Gómez Ferro <dferro@apache.org>
Authored: Thu Mar 7 11:28:53 2013 +0100
Committer: Daniel Gómez Ferro <dferro@apache.org>
Committed: Thu Mar 7 11:29:30 2013 +0100

----------------------------------------------------------------------
 .../main/java/org/apache/s4/tools/CreateApp.java   |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-s4/blob/23ba4668/subprojects/s4-tools/src/main/java/org/apache/s4/tools/CreateApp.java
----------------------------------------------------------------------
diff --git a/subprojects/s4-tools/src/main/java/org/apache/s4/tools/CreateApp.java b/subprojects/s4-tools/src/main/java/org/apache/s4/tools/CreateApp.java
index 3d09186..d15ce87 100644
--- a/subprojects/s4-tools/src/main/java/org/apache/s4/tools/CreateApp.java
+++ b/subprojects/s4-tools/src/main/java/org/apache/s4/tools/CreateApp.java
@@ -121,14 +121,12 @@ public class CreateApp extends S4ArgsBase {
             });
         } catch (Exception e) {
             logger.error("Could not create project due to [{}]. Please check your configuration.",
e.getMessage());
-            logger.error("Could not create project due to [{}]. Please check your configuration.",
e.getMessage());
         }
     }
 
     private static void createDir(CreateAppArgs appArgs, String dirName) throws Exception
{
         String filePath = appArgs.getAppDir() + dirName;
         if (!new File(filePath).mkdirs()) {
-            logger.error("Cannot create directory [{}], exiting.", filePath);
             throw new Exception("Cannot create directory [" + filePath + "]");
         }
     }


Mime
View raw message