rolik55 / course-management-system

Undocumented constructor found JAVA-D1002
Documentation
Minor
4 occurrences in this check
 18    private SessionFactory factory = null;
 19    private Logger logger = null;
 20
 21    public UserHibernateController(SessionFactory factory) { 22        this.factory = factory; 23        this.logger = Logger.getLogger(UserHibernateController.class.getName()); 24    } 25
 26    private Session getSession() {
 27        return factory.openSession();
 14public class FolderHibernateController {
 15    private SessionFactory factory = null;
 16
 17    public FolderHibernateController(SessionFactory factory) { 18        this.factory = factory; 19    } 20
 21    private Session getSession() {
 22        return factory.openSession();
 14public class FileHibernateController {
 15    private SessionFactory factory = null;
 16
 17    public FileHibernateController(SessionFactory factory) { 18        this.factory = factory; 19    } 20
 21    private Session getSession() {
 22        return factory.openSession();
 14    private SessionFactory factory;
 15
 16
 17    public CourseHibernateController(SessionFactory factory) { 18        this.factory = factory; 19    } 20
 21    private Session getSession() {
 22        return factory.openSession();