Skip to content

Commit 53cfe5d

Browse files
committed
Исправлены опечатки
1 parent 135ecf8 commit 53cfe5d

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/com/annimon/ownlang/lib/modules/functions/functional_filter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public Value execute(Value... args) {
2727
return filterMap((MapValue) container, consumer);
2828
}
2929

30-
throw new TypeException("Invalid first argument. Array or map exprected");
30+
throw new TypeException("Invalid first argument. Array or map expected");
3131
}
3232

3333
private Value filterArray(ArrayValue array, Function predicate) {

src/com/annimon/ownlang/lib/modules/functions/functional_foreach.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ public Value execute(Value... args) {
3131
}
3232
return NumberValue.ZERO;
3333
}
34-
throw new TypeException("Invalid first argument. Array or map exprected");
34+
throw new TypeException("Invalid first argument. Array or map expected");
3535
}
3636
}

src/com/annimon/ownlang/lib/modules/functions/functional_map.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public Value execute(Value... args) {
3333
return mapMap((MapValue) container, keyMapper, valueMapper);
3434
}
3535

36-
throw new TypeException("Invalid first argument. Array or map exprected");
36+
throw new TypeException("Invalid first argument. Array or map expected");
3737
}
3838

3939
private Value mapArray(ArrayValue array, Function mapper) {

src/com/annimon/ownlang/lib/modules/functions/functional_reduce.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ public Value execute(Value... args) {
3434
}
3535
return result;
3636
}
37-
throw new TypeException("Invalid first argument. Array or map exprected");
37+
throw new TypeException("Invalid first argument. Array or map expected");
3838
}
3939
}

0 commit comments

Comments
 (0)