Closed hemilpanchiwala closed 4 years ago
As a general recommendation, I'd suggest making use of the templates for code style from the JSBML project at https://github.com/sbmlteam/jsbml/tree/master/dev/. They can really help to automatically insert blank spaces, curly braces, and so forth, where forgotten.
Further comments were given in the code.
@draeger, I can just see their recommendations but can't add the templates as I am working on IntelliJ (even prefer), and the templates are only present for Eclipse.
As a general recommendation, I'd suggest making use of the templates for code style from the JSBML project at https://github.com/sbmlteam/jsbml/tree/master/dev/. They can really help to automatically insert blank spaces, curly braces, and so forth, where forgotten. Further comments were given in the code.
@draeger, I can just see their recommendations but can't add the templates as I am working on IntelliJ (even prefer), and the templates are only present for Eclipse.
Ok; so IntelliJ doesn't have an import for such files or doesn't come with comparable functions?
As a general recommendation, I'd suggest making use of the templates for code style from the JSBML project at https://github.com/sbmlteam/jsbml/tree/master/dev/. They can really help to automatically insert blank spaces, curly braces, and so forth, where forgotten. Further comments were given in the code.
@draeger, I can just see their recommendations but can't add the templates as I am working on IntelliJ (even prefer), and the templates are only present for Eclipse.
Ok; so IntelliJ doesn't have an import for such files or doesn't come with comparable functions?
I can just format the code as per the Java code style which is provided in IntelliJ given at this link.
change name of method. This is very unspecific. Use something like
addBoundsEpsilon
which states what the method is doing.updateBounds
could do anything with the bounds. Also probably a good idea to define the eps locally here (because it is not used anywhere else).
@matthiaskoenig, but we have given get and set methods for the eps. So, I don't think we should declare it locally in the method.
Major changes from this PR:
src/test/scripts
folder. Updated the scripts files.