mirror of
https://github.com/apache/openjpa.git
synced 2025-02-25 12:06:23 +00:00
OPENJPA-148 Fix for scanning directories for persistent types.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@535139 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d7d400b818
commit
2f4cafdcfb
@ -609,7 +609,7 @@ public abstract class AbstractCFMetaDataFactory
|
||||
if (file.isDirectory()) {
|
||||
if (log.isTraceEnabled())
|
||||
log.trace(_loc.get("scanning-directory", file));
|
||||
scan(new FileMetaDataIterator(dir, newMetaDataFilter()),
|
||||
scan(new FileMetaDataIterator(file, newMetaDataFilter()),
|
||||
cparser, names, true, file);
|
||||
} else if (file.getName().endsWith(".jar")) {
|
||||
if (log.isTraceEnabled())
|
||||
@ -799,8 +799,8 @@ public abstract class AbstractCFMetaDataFactory
|
||||
|
||||
/**
|
||||
* Add all components in the given repository to the set to be
|
||||
* serialized.
|
||||
*/
|
||||
public void addAll (MetaDataRepository repos);
|
||||
}
|
||||
* serialized.
|
||||
*/
|
||||
public void addAll (MetaDataRepository repos);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user