From b1dc83a3a8ceef10cff1daa957320ac043fc03d8 Mon Sep 17 00:00:00 2001 From: emmanuel lecharny Date: Thu, 19 Dec 2024 09:46:31 +0100 Subject: [PATCH] Fixed some javadoc issues --- .../src/main/java/org/apache/mina/core/buffer/IoBuffer.java | 2 +- .../mina/core/buffer/matcher/WildcardClassNameMatcher.java | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/mina-core/src/main/java/org/apache/mina/core/buffer/IoBuffer.java b/mina-core/src/main/java/org/apache/mina/core/buffer/IoBuffer.java index e54125803..e3debdbd2 100644 --- a/mina-core/src/main/java/org/apache/mina/core/buffer/IoBuffer.java +++ b/mina-core/src/main/java/org/apache/mina/core/buffer/IoBuffer.java @@ -133,7 +133,7 @@ * multiple {@link IoSession}s. Please note that the buffer derived from and its * derived buffers are not auto-expandable nor auto-shrinkable. Trying to call * {@link #setAutoExpand(boolean)} or {@link #setAutoShrink(boolean)} with - * true parameter will raise an {@link IllegalStateException}. + * true parameter will raise an {@link java.lang.IllegalStateException}. * *

Changing Buffer Allocation Policy

*

diff --git a/mina-core/src/main/java/org/apache/mina/core/buffer/matcher/WildcardClassNameMatcher.java b/mina-core/src/main/java/org/apache/mina/core/buffer/matcher/WildcardClassNameMatcher.java index 4732bdac5..1bfa94095 100644 --- a/mina-core/src/main/java/org/apache/mina/core/buffer/matcher/WildcardClassNameMatcher.java +++ b/mina-core/src/main/java/org/apache/mina/core/buffer/matcher/WildcardClassNameMatcher.java @@ -18,6 +18,8 @@ */ package org.apache.mina.core.buffer.matcher; +import org.apache.commons.io.FilenameUtils + /** * A {@link ClassNameMatcher} that uses simplified regular expressions * provided by {@link org.apache.commons.io.FilenameUtils#wildcardMatch(String, String) FilenameUtils.wildcardMatch} @@ -44,4 +46,4 @@ public WildcardClassNameMatcher(String pattern) { public boolean matches(String className) { return FilenameUtils.wildcardMatch(className, pattern, IOCase.SENSITIVE); } -} \ No newline at end of file +}