-
Notifications
You must be signed in to change notification settings - Fork 70
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
upgrade squid bridge #158
upgrade squid bridge #158
Conversation
prepare for checkstyle#157
checkstyle-sonar-plugin/pom.xml
Outdated
<dependency> | ||
<groupId>com.google.guava</groupId> | ||
<artifactId>guava</artifactId> | ||
<version>15.0</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will this cause issues with checkstyle as it uses guava 26? Why do we need this dependency if no code was changed?
did you have a formatter for IDEA? |
@hypery2k I'm not sure I understand your question. It isn't a formatter, it is just asking to use spaces instead of tabs for indentation. This should be a simple change using notepad or such. Just follow formatting of similar items around it. |
I cannot get the CI build green, as either team city or checkstyle will complain about this. And I didn't changed anything there... |
weird it was only complaining about the indentation before. It looks like it is related to the new TC version. |
is it possible to support somehow? i am not sure how to fix it, but at least i understand the problem in CheckstyleExecutor with "Call to 'Collection.toArray()' with zero-length array argument (1)" Line 146 in 010d408
but a good suggestion based on h2database/h2database#311 would be to change the line simply to |
Yes, this is the change that would have to be made. |
with the proposed changes I then get maven pmd errors:
|
@hypery2k You would have to show us the PMD error as that is all the error shows. Most likely it isn't related to your PR but TC changed between the last master and now. |
see here:
|
Well I do think that this pmd rule, based on the link I posted is not 100% valid ;) - I am not a contributor to sonar-checkstyle, but can we deactivate this rule? |
Main repo uses the same IDEA and PMD doesn't complain there, so I am trying to reconcile the 2. See #159 . Sorry for delay. |
@hypery2k , I apologize for delay in response. Please squash all commits in one and rebase latest master (we recently merged some fixes for CI), and will continue investigate what else is required to make this PR be merged. Please also make some comments in issue about what need to be changed in code to let us validate a fix. We need help from you. |
@hypery2k ping |
closed in favor of #165 |
Issue #157 upgrade squid bridge