Skip to content

Commit 236abb6

Browse files
committed
improved javadoc
1 parent db17742 commit 236abb6

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

src/main/java/io/taliox/zulip/calls/messages/GetMessages.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
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
*

src/main/java/io/taliox/zulip/calls/streams/PostSubscription.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
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
*/
1818
public class PostSubscription extends ZulipRestAPICall {
1919

src/main/java/io/taliox/zulip/utils/ImageChecker.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)