From 0ba96b399d70eac60ece03f4e438125736169d5b Mon Sep 17 00:00:00 2001 From: Tobias Kellner Date: Tue, 27 Oct 2015 20:12:12 +0100 Subject: JavaDoc fixes --- .../main/java/at/gv/egiz/bku/utils/URLEncodingOutputStream.java | 2 +- .../at/gv/egiz/bku/utils/urldereferencer/URIResolverAdapter.java | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) (limited to 'utils/src/main/java/at/gv/egiz/bku') diff --git a/utils/src/main/java/at/gv/egiz/bku/utils/URLEncodingOutputStream.java b/utils/src/main/java/at/gv/egiz/bku/utils/URLEncodingOutputStream.java index 1b4561da..4e6fabef 100644 --- a/utils/src/main/java/at/gv/egiz/bku/utils/URLEncodingOutputStream.java +++ b/utils/src/main/java/at/gv/egiz/bku/utils/URLEncodingOutputStream.java @@ -74,7 +74,7 @@ public class URLEncodingOutputStream extends OutputStream { *

* Note: According to * http://www.w3.org/TR/html40/appendix/notes.html#non-ascii-chars the input - * for the {@link #write()} methods should be the UTF-8. + * for the {@link #write(int)} methods should be the UTF-8. *

* * @param out diff --git a/utils/src/main/java/at/gv/egiz/bku/utils/urldereferencer/URIResolverAdapter.java b/utils/src/main/java/at/gv/egiz/bku/utils/urldereferencer/URIResolverAdapter.java index b08993e6..11a8b7f2 100644 --- a/utils/src/main/java/at/gv/egiz/bku/utils/urldereferencer/URIResolverAdapter.java +++ b/utils/src/main/java/at/gv/egiz/bku/utils/urldereferencer/URIResolverAdapter.java @@ -51,15 +51,14 @@ public class URIResolverAdapter implements URIResolver { /** * - * @param deferecencer + * @param dereferencer * must not be null - * @param ctx may be null */ - public URIResolverAdapter(URLDereferencer deferecencer) { - if (deferecencer == null) { + public URIResolverAdapter(URLDereferencer dereferencer) { + if (dereferencer == null) { throw new NullPointerException("Urlderefencer must not be set to null"); } - this.urlDereferencer = deferecencer; + this.urlDereferencer = dereferencer; } @Override -- cgit v1.2.3