Lines Matching defs:newEntry
235 private final void fixEntry(PatternEntry newEntry) throws ParseException
242 if (lastEntry != null && newEntry.chars.equals(lastEntry.chars)
243 && newEntry.extension.equals(lastEntry.extension)) {
244 if (newEntry.strength != Collator.IDENTICAL
245 && newEntry.strength != PatternEntry.RESET) {
247 + newEntry + " are adjacent in the rules, but have conflicting "
256 if (newEntry.strength != PatternEntry.RESET) {
259 if ((newEntry.chars.length() == 1)) {
261 char c = newEntry.chars.charAt(0);
267 oldIndex = patterns.lastIndexOf(newEntry);
274 oldIndex = patterns.lastIndexOf(newEntry);
284 newEntry.extension = excess + newEntry.extension;
291 patterns.add(newEntry);
292 saveEntry = newEntry;
294 patterns.add(lastIndex, newEntry);
298 lastEntry = newEntry;