From d49972fdc91e7e00ab1c03f7fe31441483604078 Mon Sep 17 00:00:00 2001 From: tdurieux Date: Tue, 7 Mar 2017 13:23:11 +0100 Subject: [PATCH] fixed files form Closure #63 --- .../google/javascript/jscomp/LightweightMessageFormatter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/Closure/63/com/google/javascript/jscomp/LightweightMessageFormatter.java b/projects/Closure/63/com/google/javascript/jscomp/LightweightMessageFormatter.java index 5a4f884..420dbc0 100644 --- a/projects/Closure/63/com/google/javascript/jscomp/LightweightMessageFormatter.java +++ b/projects/Closure/63/com/google/javascript/jscomp/LightweightMessageFormatter.java @@ -95,7 +95,7 @@ private String format(JSError error, boolean warning) { // charno == sourceExpert.length() means something is missing // at the end of the line if (excerpt.equals(LINE) - && 0 <= charno && charno < sourceExcerpt.length()) { + && 0 <= charno && charno <= sourceExcerpt.length()) { for (int i = 0; i < charno; i++) { char c = sourceExcerpt.charAt(i); if (Character.isWhitespace(c)) {