[OLINGO-342] Fixed typos in interfaces

This commit is contained in:
Michael Bolz 2014-07-08 14:54:10 +02:00
parent cc0d1a0e7c
commit 1d31f596a8
4 changed files with 7 additions and 7 deletions

View File

@ -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();
}

View File

@ -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;
}

View File

@ -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

View File

@ -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;
}