Closed mvasi90 closed 7 years ago
The Github issue tracker is designed to leave suggestions, bug reports, or general questions on a project. This issue is only a rant about my coding style. As it is highly irrelevant, I am closing and locking this issue.
I do not want to discuss the various matters you have written about in your issue, because:
If you have a specific suggestion, bug report, or general question, please open another issue and send me debug logs if needed. You may take a look at the other open issues on my repository as examples to understand how and whether to open an issue.
Additionally, I will not accept any pull request whose only purpose is to change the project code style. Thanks for your understanding.
This is very very bad written in Java. Maven is not necessary:
First: You are using the Java Native xml Document with Jsoup parsed Document. What is it?
If you are using Jsoup this is not necessary (or if you are using regular expressions).
I have no time to modify the code and push in separate branch to github. Because full rewrite is needed.
Bad performance. What is it?
You are using "branching statements".
outer:
. Please don't do this, is very bad practice.You should use only the Jsoup library or only regular expressions. (You are using Jsoup parser with org.w3c.dom.Document) Example:
The above code works to show the last offline/online messages of contacts. Retouching that kind of code leaves me with rage. I do not know you and I do not know who taught you to program but you can tell him that he is a bad teacher.
You have a simple problem and you are creating "sophisticated" and wrong solutions. In other words, you are catching the server response but you don't show it to the user. Instead of showing it you are creating incomplete filters that are using more resources. Remember: Jsoup not needed. (And if you have more time, Json is not needed)
Maven? Never use it. If you want to have automated things use Gradle (best performance) https://gradle.org/maven-vs-gradle/
The README file show an example to use this library. Before invoking the connect() method, the listeners must be registered.
PostData: I never use Gradle, Maven, etc.