currentTime.add(Calendar.DAY_OF_YEAR, longObj.intValue());
}
return currentTime.getTime();
}
protected Session getSession() {
<BUG>SessionFactory fact = getHibernateUtil().getSessionFactory();</BUG>
Session session = null;
<BUG>if (fact != null) {
session = fact.openSession();
}</BUG>
return session;

currentTime.add(Calendar.DAY_OF_YEAR, longObj.intValue());
}
return currentTime.getTime();
}
protected Session getSession() {
Session session = null;
if (HibernateUtilFactory.getAsyncMsgsHibernateUtil() != null) {
session = HibernateUtilFactory.getAsyncMsgsHibernateUtil().getSessionFactory().openSession();
}
