File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed
src/main/java/io/taliox/zulip Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 2121 * message ID, as well as some metadata that makes it easy for a client to
2222 * determine whether there are more messages matching the query that were not
2323 * returned due to the num_before and num_after limits. We recommend using
24- * num_before <= 1000 and num_after <= 1000 to avoid generating very large HTTP
24+ * num_before smaller or even 1000 and num_after smaller or even 1000 to avoid generating very large HTTP
2525 * responses. A maximum of 5000 messages can be obtained per request; attempting
2626 * to exceed this will result in an error.
2727 *
Original file line number Diff line number Diff line change 1313 * and configured using the invite_only setting specified in the arguments.
1414 *
1515 * @see <a href=
16- * https://zulipchat.com/api/add-subscriptions">https://zulipchat.com/api/add-subscriptions</a>
16+ * " https://zulipchat.com/api/add-subscriptions">https://zulipchat.com/api/add-subscriptions</a>
1717 */
1818public class PostSubscription extends ZulipRestAPICall {
1919
Original file line number Diff line number Diff line change @@ -16,8 +16,7 @@ public abstract class ImageChecker {
1616 *
1717 * @param path
1818 * The path of the image to be uploaded.
19- * @return true, if file is an image.
20- * @return false, if file is not an image.
19+ * @return true, if file is an image. false, if file is not an image.
2120 */
2221 public static boolean checkIfFileIsAnImage (String path ) {
2322 boolean b = false ;
@@ -35,8 +34,7 @@ public static boolean checkIfFileIsAnImage(String path) {
3534 *
3635 * @param file
3736 * The File to be uploaded.
38- * @return true, if file is an image.
39- * @return false, if file is not an image.
37+ * @return true, if file is an image. false, if file is not an image.
4038 */
4139 public static boolean checkIfFileIsAnImage (File file ) {
4240 boolean b = false ;
You can’t perform that action at this time.
0 commit comments