[OLINGO-342] Fixed typos in interfaces
This commit is contained in:
parent
cc0d1a0e7c
commit
1d31f596a8
|
@ -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();
|
||||
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue