Comments (13)
migrated from Trac, where originally posted by yegor256 on 2-Nov-2011 8:47pm
Thanks for reporting!
from qulice.
migrated from Trac, where originally posted by yegor256 on 3-Nov-2011 6:51am
Dzmitry, can you fix this defect? The budget is 1 hour.
Don't forget that first we should reproduce the problem with a unit/integration test. You should create some test that will fail with current implementation. Then you fix the defect and the test should pass.
from qulice.
migrated from Trac, where originally posted by dpetruha on 4-Nov-2011 10:55pm
Hi Yegor!
As I think it is not pure checkstyle problem. I mean that any validator (checkstyle, PMD, etc) should log those errors correctly.
Moreover, I've noticed that CheckstyleValidator and PMDValidator have duplicated code for getting list of files to process (files(Environment)).
My point is that reporting errors to log should be done in single place (maybe even not validator responsibility).
So, if you have time lets discuss and decide how to implement and what and how to unit test. And of cause the budget if you are agree with the above)
from qulice.
migrated from Trac, where originally posted by dpetruha on 4-Nov-2011 10:55pm
Yegor, please see my comment above
from qulice.
migrated from Trac, where originally posted by yegor256 on 6-Nov-2011 7:06am
I totally agree with everything you said above. But keep in mind that we're solving "one problem per ticket" only. All your concerns/ideas should be reported in new tickets. For every ticket you report (if it's accepted) you will get 1/2 hours.
Thus, if you see that the project needs refactoring (or bug fix) before you can start working with this ticket - report a problem and wait until it's fixed. Once all of them are fixed - you get back to the ticket and finish it.
from qulice.
migrated from Trac, where originally posted by yegor256 on 20-Nov-2011 6:48pm
Any news here?
from qulice.
migrated from Trac, where originally posted by dpetruha on 24-Nov-2011 10:11am
CheckstyleValidator should be changed to implement com.qulice.spi.ResourceValidator. I.e.
a)CheckstyleValidator will be provided with file to validate
b)then it should make validation and do not log any errors but return ResourceValidationResult.
c)In case CheckstyleValidator is not interested in the resource then just return null.
Move CheckstyleValidator from com.qulice.maven.ValidatorsProvider.all() to com.qulice.maven.ValidatorsProvider method returning ResourceValidators list (be implemented as part of #44).
com.qulice.spi.ResourceValidator? will be implemented as part of #44.
from qulice.
migrated from Trac, where originally posted by yegor256 on 24-Nov-2011 11:27am
Let's wait for #44
from qulice.
migrated from Trac, where originally posted by yegor256 on 27-Nov-2011 12:53pm
from qulice.
migrated from Trac, where originally posted by yegor256 on 22-Jan-2012 11:39pm
Milestone PROTOTYPE deleted
from qulice.
migrated from Trac, where originally posted by yegor256 on 24-May-2012 1:14pm
let's do it in the next version
from qulice.
migrated from Trac, where originally posted by yegor on 21-Apr-2013 12:03pm
we moved to Github
from qulice.
no need any more
from qulice.
Related Issues (20)
- IllegalArgumentException leads to execution failure HOT 7
- Java 17 record type not supported HOT 6
- JUnit test class must be final HOT 1
- method parameter must not hide field of the class HOT 1
- this qualifier must be required even inside lambda HOT 1
- How to Choose Google checks instead of Sun Checks (Checkstyle)? HOT 1
- BranchContains.java:44: Avoid branchContains usages in...
- EqualsTree.java:46: Avoid equalsTree usages in checks and... HOT 1
- PmdListener.java:88-89: If was added to avoid failing...
- PmdValidatorTest.java:130-131: Replace not+empty() with...
- Rebuild GitHub Pages HOT 4
- PMD.AvoidAccessToStaticMembersViaThis check works incorrectly HOT 4
- `java.lang.NullPointerException` at `com.qulice.checkstyle.DiamondOperatorCheck.isDiamondOperatorUsed` HOT 3
- check failed: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Failed to process files for 0.22.1 HOT 1
- add a rule to check that affirm is used for Assertion HOT 9
- diamond operator check gives false positive HOT 3
- PMD UseUnderscoresInNumericLiterals rule gives false positives on non-divisible number into even 3 digit parts HOT 3
- prohibit private constructors if they are not used in the class HOT 2
- ignore binary files automatically HOT 1
- PMD exception in Java source with variables or methods named with unicode characters for Windows workflow HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qulice.