You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just by chance, I just spotted these 4 unused private methods in DB class, well two are used by just by the other two, should we remove them? Or make them protected if they have some use?
thrownewConfigurationException("Class " + clazz + " specified in mapping for module " + moduleName + " cannot be found");
}
}
else
{
thrownewConfigurationException("<mapping> element in configuration specifies no known attributes at module " + moduleName);
}
}
configureProperties seems to be for putting db properties in a Hibernate Configuration while the other seem to be for obtaining properties from a hibernate configuration, they have been there for 8 years, since commit dd9aa78
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Just by chance, I just spotted these 4 unused private methods in
DB
class, well two are used by just by the other two, should we remove them? Or make them protected if they have some use?jPOS-EE/modules/dbsupport/src/main/java/org/jpos/ee/DB.java
Lines 191 to 249 in 8c47d70
configureProperties
seems to be for putting db properties in a HibernateConfiguration
while the other seem to be for obtaining properties from a hibernate configuration, they have been there for 8 years, since commit dd9aa78Beta Was this translation helpful? Give feedback.
All reactions