This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-io.git

commit 66d21a0a46c7b36ff7b1663da19605baeca08601
Author: Gary Gregory <[email protected]>
AuthorDate: Thu Jan 23 09:54:22 2025 -0500

    Fix code examples
---
 src/site/xdoc/description.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/site/xdoc/description.xml b/src/site/xdoc/description.xml
index 8fc9d075e..6e8b972ba 100644
--- a/src/site/xdoc/description.xml
+++ b/src/site/xdoc/description.xml
@@ -247,7 +247,7 @@ limitations under the License.
                 ValidatingObjectInputStream vois = 
ValidatingObjectInputStream.builder().setInputStream(bais).get()) {
             // String.class is automatically accepted
             vois.accept(HashMap.class, Number.class, Integer.class);
-            final HashMap&lt;String, Integer&lt; map2 = (HashMap&lt;String, 
Integer&gt;) vois.readObject();
+            final HashMap&lt;String, Integer&gt; map2 = (HashMap&lt;String, 
Integer&gt;) vois.readObject();
             assertEquals(map1, map2);
         }
         // Reusing a configuration
@@ -259,7 +259,7 @@ limitations under the License.
                         .setInputStream(bais)
                         .get()) {
             // String.class is automatically accepted
-            final HashMap&lt;String, Integer&lt; map2 = (HashMap&lt;String, 
Integer&lt;) vois.readObject();
+            final HashMap&lt;String, Integer&gt; map2 = (HashMap&lt;String, 
Integer&gt;) vois.readObject();
             assertEquals(map1, map2);
         }
       </source>

Reply via email to