You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by sa...@apache.org on 2016/08/23 01:37:32 UTC
[2/2] lucene-solr:branch_6x: update JDK bug link
update JDK bug link
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/f5c54e90
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/f5c54e90
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/f5c54e90
Branch: refs/heads/branch_6x
Commit: f5c54e900c1bef4478ccaa8bca9505241e1a18b9
Parents: b77cf84
Author: Steve Rowe <sa...@apache.org>
Authored: Mon Aug 22 21:36:57 2016 -0400
Committer: Steve Rowe <sa...@apache.org>
Committed: Mon Aug 22 21:37:18 2016 -0400
----------------------------------------------------------------------
.../search/postingshighlight/CustomSeparatorBreakIterator.java | 4 ++--
.../lucene/search/postingshighlight/WholeBreakIterator.java | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/f5c54e90/lucene/highlighter/src/java/org/apache/lucene/search/postingshighlight/CustomSeparatorBreakIterator.java
----------------------------------------------------------------------
diff --git a/lucene/highlighter/src/java/org/apache/lucene/search/postingshighlight/CustomSeparatorBreakIterator.java b/lucene/highlighter/src/java/org/apache/lucene/search/postingshighlight/CustomSeparatorBreakIterator.java
index 6519017..9a4c461 100644
--- a/lucene/highlighter/src/java/org/apache/lucene/search/postingshighlight/CustomSeparatorBreakIterator.java
+++ b/lucene/highlighter/src/java/org/apache/lucene/search/postingshighlight/CustomSeparatorBreakIterator.java
@@ -75,7 +75,7 @@ public final class CustomSeparatorBreakIterator extends BreakIterator {
throw new IllegalArgumentException("offset out of bounds");
} else if (pos == text.getEndIndex()) {
// this conflicts with the javadocs, but matches actual behavior (Oracle has a bug in something)
- // http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=9000909
+ // https://bugs.openjdk.java.net/browse/JDK-8015110
text.setIndex(text.getEndIndex());
current = text.getIndex();
return DONE;
@@ -112,7 +112,7 @@ public final class CustomSeparatorBreakIterator extends BreakIterator {
throw new IllegalArgumentException("offset out of bounds");
} else if (pos == text.getBeginIndex()) {
// this conflicts with the javadocs, but matches actual behavior (Oracle has a bug in something)
- // http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=9000909
+ // https://bugs.openjdk.java.net/browse/JDK-8015110
text.setIndex(text.getBeginIndex());
current = text.getIndex();
return DONE;
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/f5c54e90/lucene/highlighter/src/java/org/apache/lucene/search/postingshighlight/WholeBreakIterator.java
----------------------------------------------------------------------
diff --git a/lucene/highlighter/src/java/org/apache/lucene/search/postingshighlight/WholeBreakIterator.java b/lucene/highlighter/src/java/org/apache/lucene/search/postingshighlight/WholeBreakIterator.java
index 851dcf3..7f5ba6a 100644
--- a/lucene/highlighter/src/java/org/apache/lucene/search/postingshighlight/WholeBreakIterator.java
+++ b/lucene/highlighter/src/java/org/apache/lucene/search/postingshighlight/WholeBreakIterator.java
@@ -42,7 +42,7 @@ public final class WholeBreakIterator extends BreakIterator {
throw new IllegalArgumentException("offset out of bounds");
} else if (pos == end) {
// this conflicts with the javadocs, but matches actual behavior (Oracle has a bug in something)
- // http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=9000909
+ // https://bugs.openjdk.java.net/browse/JDK-8015110
current = end;
return DONE;
} else {
@@ -89,7 +89,7 @@ public final class WholeBreakIterator extends BreakIterator {
throw new IllegalArgumentException("offset out of bounds");
} else if (pos == start) {
// this conflicts with the javadocs, but matches actual behavior (Oracle has a bug in something)
- // http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=9000909
+ // https://bugs.openjdk.java.net/browse/JDK-8015110
current = start;
return DONE;
} else {