Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

JANDEX-7 Skip non-class files

  • Loading branch information...
commit e4a6589f9d942cf4ac9685765e7e1618467d97bb 1 parent a171e94
@n1hility n1hility authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  src/main/java/org/jboss/jandex/Main.java
View
3  src/main/java/org/jboss/jandex/Main.java
@@ -139,6 +139,9 @@ private void scanFile(File source, Indexer indexer) throws FileNotFoundException
return;
}
+ if (! source.getName().endsWith(".class"))
+ return;
+
FileInputStream input = new FileInputStream(source);
try {
Please sign in to comment.
Something went wrong with that request. Please try again.