mirror of https://github.com/apache/openjpa.git
Let PCEhancer report the class it is enhancing
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1233021 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6430d8eb92
commit
c2e11e7f13
|
@ -4707,7 +4707,6 @@ public class PCEnhancer {
|
|||
Log log = conf.getLog(OpenJPAConfiguration.LOG_TOOL);
|
||||
Collection classes;
|
||||
if (args == null || args.length == 0) {
|
||||
log.info(_loc.get("running-all-classes"));
|
||||
classes = repos.getPersistentTypeNames(true, loader);
|
||||
if (classes == null) {
|
||||
log.warn(_loc.get("no-class-to-enhance"));
|
||||
|
@ -4730,8 +4729,8 @@ public class PCEnhancer {
|
|||
int status;
|
||||
for (Iterator itr = classes.iterator(); itr.hasNext();) {
|
||||
Object o = itr.next();
|
||||
if (log.isTraceEnabled())
|
||||
log.trace(_loc.get("enhance-running", o));
|
||||
if (log.isInfoEnabled())
|
||||
log.info(_loc.get("enhance-running", o));
|
||||
|
||||
if (o instanceof String)
|
||||
bc = project.loadClass((String) o, loader);
|
||||
|
|
Loading…
Reference in New Issue