From 79b8454186506396e017ac373bf7b423288ab962 Mon Sep 17 00:00:00 2001 From: Kbhredsox Date: Wed, 2 Dec 2015 19:05:48 -0500 Subject: [PATCH] Update ITFWriter.java Fixed spelling of text within "invalid input" exception. --- core/src/main/java/com/google/zxing/oned/ITFWriter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/com/google/zxing/oned/ITFWriter.java b/core/src/main/java/com/google/zxing/oned/ITFWriter.java index 3ce020775..a33d6896c 100644 --- a/core/src/main/java/com/google/zxing/oned/ITFWriter.java +++ b/core/src/main/java/com/google/zxing/oned/ITFWriter.java @@ -50,7 +50,7 @@ public final class ITFWriter extends OneDimensionalCodeWriter { public boolean[] encode(String contents) { int length = contents.length(); if (length % 2 != 0) { - throw new IllegalArgumentException("The lenght of the input should be even"); + throw new IllegalArgumentException("The length of the input should be even"); } if (length > 80) { throw new IllegalArgumentException( @@ -73,4 +73,4 @@ public final class ITFWriter extends OneDimensionalCodeWriter { return result; } -} \ No newline at end of file +}