You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@olingo.apache.org by mi...@apache.org on 2015/09/08 18:39:30 UTC

[13/55] [abbrv] olingo-odata4 git commit: [OLINGO-659] Small debug output enhancement part2

[OLINGO-659] Small debug output enhancement part2


Project: http://git-wip-us.apache.org/repos/asf/olingo-odata4/repo
Commit: http://git-wip-us.apache.org/repos/asf/olingo-odata4/commit/d9558dfd
Tree: http://git-wip-us.apache.org/repos/asf/olingo-odata4/tree/d9558dfd
Diff: http://git-wip-us.apache.org/repos/asf/olingo-odata4/diff/d9558dfd

Branch: refs/heads/OLINGO-562_SpringExtension
Commit: d9558dfd8ba2f08b36afc0fcddc675068c7d7096
Parents: cc4e710
Author: Christian Amend <ch...@sap.com>
Authored: Wed Aug 26 10:40:54 2015 +0200
Committer: Christian Amend <ch...@sap.com>
Committed: Wed Aug 26 10:40:54 2015 +0200

----------------------------------------------------------------------
 .../olingo/server/core/debug/DebugTabUri.java   |  2 +-
 .../core/debug/ExpressionJsonVisitor.java       | 22 ++++++++++----------
 2 files changed, 12 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/d9558dfd/lib/server-core/src/main/java/org/apache/olingo/server/core/debug/DebugTabUri.java
----------------------------------------------------------------------
diff --git a/lib/server-core/src/main/java/org/apache/olingo/server/core/debug/DebugTabUri.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/debug/DebugTabUri.java
index fb2c5e0..716b65e 100644
--- a/lib/server-core/src/main/java/org/apache/olingo/server/core/debug/DebugTabUri.java
+++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/debug/DebugTabUri.java
@@ -205,7 +205,7 @@ public class DebugTabUri implements DebugTab {
     try {
       expressionJsonString = expression.accept(new ExpressionJsonVisitor());
     } catch (Exception e) {
-      expressionJsonString = "Exception in Debug Filter visitor occoured: " + e.getMessage();
+      expressionJsonString = "Exception in Debug Filter visitor occurred: " + e.getMessage();
     }
 
     gen.writeRawValue(expressionJsonString);

http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/d9558dfd/lib/server-core/src/main/java/org/apache/olingo/server/core/debug/ExpressionJsonVisitor.java
----------------------------------------------------------------------
diff --git a/lib/server-core/src/main/java/org/apache/olingo/server/core/debug/ExpressionJsonVisitor.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/debug/ExpressionJsonVisitor.java
index 5e130e9..b09a991 100644
--- a/lib/server-core/src/main/java/org/apache/olingo/server/core/debug/ExpressionJsonVisitor.java
+++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/debug/ExpressionJsonVisitor.java
@@ -65,7 +65,7 @@ public class ExpressionJsonVisitor implements ExpressionVisitor<String> {
   private static final String BINARY_NAME = "binary";
   private static final String LEFT_NODE_NAME = "left";
   private static final String RIGHT_NODE_NAME = "right";
-  private static final String IO_EXCEPTION_OCCOURED_MESSAGE = "IOException occoured";
+  private static final String IO_EXCEPTION_OCCURRED_MESSAGE = "IOException occurred";
   private static final String PARAMETERS_NAME = "parameters";
   private static final String METHOD_NAME = "method";
   private static final String OPERAND_NAME = "operand";
@@ -85,7 +85,7 @@ public class ExpressionJsonVisitor implements ExpressionVisitor<String> {
       writer.flush();
       return writer.toString();
     } catch (final IOException e) {
-      throw new ExpressionVisitException(IO_EXCEPTION_OCCOURED_MESSAGE, e);
+      throw new ExpressionVisitException(IO_EXCEPTION_OCCURRED_MESSAGE, e);
     }
   }
 
@@ -101,7 +101,7 @@ public class ExpressionJsonVisitor implements ExpressionVisitor<String> {
       writer.flush();
       return writer.toString();
     } catch (final IOException e) {
-      throw new ExpressionVisitException(IO_EXCEPTION_OCCOURED_MESSAGE, e);
+      throw new ExpressionVisitException(IO_EXCEPTION_OCCURRED_MESSAGE, e);
     }
   }
 
@@ -127,7 +127,7 @@ public class ExpressionJsonVisitor implements ExpressionVisitor<String> {
       writer.flush();
       return writer.toString();
     } catch (final IOException e) {
-      throw new ExpressionVisitException(IO_EXCEPTION_OCCOURED_MESSAGE, e);
+      throw new ExpressionVisitException(IO_EXCEPTION_OCCURRED_MESSAGE, e);
     }
   }
 
@@ -146,7 +146,7 @@ public class ExpressionJsonVisitor implements ExpressionVisitor<String> {
       writer.flush();
       return writer.toString();
     } catch (final IOException e) {
-      throw new ExpressionVisitException(IO_EXCEPTION_OCCOURED_MESSAGE, e);
+      throw new ExpressionVisitException(IO_EXCEPTION_OCCURRED_MESSAGE, e);
     }
   }
 
@@ -161,7 +161,7 @@ public class ExpressionJsonVisitor implements ExpressionVisitor<String> {
       writer.flush();
       return writer.toString();
     } catch (final IOException e) {
-      throw new ExpressionVisitException(IO_EXCEPTION_OCCOURED_MESSAGE);
+      throw new ExpressionVisitException(IO_EXCEPTION_OCCURRED_MESSAGE);
     }
   }
 
@@ -193,7 +193,7 @@ public class ExpressionJsonVisitor implements ExpressionVisitor<String> {
       writer.flush();
       return writer.toString();
     } catch (final IOException e) {
-      throw new ExpressionVisitException(IO_EXCEPTION_OCCOURED_MESSAGE, e);
+      throw new ExpressionVisitException(IO_EXCEPTION_OCCURRED_MESSAGE, e);
     }
   }
 
@@ -207,7 +207,7 @@ public class ExpressionJsonVisitor implements ExpressionVisitor<String> {
       writer.flush();
       return writer.toString();
     } catch (final IOException e) {
-      throw new ExpressionVisitException(IO_EXCEPTION_OCCOURED_MESSAGE, e);
+      throw new ExpressionVisitException(IO_EXCEPTION_OCCURRED_MESSAGE, e);
     }
   }
 
@@ -221,7 +221,7 @@ public class ExpressionJsonVisitor implements ExpressionVisitor<String> {
       writer.flush();
       return writer.toString();
     } catch (final IOException e) {
-      throw new ExpressionVisitException(IO_EXCEPTION_OCCOURED_MESSAGE, e);
+      throw new ExpressionVisitException(IO_EXCEPTION_OCCURRED_MESSAGE, e);
     }
   }
 
@@ -235,7 +235,7 @@ public class ExpressionJsonVisitor implements ExpressionVisitor<String> {
       writer.flush();
       return writer.toString();
     } catch (final IOException e) {
-      throw new ExpressionVisitException(IO_EXCEPTION_OCCOURED_MESSAGE, e);
+      throw new ExpressionVisitException(IO_EXCEPTION_OCCURRED_MESSAGE, e);
     }
   }
 
@@ -265,7 +265,7 @@ public class ExpressionJsonVisitor implements ExpressionVisitor<String> {
       writer.flush();
       return writer.toString();
     } catch (final IOException e) {
-      throw new ExpressionVisitException(IO_EXCEPTION_OCCOURED_MESSAGE, e);
+      throw new ExpressionVisitException(IO_EXCEPTION_OCCURRED_MESSAGE, e);
     }
   }