Comments (8)
I'll work on it.
from checkstyle.
Hi Iurii, StrictDuplicateCode has been removed from Checkstyle, so this
issue can be just closed.
24-12-2014 23:36 użytkownik "Yuriy Chulovskyy (Iurii Chulovskyi)" <
[email protected]> napisał:
I'll work on it.
—
Reply to this email directly or view it on GitHub
#26 (comment)
.
from checkstyle.
@mkordas Thanks for update!
@romani Could you please close the issue?
from checkstyle.
@ychulovskyy, here problem is not about a particular Check , you can substitude StrictDuplicateCheck to another Check that is not running under TreeWalker. Such Checks are called FileSet checks.
from checkstyle.
Ok, I've found the issue.
Checker.process do the following:
for (final FileSetCheck fsc : mFileSetChecks) {
// They may also log!!!
fsc.finishProcessing();
fsc.destroy();
}
Need to do the same but in separate loops. Otherwise destroy method will release file context and next check doesn't have it. As a result - filter.accept() will return true and we will see the audit message.
Will fix and create test in a few days.
from checkstyle.
@ychulovskyy , are you planing to provide fix or our team should do that ?
from checkstyle.
@romani I'll provide till EOW. It's not so important since there is no more checks that do processing in finishProcessing() method. Only StrictDuplicateCodehad it.
So, need to think how to test the fix.
from checkstyle.
that solution is accepted, but #820 is created to fix that conceptual problem.
fix is merged, will be in 6.5
from checkstyle.
Related Issues (20)
- IllegalType Not Working For Annotation Using FQN HOT 3
- Remove Support for String Template Syntax
- Re-enable and Monitor `YAMLSchemaValidation` inspection HOT 6
- Resolve `TailRecursion` inspection violations by replacing tail recursive calls HOT 4
- log() method incorrectly calculates the column number when Tabs are used HOT 8
- WhitespaceAround reports a violation when switch expression is passed as a method argument HOT 2
- Parameter name should be provided after @param tag HOT 1
- Please REMOVE most badges from the README HOT 5
- Please, add a small section to the README on how to install and use this tool HOT 5
- Test to ensure website checks/filters are in alphabetical order
- Fix performance test HOT 3
- build failure due to maven.plugin.json HOT 2
- Github generate site fails to generate links with anchors.
- Fix PMD 7.1.0 Violations HOT 1
- UnnecessaryParentheses: no violation if casting is present before expression
- XDoc conversion from Javadoc do not relativize links and break previous document version HOT 5
- Drop ci jobs for unsupported java versions HOT 5
- Move fast tasks from CircleCI to Cirrus HOT 8
- Configuration website does not allow linking to Examples HOT 2
- Refactor SummaryJavadoc to avoid null usage HOT 1
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 checkstyle.