Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

This page is about collecting refactoring ideas.

Class (incl. Package)

Method Signature

Line

Suggestion

org.castor.jdo.util.JDOConfFactory

createJdoConf(InputSource, EntityResolver, ClassLoader)

90

ClassLoader is never used. Remove it from signature.

org.exolab.castor.jdo.JDOManager

loadConfiguration(...)
createInstance(String)

 

Create a Factory (e.g. JDOManagerFactory) to set ClassLoader & various parameters  instead of using static loadConfiguration and creatInstance methods.