Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
3 is fixed.
  • Loading branch information
ryaneberly committed Jul 1, 2017
1 parent 8b2adad commit fa87e30
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/main/java/com/cflint/CFLint.java
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,9 @@ public void scan(final File folderOrFile) {
for (final File file : folderOrFile.listFiles()) {
if (file.getName().toLowerCase().startsWith(".cflintrc")) {
try {
System.out.println("read config " + file);
if(verbose){
System.out.println("read config " + file);
}
CFLintConfiguration newConfig = file.getName().toLowerCase().endsWith(".xml") ?
ConfigUtils.unmarshal(new FileInputStream(file), CFLintConfig.class) :
ConfigUtils.unmarshalJson(new FileInputStream(file), CFLintConfig.class);
Expand Down
1 change: 0 additions & 1 deletion src/main/java/com/cflint/HTMLOutput.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ public void output(final BugList bugList, final Writer writer, final boolean sho
// 2. Use the TransformerFactory to process the stylesheet Source and
// generate a Transformer.
javax.xml.transform.Transformer transformer;
// System.out.println("Using html style:" + htmlStyle);
try {
final InputStream is = getClass().getResourceAsStream("/findbugs/" + htmlStyle);
transformer = tFactory.newTransformer(new StreamSource(is));
Expand Down

0 comments on commit fa87e30

Please sign in to comment.