From 9b235d0d8fd35639f301b1a8f1feb4c2a527d6a0 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Sun, 27 Apr 2014 11:04:15 +0200 Subject: [PATCH] Improve javadoc of Java7ZlibInputOutputStream --- .../Java7ZlibInputOutputStream.java | 21 ++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/core/src/main/java/org/jivesoftware/smack/compression/Java7ZlibInputOutputStream.java b/core/src/main/java/org/jivesoftware/smack/compression/Java7ZlibInputOutputStream.java index 0b436f3cf..906a8e1f0 100644 --- a/core/src/main/java/org/jivesoftware/smack/compression/Java7ZlibInputOutputStream.java +++ b/core/src/main/java/org/jivesoftware/smack/compression/Java7ZlibInputOutputStream.java @@ -1,6 +1,6 @@ /** * - * Copyright 2013 Florian Schmaus + * Copyright 2013-2014 Florian Schmaus * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -27,14 +27,21 @@ import java.util.zip.Inflater; import java.util.zip.InflaterInputStream; /** - * This class provides XMPP "zlib" compression with the help of the Deflater class of the Java API. Note that the method - * needed is available since Java7, so it will only work with Java7 or higher (hence it's name). + * This class provides XMPP "zlib" compression with the help of the Deflater class of the Java API. + * Note that the method needed for compression with synchronous flush support is available since + * Java7, so it will only work with Java7 or higher (hence it's name). On Android, the required + * deflate() method is available on API 19 or higher. + *

+ * See also: + *