NetCal / DNC

The NetworkCalculus.org Deterministic Network Calculator
http://dnc.networkcalculus.org
GNU Lesser General Public License v2.1
25 stars 23 forks source link

Code sharing for CurveBackends' toString #39

Closed sbondorf closed 6 years ago

sbondorf commented 6 years ago

And other minor commits I don't know how to get out of this ... still learning git ... sorry.

This also fixes the inconsistency of using getMinPlus().toString() instead of the actual enum's .name().

Will update the functional tests method source after this pull request was approved.

matyesz commented 6 years ago

Will check from home. If enum is used, yes it cannot extend anything, just implement interfaces. Default method was added to remain backward compatible when oracle needed to extend some base type functionalities. Business came first...