}
public void init() {
- long begin = System.currentTimeMillis();
+ // long begin = System.currentTimeMillis();
if (getRepository() != null)
throw new ArgeoException(
// apply new CND files after migration
prepareDataModel();
- double duration = ((double) (System.currentTimeMillis() - begin)) / 1000;
- if (log.isDebugEnabled())
- log.debug("Initialized JCR repository wrapper in " + duration
- + " s");
+ // double duration = ((double) (System.currentTimeMillis() - begin)) /
+ // 1000;
+ // if (log.isDebugEnabled())
+ // log.debug("Initialized JCR repository wrapper in " + duration
+ // + " s");
}
/** Actually creates the new repository. */
+ getHomeDirectory());
}
double duration = ((double) (System.currentTimeMillis() - begin)) / 1000;
- log.info("Destroyed Jackrabbit repository in " + duration
- + " s, home: " + getHomeDirectory());
+ if (log.isTraceEnabled())
+ log.trace("Destroyed Jackrabbit repository in " + duration
+ + " s, home: " + getHomeDirectory());
}
repository = null;
}