Skip to content

Avoid output to System.err when finding unique Enum name - #1485

Merged
joelittlejohn merged 1 commit into
masterfrom
avoid-system-err
Feb 16, 2023
Merged

joelittlejohn merged 1 commit into
masterfrom
avoid-system-err

Conversation

@joelittlejohn

Copy link
Copy Markdown
Owner

No description provided.

@joelittlejohn joelittlejohn added this to the 1.2.0 milestone Feb 15, 2023

@unkish unkish left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

New logged out message makes more sense now also (sample from EnumIT::enumWithNoValidCharactersForIdentifier output):

Enum name __EMPTY__ already used; trying to replace it with __EMPTY___
Enum name __EMPTY___ already used; trying to replace it with __EMPTY____
Enum name __EMPTY__ already used; trying to replace it with __EMPTY____

vs.

[warn] Enum name __EMPTY__ already used; trying to replace it with __EMPTY___
[warn] Enum name __EMPTY__ already used; trying to replace it with __EMPTY___
[warn] Enum name __EMPTY___ already used; trying to replace it with __EMPTY____

@joelittlejohn
joelittlejohn merged commit ef5893b into master Feb 16, 2023
@joelittlejohn
joelittlejohn deleted the avoid-system-err branch February 16, 2023 10:19
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.

2 participants