RE: Supbot API | Whatsapp Group Chatbot API | Developement update #3

You are viewing a single comment's thread from:

Supbot API | Whatsapp Group Chatbot API | Developement update #3

in utopian-io •  6 years ago  (edited)

wow, that was a fast, thanks for reviewing my post,

can you let me know where specifically there was inconsistencies in indentation, I do use intellij idea it should take care of it.

Have a great day 😄

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

It's my pleasure! For example in here

public Helper getHelper() {
    return new Helper(
            "group show\n" +
                    "group add <gid>\n" +
                    "group remove <gid>",
            "group add group1",
            "Add, Remove, Show groups that can be recognized by the bot"
    );
}

I think the strings (each continuation line) should be indented by the same amount, but I could be wrong since I don't use Java much. There are also some things with too much vertical whitespace and missing horizontal whitespace (e.g. between if and the opening bracket). Maybe SonarLint could help with stuff like that (never used it personally).