From 57267a6ce4a5b1147d5ae0be214b7f63c106729b Mon Sep 17 00:00:00 2001 From: Dmitry Kryukov Date: Sun, 4 Aug 2024 13:18:55 +0300 Subject: [PATCH] =?UTF-8?q?TIKA-4290=20Attempt=20to=20fix=20error=20"Strin?= =?UTF-8?q?g.format()=20was=20called=20with=201=20arg=E2=80=A6=20(#1873)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit TIKA-4290: Attempt to fix error "String.format() was called with 1 arg, but expects none" --- .../onenote/fsshttpb/streamobj/StreamObjectHeaderEnd16bit.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/main/java/org/apache/tika/parser/microsoft/onenote/fsshttpb/streamobj/StreamObjectHeaderEnd16bit.java b/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/main/java/org/apache/tika/parser/microsoft/onenote/fsshttpb/streamobj/StreamObjectHeaderEnd16bit.java index 4822fce035..056f895c3f 100644 --- a/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/main/java/org/apache/tika/parser/microsoft/onenote/fsshttpb/streamobj/StreamObjectHeaderEnd16bit.java +++ b/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/main/java/org/apache/tika/parser/microsoft/onenote/fsshttpb/streamobj/StreamObjectHeaderEnd16bit.java @@ -40,7 +40,7 @@ public StreamObjectHeaderEnd16bit(int type) throws TikaException { this.type = StreamObjectTypeHeaderEnd.fromIntVal(type); if (this.type == null) { throw new TikaException(String.format(Locale.US, - "The type value RuntimeException is not defined for the stream object end 16-bit header", + "The type value %d is not defined for the stream object end 16-bit header", type)); }