Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to generate //$NON-NLS-1$ #31

Closed
foal opened this issue Dec 2, 2015 · 1 comment
Closed

Add option to generate //$NON-NLS-1$ #31

foal opened this issue Dec 2, 2015 · 1 comment
Labels

Comments

@foal
Copy link

foal commented Dec 2, 2015

Generate //$NON-NLS-1$ for toString method, e.g.

    public String toString() {
        return MoreObjects.toStringHelper(this)
                .add("super", super.toString()) //$NON-NLS-1$
                .add("offset", offset) //$NON-NLS-1$
                .toString();
    }
@foal
Copy link
Author

foal commented Dec 7, 2015

Or simple add @SuppressWarnings("nls") before method

arolfes added a commit that referenced this issue Dec 6, 2017
arolfes added a commit that referenced this issue Dec 6, 2017
changed preference from checkbox to radioGroup
NonNls1DoNothing
NonNls1Comment
NonNls1SupressWarning
updated integration tests
@arolfes arolfes closed this as completed Dec 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants