Fixed bug when handling java source files that are part of a package.