From 32aa0721cf758985fd9591e371a77076d8a5cf72 Mon Sep 17 00:00:00 2001 From: Meno Hochschild Date: Sat, 29 Aug 2020 15:14:11 +0200 Subject: [PATCH] javadoc clarification --- .../net/time4j/android/spi/AndroidResourceLoader.java | 2 ++ .../java/net/time4j/format/expert/ChronoFormatter.java | 8 ++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/time4j-android/src/main/java/net/time4j/android/spi/AndroidResourceLoader.java b/time4j-android/src/main/java/net/time4j/android/spi/AndroidResourceLoader.java index afa6ccd..eab4314 100644 --- a/time4j-android/src/main/java/net/time4j/android/spi/AndroidResourceLoader.java +++ b/time4j-android/src/main/java/net/time4j/android/spi/AndroidResourceLoader.java @@ -186,6 +186,8 @@ public InputStream load( } } catch (IOException ioe) { return null; + } catch (RuntimeException re) { + return null; } } diff --git a/time4j-android/src/main/java/net/time4j/format/expert/ChronoFormatter.java b/time4j-android/src/main/java/net/time4j/format/expert/ChronoFormatter.java index 3dd8e8a..2176510 100644 --- a/time4j-android/src/main/java/net/time4j/format/expert/ChronoFormatter.java +++ b/time4j-android/src/main/java/net/time4j/format/expert/ChronoFormatter.java @@ -4916,7 +4916,9 @@ public Builder addIgnorableWhitespace() { /** *

Skips all characters from input as unparseable until at least given count of characters is left.

* - *

Note: This method is only relevant for parsing. During printing, this method does nothing.

+ *

Note: This method is only relevant for parsing. If the argument is zero then the method is equivalent + * to setting the format attribute {@code Attributes.TRAILING_CHARACTERS}. During printing, this method does + * nothing.

* * @param keepRemainingChars minimum count of characters which should be reserved for following steps * @return this instance for method chaining @@ -4929,7 +4931,9 @@ public Builder addIgnorableWhitespace() { *

Ignoriert alle Zeichen als nicht-interpretierbar, bis wenigstens die angegebene Anzahl von Zeichen * übrigbleibt.

* - *

Hinweis: Diese Methode ist nur beim Parsen relevant, in der Textausgabe macht die Methode nichts.

+ *

Hinweis: Diese Methode ist nur beim Parsen relevant. Wenn das Argument den Wert 0 hat, dann ist diese + * Methode äquivalent zum Setzen des Formatattributs {@code Attributes.TRAILING_CHARACTERS}. In der + * Textausgabe macht die Methode nichts.

* * @param keepRemainingChars minimum count of characters which should be reserved for following steps * @return this instance for method chaining