Closed ThexXTURBOXx closed 5 years ago
Why did you set the getters in the *Datapoint classes to the package access level?
Those are interfaces. You don't ever need any visibility modifiers in interface classes. When you implement interfaces, you specify them in the implementing class
Okay I'll convert those to classes later then cause I messed that up.
And thanks for the correction about the types and refactoring
Okay I'll convert those to classes later then cause I messed that up.
And thanks for the correction about the types and refactoring
Perfect! You're welcome
Oh, and I just noticed... I suggest you to take a look at https://projectlombok.org/ For APIs like this one, it's a very useful tool! E.g. the class YTStats could look like this then. It makes work really easier ;)
Oh, that's an interesting framework, but I still prefer the old school way...
"isVerified" and "partners" were wrong type