I have a few concerns about the current state of the Java wrapper.
At least three dependencies should be removed.
Since this library uses Java's built-in HttpURLConnection, the apache httpclient and Jsoup libraries are redundant and add a lot of unnecessary size to the library. The functionality you use from them can be easily replicated in RequestUtil.java.
Since Jackson is already used for POJO mapping, Gson should be removed and the one method requiring it should be rewritten. I was the one who added Gson in the first place - it was a mistake.
The org.json library is unused.
I'm still curious as to why the 'fetchX()' syntax is used instead of the usual getX(). Would you all be able to share the rationale behind that?
I have a few concerns about the current state of the Java wrapper.
At least three dependencies should be removed.
I'm still curious as to why the 'fetchX()' syntax is used instead of the usual
getX()
. Would you all be able to share the rationale behind that?