diff options
author | Tobias Kellner <tobias.kellner@iaik.tugraz.at> | 2015-10-27 20:12:12 +0100 |
---|---|---|
committer | Tobias Kellner <tobias.kellner@iaik.tugraz.at> | 2015-10-27 20:12:12 +0100 |
commit | 0ba96b399d70eac60ece03f4e438125736169d5b (patch) | |
tree | 8f687acf50129eb84911ea1cf959ccb55dfbf885 /utils/src/main/java/at/gv/egiz/bku | |
parent | 1e833166646372f3a44602c18fd8e2a172763026 (diff) | |
download | mocca-0ba96b399d70eac60ece03f4e438125736169d5b.tar.gz mocca-0ba96b399d70eac60ece03f4e438125736169d5b.tar.bz2 mocca-0ba96b399d70eac60ece03f4e438125736169d5b.zip |
JavaDoc fixes
Diffstat (limited to 'utils/src/main/java/at/gv/egiz/bku')
-rw-r--r-- | utils/src/main/java/at/gv/egiz/bku/utils/URLEncodingOutputStream.java | 2 | ||||
-rw-r--r-- | utils/src/main/java/at/gv/egiz/bku/utils/urldereferencer/URIResolverAdapter.java | 9 |
2 files changed, 5 insertions, 6 deletions
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 { * <p> * 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. * </p> * * @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 |