From 53cfe5d1e1eed284d10dda82fcfb3ffab213fac1 Mon Sep 17 00:00:00 2001 From: Victor Date: Sat, 13 Feb 2016 21:59:44 +0200 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D1=8B=20=D0=BE=D0=BF=D0=B5=D1=87=D0=B0=D1=82=D0=BA?= =?UTF-8?q?=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ownlang/lib/modules/functions/functional_filter.java | 2 +- .../ownlang/lib/modules/functions/functional_foreach.java | 2 +- .../annimon/ownlang/lib/modules/functions/functional_map.java | 2 +- .../ownlang/lib/modules/functions/functional_reduce.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/com/annimon/ownlang/lib/modules/functions/functional_filter.java b/src/com/annimon/ownlang/lib/modules/functions/functional_filter.java index 86ff481..ecefe41 100644 --- a/src/com/annimon/ownlang/lib/modules/functions/functional_filter.java +++ b/src/com/annimon/ownlang/lib/modules/functions/functional_filter.java @@ -27,7 +27,7 @@ public final class functional_filter implements Function { 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) { diff --git a/src/com/annimon/ownlang/lib/modules/functions/functional_foreach.java b/src/com/annimon/ownlang/lib/modules/functions/functional_foreach.java index 8bc26a0..37ce3ee 100644 --- a/src/com/annimon/ownlang/lib/modules/functions/functional_foreach.java +++ b/src/com/annimon/ownlang/lib/modules/functions/functional_foreach.java @@ -31,6 +31,6 @@ public final class functional_foreach implements Function { } return NumberValue.ZERO; } - throw new TypeException("Invalid first argument. Array or map exprected"); + throw new TypeException("Invalid first argument. Array or map expected"); } } \ No newline at end of file diff --git a/src/com/annimon/ownlang/lib/modules/functions/functional_map.java b/src/com/annimon/ownlang/lib/modules/functions/functional_map.java index 2c883ac..63497fa 100644 --- a/src/com/annimon/ownlang/lib/modules/functions/functional_map.java +++ b/src/com/annimon/ownlang/lib/modules/functions/functional_map.java @@ -33,7 +33,7 @@ public final class functional_map implements Function { 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) { diff --git a/src/com/annimon/ownlang/lib/modules/functions/functional_reduce.java b/src/com/annimon/ownlang/lib/modules/functions/functional_reduce.java index 781b3bd..2277686 100644 --- a/src/com/annimon/ownlang/lib/modules/functions/functional_reduce.java +++ b/src/com/annimon/ownlang/lib/modules/functions/functional_reduce.java @@ -34,6 +34,6 @@ public final class functional_reduce implements Function { } return result; } - throw new TypeException("Invalid first argument. Array or map exprected"); + throw new TypeException("Invalid first argument. Array or map expected"); } } \ No newline at end of file