Skip to main content
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link

You should check the justification SonarQube gives as to why it makes the suggestion. I would bet that the primary reason is for performanceis for performance, not readability.

If you don't like the readability of !collection.isEmpty(), then you could always use collection.isEmpty() == false.

You should check the justification SonarQube gives as to why it makes the suggestion. I would bet that the primary reason is for performance, not readability.

If you don't like the readability of !collection.isEmpty(), then you could always use collection.isEmpty() == false.

You should check the justification SonarQube gives as to why it makes the suggestion. I would bet that the primary reason is for performance, not readability.

If you don't like the readability of !collection.isEmpty(), then you could always use collection.isEmpty() == false.

adding clarifier
Source Link
Eric King
  • 11k
  • 3
  • 43
  • 55

You should check the justification SonarQube gives as to why it makes the suggestion. I would bet that the primary reason is for performance, not readability.

If you don't like the readability of !collection.isEmpty(), then you could always use collection.isEmpty() == false.

You should check the justification SonarQube gives as to why it makes the suggestion. I would bet that the reason is for performance, not readability.

If you don't like the readability of !collection.isEmpty(), then you could always use collection.isEmpty() == false.

You should check the justification SonarQube gives as to why it makes the suggestion. I would bet that the primary reason is for performance, not readability.

If you don't like the readability of !collection.isEmpty(), then you could always use collection.isEmpty() == false.

Source Link
Eric King
  • 11k
  • 3
  • 43
  • 55

You should check the justification SonarQube gives as to why it makes the suggestion. I would bet that the reason is for performance, not readability.

If you don't like the readability of !collection.isEmpty(), then you could always use collection.isEmpty() == false.