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

StringLiteralsConcatenationCheck doesn't work for long types #1058

Open
piotrkot opened this issue Oct 3, 2019 · 2 comments
Open

StringLiteralsConcatenationCheck doesn't work for long types #1058

piotrkot opened this issue Oct 3, 2019 · 2 comments

Comments

@piotrkot
Copy link

piotrkot commented Oct 3, 2019

I have such code

return zip.getEntry("routes.txt").getSize()
                + zip.getEntry("stops.txt").getSize()
                + zip.getEntry("trips.txt").getSize()
                + zip.getEntry("shapes.txt").getSize()
                + zip.getEntry("stop_times.txt").getSize();

All getSize() methods return type long. And yet I get StringLiteralsConcatenationCheck Checkstyle warning.

@0crat
Copy link
Collaborator

0crat commented Oct 3, 2019

@krzyk/z please, pay attention to this issue

@0crat
Copy link
Collaborator

0crat commented Oct 3, 2019

@piotrkot/z this project will fix the problem faster if you donate a few dollars to it; just click here and pay via Stripe, it's very fast, convenient and appreciated; thanks a lot!

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

No branches or pull requests

3 participants