google-java-format icon indicating copy to clipboard operation
google-java-format copied to clipboard

Omit the redundant method isReal() to make it simpler

Open tosukriti opened this issue 1 year ago • 0 comments

Omit the redundant method isReal() to make it simpler since we can directly compare the enum instance with ==

https://github.com/google/google-java-format/blob/18f835849551f81d60d582300a0a3c585b5774b4/core/src/main/java/com/google/googlejavaformat/Doc.java#L394

tosukriti avatar Mar 07 '24 21:03 tosukriti