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 2014/07/08 14:59:16 UTC

[2/2] git commit: [OLINGO-342] Fixed typos in interfaces

[OLINGO-342] Fixed typos in interfaces


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

Branch: refs/heads/master
Commit: 1d31f596a88d20b546f48d5df99636009c592ba4
Parents: cc0d1a0
Author: Michael Bolz <mi...@sap.com>
Authored: Tue Jul 8 14:54:10 2014 +0200
Committer: Michael Bolz <mi...@sap.com>
Committed: Tue Jul 8 14:54:10 2014 +0200

----------------------------------------------------------------------
 .../main/java/org/apache/olingo/server/api/uri/UriParameter.java | 4 ++--
 .../java/org/apache/olingo/server/core/uri/UriParameterImpl.java | 4 ++--
 .../org/apache/olingo/server/core/uri/UriResourceImplTest.java   | 2 +-
 .../olingo/server/core/uri/testutil/ResourceValidator.java       | 4 ++--
 4 files changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/1d31f596/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriParameter.java
----------------------------------------------------------------------
diff --git a/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriParameter.java b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriParameter.java
index 4fa27bc..9f3d45f 100644
--- a/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriParameter.java
+++ b/lib/server-api/src/main/java/org/apache/olingo/server/api/uri/UriParameter.java
@@ -38,7 +38,7 @@ public interface UriParameter {
   /**
    * @return If the parameters value is a expression and expression is returned, otherwise null
    */
-  public Expression getExression();
+  public Expression getExpression();
 
   /**
    * @return Name of the parameter
@@ -48,6 +48,6 @@ public interface UriParameter {
   /**
    * @return Name of the referenced property when referential constrains are used
    */
-  public String getRefencedProperty();
+  public String getReferencedProperty();
 
 }

http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/1d31f596/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriParameterImpl.java
----------------------------------------------------------------------
diff --git a/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriParameterImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriParameterImpl.java
index f195dd9..ddbcd57 100644
--- a/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriParameterImpl.java
+++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriParameterImpl.java
@@ -60,7 +60,7 @@ public class UriParameterImpl implements UriParameter {
   }
 
   @Override
-  public Expression getExression() {
+  public Expression getExpression() {
     return expression;
   }
 
@@ -70,7 +70,7 @@ public class UriParameterImpl implements UriParameter {
   }
 
   @Override
-  public String getRefencedProperty() {
+  public String getReferencedProperty() {
     return referencedProperty;
   }
 

http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/1d31f596/lib/server-test/src/test/java/org/apache/olingo/server/core/uri/UriResourceImplTest.java
----------------------------------------------------------------------
diff --git a/lib/server-test/src/test/java/org/apache/olingo/server/core/uri/UriResourceImplTest.java b/lib/server-test/src/test/java/org/apache/olingo/server/core/uri/UriResourceImplTest.java
index d6beef0..99abfd8 100644
--- a/lib/server-test/src/test/java/org/apache/olingo/server/core/uri/UriResourceImplTest.java
+++ b/lib/server-test/src/test/java/org/apache/olingo/server/core/uri/UriResourceImplTest.java
@@ -66,7 +66,7 @@ public class UriResourceImplTest {
     assertEquals("Text", impl.getText());
     assertEquals("A", impl.getName());
     assertEquals("@A", impl.getAlias());
-    assertEquals(expression, impl.getExression());
+    assertEquals(expression, impl.getExpression());
   }
 
   @Test

http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/1d31f596/lib/server-test/src/test/java/org/apache/olingo/server/core/uri/testutil/ResourceValidator.java
----------------------------------------------------------------------
diff --git a/lib/server-test/src/test/java/org/apache/olingo/server/core/uri/testutil/ResourceValidator.java b/lib/server-test/src/test/java/org/apache/olingo/server/core/uri/testutil/ResourceValidator.java
index 140365e..dfb9a64 100644
--- a/lib/server-test/src/test/java/org/apache/olingo/server/core/uri/testutil/ResourceValidator.java
+++ b/lib/server-test/src/test/java/org/apache/olingo/server/core/uri/testutil/ResourceValidator.java
@@ -128,7 +128,7 @@ public class ResourceValidator implements TestValidator {
 
     return new FilterValidator()
         .setEdm(edm)
-        .setExpression(function.getParameters().get(index).getExression())
+        .setExpression(function.getParameters().get(index).getExpression())
         .setValidator(this);
   }
 
@@ -368,7 +368,7 @@ public class ResourceValidator implements TestValidator {
     UriResourceWithKeysImpl info = (UriResourceWithKeysImpl) uriPathInfo;
     List<UriParameter> keyPredicates = info.getKeyPredicates();
     assertEquals(name, keyPredicates.get(index).getName());
-    assertEquals(refencedProperty, keyPredicates.get(index).getRefencedProperty());
+    assertEquals(refencedProperty, keyPredicates.get(index).getReferencedProperty());
     return this;
 
   }