Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-6403

Some refactoring in ConsoleConfiguration class

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Optional Optional
    • 3.2.0.M1
    • 3.2.x
    • hibernate
    • None

      I propose two things to adjust in this class:
      1) separate/move code for creation hibernate Configuration into other class - so we'll get two 400 lines classes instead of one 800 with more clear logic;
      2) replace Thread.currentThread().getContextClassLoader() with ConsoleConfiguration.class.getClassLoader() - so imo we get more safe code;

            vyemialyanchyk_jira Vitali Yemialyanchyk (Inactive)
            vyemialyanchyk_jira Vitali Yemialyanchyk (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: