Skip to content

Conversation

@HavardNJ
Copy link

@HavardNJ HavardNJ commented Mar 9, 2020

Lots of bug fixes and improvements. Might be time for a new release.

Refactor commands into separate class files
Fix issue with rotation, fixes rotation of ghost board
Performance improvements on generating surfaces and in general
Bugfix on surfaces
Loads s3dx format
View cross section walkthrough in machine view
Improved weight calculator
@PeteWeatherhead
Copy link

Have a look at the stuff I did a while back to see if any of it is useful for you - I added some channel functionality etc. Havent looked at it for a couple of years it feels like.


public String toString()
{
String str = new String();

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Our static analysis engine detects that your pull request includes a change that method invokes inefficient new String() constructor. According to the best practice, creating a new java.lang.String object using the no-argument constructor wastes memory because the object so created will be functionally indistinguishable from the empty string constant "". Java guarantees that identical string constants will be represented by the same String object. Therefore, you should just use the empty string constant directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants