Move static methods in PvModel
class to the companion object
#1217
Labels
code quality
Code readability or efficiency is improved
PvModel
class to the companion object
#1217
Since these methods should not depend on the fields of the class, but rather get all the relevant data via the method parameters, they can also be static (thus in the object) and therefore be safer against future mishaps.
The text was updated successfully, but these errors were encountered: