diff --git a/src/org/joni/OptMapInfo.java b/src/org/joni/OptMapInfo.java index 9d3574b7..02329b2b 100644 --- a/src/org/joni/OptMapInfo.java +++ b/src/org/joni/OptMapInfo.java @@ -21,6 +21,8 @@ import org.jcodings.CaseFoldCodeItem; import org.jcodings.Encoding; +import org.joni.exception.ErrorMessages; +import org.joni.exception.ValueException; final class OptMapInfo { @@ -61,7 +63,10 @@ void addCharAmb(byte[]bytes, int p, int end, Encoding enc, int caseFoldFlag) { byte[] buf = new byte[Config.ENC_CODE_TO_MBC_MAXLEN]; for (int i=0; i