ankushs92 / linode4j

Java API for Linode
MIT License
5 stars 2 forks source link

use primitive types whenever possible #2

Closed ankushs92 closed 6 years ago

ankushs92 commented 6 years ago

The scope of making errors by the developer would be less. What I mean is : if there is an integer field in a class , it is better to declare it as an 'int', because now it is impossible for the developer to set a null value, which the developer can do with Integer type