From 2dbecb084333c31bd6beef4f907e2e494c0f7132 Mon Sep 17 00:00:00 2001 From: Joakim Erdfelt Date: Tue, 3 May 2016 11:23:10 -0700 Subject: [PATCH] Fixing broken javadoc --- .../org/eclipse/jetty/util/MultiPartInputStreamParser.java | 2 +- .../src/main/java/org/eclipse/jetty/util/Scanner.java | 6 +++--- .../main/java/org/eclipse/jetty/util/resource/Resource.java | 1 - .../org/eclipse/jetty/util/thread/ExecutionStrategy.java | 2 ++ .../src/test/java/org/eclipse/jetty/util/MultiMapTest.java | 4 ++-- 5 files changed, 8 insertions(+), 7 deletions(-) diff --git a/jetty-util/src/main/java/org/eclipse/jetty/util/MultiPartInputStreamParser.java b/jetty-util/src/main/java/org/eclipse/jetty/util/MultiPartInputStreamParser.java index bb4b0c50960..cecf895461c 100644 --- a/jetty-util/src/main/java/org/eclipse/jetty/util/MultiPartInputStreamParser.java +++ b/jetty-util/src/main/java/org/eclipse/jetty/util/MultiPartInputStreamParser.java @@ -452,7 +452,7 @@ public class MultiPartInputStreamParser /** * Throws an exception if one has been latched. * - * @throws IOException + * @throws IOException the exception (if present) */ protected void throwIfError () throws IOException diff --git a/jetty-util/src/main/java/org/eclipse/jetty/util/Scanner.java b/jetty-util/src/main/java/org/eclipse/jetty/util/Scanner.java index 5b08baa2b81..5c45dffc4d5 100644 --- a/jetty-util/src/main/java/org/eclipse/jetty/util/Scanner.java +++ b/jetty-util/src/main/java/org/eclipse/jetty/util/Scanner.java @@ -596,7 +596,7 @@ public class Scanner extends AbstractLifeCycle /** * Report a file addition to the registered FileAddedListeners - * @param filename + * @param filename the filename */ private void reportAddition (String filename) { @@ -623,7 +623,7 @@ public class Scanner extends AbstractLifeCycle /** * Report a file removal to the FileRemovedListeners - * @param filename + * @param filename the filename */ private void reportRemoval (String filename) { @@ -650,7 +650,7 @@ public class Scanner extends AbstractLifeCycle /** * Report a file change to the FileChangedListeners - * @param filename + * @param filename the filename */ private void reportChange (String filename) { diff --git a/jetty-util/src/main/java/org/eclipse/jetty/util/resource/Resource.java b/jetty-util/src/main/java/org/eclipse/jetty/util/resource/Resource.java index d0b8e155edd..f35a77d54bb 100644 --- a/jetty-util/src/main/java/org/eclipse/jetty/util/resource/Resource.java +++ b/jetty-util/src/main/java/org/eclipse/jetty/util/resource/Resource.java @@ -155,7 +155,6 @@ public abstract class Resource implements ResourceFactory, Closeable * @param useCaches controls URLConnection caching * @return A Resource object. * @throws MalformedURLException Problem accessing URI - * @throws IOException Problem handling resource as file. */ public static Resource newResource(String resource, boolean useCaches) throws MalformedURLException diff --git a/jetty-util/src/main/java/org/eclipse/jetty/util/thread/ExecutionStrategy.java b/jetty-util/src/main/java/org/eclipse/jetty/util/thread/ExecutionStrategy.java index 0c7557e894e..36da63b43ff 100644 --- a/jetty-util/src/main/java/org/eclipse/jetty/util/thread/ExecutionStrategy.java +++ b/jetty-util/src/main/java/org/eclipse/jetty/util/thread/ExecutionStrategy.java @@ -103,6 +103,8 @@ public interface ExecutionStrategy } /** + * @param producer the execution strategy producer + * @param executor the execution strategy executor * @deprecated use {@code getDefault().newExecutionStrategy(Producer, Executor)} instead */ @Deprecated diff --git a/jetty-util/src/test/java/org/eclipse/jetty/util/MultiMapTest.java b/jetty-util/src/test/java/org/eclipse/jetty/util/MultiMapTest.java index b78b702e8f7..67db0902c39 100644 --- a/jetty-util/src/test/java/org/eclipse/jetty/util/MultiMapTest.java +++ b/jetty-util/src/test/java/org/eclipse/jetty/util/MultiMapTest.java @@ -122,7 +122,7 @@ public class MultiMapTest } /** - * Tests {@link MultiMap#putValues(String, String...)} + * Tests {@link MultiMap#putValues(String, Object[])} */ @Test public void testPutValues_StringArray() @@ -138,7 +138,7 @@ public class MultiMapTest } /** - * Tests {@link MultiMap#putValues(String, String...)} + * Tests {@link MultiMap#putValues(String, List)} */ @Test public void testPutValues_VarArgs()