diff --git a/pom.xml b/pom.xml
index 33e22cd7..71038ebf 100644
--- a/pom.xml
+++ b/pom.xml
@@ -58,7 +58,7 @@
2.0.16
9.7.0
9.11.1
- 2.13
+ 2.25
3.2.7
3.11.1
3.6.0
@@ -168,7 +168,7 @@
- com.coveo
+ com.spotify.fmt
fmt-maven-plugin
${version.fmt-maven-plugin}
diff --git a/src/main/java/com/github/dbmdz/solrocr/formats/miniocr/MiniOcrFormat.java b/src/main/java/com/github/dbmdz/solrocr/formats/miniocr/MiniOcrFormat.java
index 581ea5e6..d60a01d9 100644
--- a/src/main/java/com/github/dbmdz/solrocr/formats/miniocr/MiniOcrFormat.java
+++ b/src/main/java/com/github/dbmdz/solrocr/formats/miniocr/MiniOcrFormat.java
@@ -16,8 +16,7 @@
import javax.xml.stream.XMLStreamException;
public class MiniOcrFormat implements OcrFormat {
- private static final Pattern pageIdPat =
- Pattern.compile("(?:xml)?:id=[\"'](?.+?)[\"']");
+ private static final Pattern pageIdPat = Pattern.compile("(?:xml)?:id=[\"'](?.+?)[\"']");
private static final Pattern pageDimPat =
Pattern.compile("wh=[\"'](?\\d+) (?\\d+)[\"']");
private static final Map blockTagMapping =
diff --git a/src/main/java/com/github/dbmdz/solrocr/lucene/filters/SanitizingXmlFilter.java b/src/main/java/com/github/dbmdz/solrocr/lucene/filters/SanitizingXmlFilter.java
index e588d2d9..5dd50b6e 100644
--- a/src/main/java/com/github/dbmdz/solrocr/lucene/filters/SanitizingXmlFilter.java
+++ b/src/main/java/com/github/dbmdz/solrocr/lucene/filters/SanitizingXmlFilter.java
@@ -41,6 +41,7 @@ public class SanitizingXmlFilter extends BaseCharFilter implements SourceAwareRe
* stored in the instance state.
*/
private char[] closingTagsTrailer = null;
+
/** Tracks how much of the trailer has already been written during previous `read` calls. */
private int closingTagsTrailerIdx = -1;
diff --git a/src/main/java/com/github/dbmdz/solrocr/reader/BaseSourceReader.java b/src/main/java/com/github/dbmdz/solrocr/reader/BaseSourceReader.java
index f93b3eea..9e819cab 100644
--- a/src/main/java/com/github/dbmdz/solrocr/reader/BaseSourceReader.java
+++ b/src/main/java/com/github/dbmdz/solrocr/reader/BaseSourceReader.java
@@ -24,6 +24,7 @@ public abstract class BaseSourceReader implements SourceReader {
* BaseSourceReader#maxCacheEntries} slots will ever be non-null
*/
CachedSection[] cache;
+
/**
* Array of length {@link BaseSourceReader#maxCacheEntries} with the indexes of the sections that
* are currently cached
diff --git a/src/main/java/com/github/dbmdz/solrocr/reader/StreamDecoder.java b/src/main/java/com/github/dbmdz/solrocr/reader/StreamDecoder.java
index a23f30cf..3ece8709 100644
--- a/src/main/java/com/github/dbmdz/solrocr/reader/StreamDecoder.java
+++ b/src/main/java/com/github/dbmdz/solrocr/reader/StreamDecoder.java
@@ -130,7 +130,7 @@ private int lockedRead0() throws IOException {
case 2:
leftoverChar = cb[1];
haveLeftoverChar = true;
- // FALL THROUGH
+ // FALL THROUGH
case 1:
return cb[0];
default: