Исправлены опечатки

This commit is contained in:
Victor 2016-02-13 21:59:44 +02:00
parent 135ecf8b7d
commit 53cfe5d1e1
4 changed files with 4 additions and 4 deletions

View File

@ -27,7 +27,7 @@ public final class functional_filter implements Function {
return filterMap((MapValue) container, consumer); return filterMap((MapValue) container, consumer);
} }
throw new TypeException("Invalid first argument. Array or map exprected"); throw new TypeException("Invalid first argument. Array or map expected");
} }
private Value filterArray(ArrayValue array, Function predicate) { private Value filterArray(ArrayValue array, Function predicate) {

View File

@ -31,6 +31,6 @@ public final class functional_foreach implements Function {
} }
return NumberValue.ZERO; return NumberValue.ZERO;
} }
throw new TypeException("Invalid first argument. Array or map exprected"); throw new TypeException("Invalid first argument. Array or map expected");
} }
} }

View File

@ -33,7 +33,7 @@ public final class functional_map implements Function {
return mapMap((MapValue) container, keyMapper, valueMapper); return mapMap((MapValue) container, keyMapper, valueMapper);
} }
throw new TypeException("Invalid first argument. Array or map exprected"); throw new TypeException("Invalid first argument. Array or map expected");
} }
private Value mapArray(ArrayValue array, Function mapper) { private Value mapArray(ArrayValue array, Function mapper) {

View File

@ -34,6 +34,6 @@ public final class functional_reduce implements Function {
} }
return result; return result;
} }
throw new TypeException("Invalid first argument. Array or map exprected"); throw new TypeException("Invalid first argument. Array or map expected");
} }
} }