diff --git a/languagetool-core/src/main/java/org/languagetool/JLanguageTool.java b/languagetool-core/src/main/java/org/languagetool/JLanguageTool.java
index <HASH>..<HASH> 100644
--- a/languagetool-core/src/main/java/org/languagetool/JLanguageTool.java
+++ b/languagetool-core/src/main/java/org/languagetool/JLanguageTool.java
@@ -1826,7 +1826,7 @@ public class JLanguageTool {
       int low = 0;
       int high = sentences.size() - 1;
       while (low <= high) {
-        int mid = (low + high) >>> 1;
+        int mid = (low + high) / 2;
         SentenceData sentence = sentences.get(mid);
         if (sentence.startOffset < offset) low = mid + 1;
         else if (sentence.startOffset > offset) high = mid - 1;
binary search: make division by 2 more obvious