summaryrefslogtreecommitdiff
path: root/utils/src/main/java/at/gv/egiz/bku
diff options
context:
space:
mode:
Diffstat (limited to 'utils/src/main/java/at/gv/egiz/bku')
-rw-r--r--utils/src/main/java/at/gv/egiz/bku/utils/URLEncodingOutputStream.java2
-rw-r--r--utils/src/main/java/at/gv/egiz/bku/utils/urldereferencer/URIResolverAdapter.java9
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