sqoop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jar...@apache.org
Subject git commit: SQOOP-1062: Misspell in "isVerboose()" method, it should be "isVerbose()
Date Sun, 02 Jun 2013 14:38:37 GMT
Updated Branches:
  refs/heads/sqoop2 c6f433228 -> 5d641ad6e


SQOOP-1062: Misspell in "isVerboose()" method, it should be "isVerbose()

(Mengwei Ding via Jarek Jarcec Cecho)


Project: http://git-wip-us.apache.org/repos/asf/sqoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/sqoop/commit/5d641ad6
Tree: http://git-wip-us.apache.org/repos/asf/sqoop/tree/5d641ad6
Diff: http://git-wip-us.apache.org/repos/asf/sqoop/diff/5d641ad6

Branch: refs/heads/sqoop2
Commit: 5d641ad6e3244828361a672968d7dd8d2a6ab768
Parents: c6f4332
Author: Jarek Jarcec Cecho <jarcec@apache.org>
Authored: Sun Jun 2 07:38:04 2013 -0700
Committer: Jarek Jarcec Cecho <jarcec@apache.org>
Committed: Sun Jun 2 07:38:04 2013 -0700

----------------------------------------------------------------------
 .../sqoop/client/shell/ShellEnvironment.java       |    2 +-
 .../sqoop/client/shell/ShowOptionFunction.java     |    2 +-
 .../sqoop/client/utils/SubmissionDisplayer.java    |    2 +-
 .../sqoop/client/utils/ThrowableDisplayer.java     |    4 ++--
 4 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sqoop/blob/5d641ad6/client/src/main/java/org/apache/sqoop/client/shell/ShellEnvironment.java
----------------------------------------------------------------------
diff --git a/client/src/main/java/org/apache/sqoop/client/shell/ShellEnvironment.java b/client/src/main/java/org/apache/sqoop/client/shell/ShellEnvironment.java
index f6d1267..5dbcef5 100644
--- a/client/src/main/java/org/apache/sqoop/client/shell/ShellEnvironment.java
+++ b/client/src/main/java/org/apache/sqoop/client/shell/ShellEnvironment.java
@@ -102,7 +102,7 @@ public final class ShellEnvironment {
     verbose = newValue;
   }
 
-  public static boolean isVerboose() {
+  public static boolean isVerbose() {
     return verbose;
   }
 

http://git-wip-us.apache.org/repos/asf/sqoop/blob/5d641ad6/client/src/main/java/org/apache/sqoop/client/shell/ShowOptionFunction.java
----------------------------------------------------------------------
diff --git a/client/src/main/java/org/apache/sqoop/client/shell/ShowOptionFunction.java b/client/src/main/java/org/apache/sqoop/client/shell/ShowOptionFunction.java
index 890ede1..246937c 100644
--- a/client/src/main/java/org/apache/sqoop/client/shell/ShowOptionFunction.java
+++ b/client/src/main/java/org/apache/sqoop/client/shell/ShowOptionFunction.java
@@ -71,6 +71,6 @@ public class ShowOptionFunction extends SqoopFunction {
    */
   private void printVerbose() {
     print("Verbose = ");
-    println(String.valueOf(isVerboose()));
+    println(String.valueOf(isVerbose()));
   }
 }

http://git-wip-us.apache.org/repos/asf/sqoop/blob/5d641ad6/client/src/main/java/org/apache/sqoop/client/utils/SubmissionDisplayer.java
----------------------------------------------------------------------
diff --git a/client/src/main/java/org/apache/sqoop/client/utils/SubmissionDisplayer.java b/client/src/main/java/org/apache/sqoop/client/utils/SubmissionDisplayer.java
index e789e21..530ac92 100644
--- a/client/src/main/java/org/apache/sqoop/client/utils/SubmissionDisplayer.java
+++ b/client/src/main/java/org/apache/sqoop/client/utils/SubmissionDisplayer.java
@@ -118,7 +118,7 @@ public final class SubmissionDisplayer {
         print("@|red Exception: |@");
         println(submission.getExceptionInfo());
 
-        if (isVerboose() && submission.getExceptionStackTrace() != null) {
+        if (isVerbose() && submission.getExceptionStackTrace() != null) {
           print("@|bold Stack trace: |@");
           println(submission.getExceptionStackTrace());
         }

http://git-wip-us.apache.org/repos/asf/sqoop/blob/5d641ad6/client/src/main/java/org/apache/sqoop/client/utils/ThrowableDisplayer.java
----------------------------------------------------------------------
diff --git a/client/src/main/java/org/apache/sqoop/client/utils/ThrowableDisplayer.java b/client/src/main/java/org/apache/sqoop/client/utils/ThrowableDisplayer.java
index 73aeb1f..8a34f34 100644
--- a/client/src/main/java/org/apache/sqoop/client/utils/ThrowableDisplayer.java
+++ b/client/src/main/java/org/apache/sqoop/client/utils/ThrowableDisplayer.java
@@ -46,12 +46,12 @@ public class ThrowableDisplayer {
     if(t instanceof SqoopException
       && ((SqoopException)t).getErrorCode() == ClientError.CLIENT_0006) {
       print("@|red Server has returned exception: |@");
-      printThrowable(t.getCause(), isVerboose());
+      printThrowable(t.getCause(), isVerbose());
     } else if(t.getClass() == MissingPropertyException.class) {
       print("@|red Unknown command: |@");
       println(t.getMessage());
     } else {
-      printThrowable(t, isVerboose());
+      printThrowable(t, isVerbose());
     }
   }
 


Mime
View raw message