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 4fa27bcec..9f3d45f82 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(); } 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 f195dd93c..ddbcd57c7 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; } 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 d6beef0d2..99abfd870 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 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 140365ed5..dfb9a64b5 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 keyPredicates = info.getKeyPredicates(); assertEquals(name, keyPredicates.get(index).getName()); - assertEquals(refencedProperty, keyPredicates.get(index).getRefencedProperty()); + assertEquals(refencedProperty, keyPredicates.get(index).getReferencedProperty()); return this; }