You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm actually don't know the logic behind it as we did not maintain contact with the developer which wrote the JAVA SDK, however main question is: this create any issue? is this could be related to your previous issue with the timezone?
java.sql.Timstamp is intended for use with jdbc stuff and is really not something that should be used...really ever at least out side of jdbc. since there are already other libraries required to use this then i would think that you can at least use Joda Time or if you only support jdk 1.8+ then you should be using the JSR-310 java.time implementation.
The sole Java API class java_rest_coin_api uses an old class, java.sql.Timestamp, to represent all time instances.
That is a strange choice: this API does no interaction with databases at all, so why use a class from java.sql?
Java 8 introduced a new time API that blows away the old Java classes in every way I know of. If you are unfamiliar, check out this introduction..
In java_rest_coin_api, I think that every current use of Timestamp should be replaced by the new Java time API class Instant.
The text was updated successfully, but these errors were encountered: