tn5250j/src/org/tn5250j My5250.java,1.32,1.33

"Kenneth J. Pouncey" <[email protected]> Sat, 26 Jun 2004 09:18:05 +0000
Newsgroups gmane.comp.java.tn5250j.cvs
Message-ID <[email protected]>
Update of /cvsroot/tn5250j/tn5250j/src/org/tn5250j
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12472

Modified Files:
	My5250.java 
Log Message:
Fix to use ConfigureFactory and constants

Index: My5250.java
===================================================================
RCS file: /cvsroot/tn5250j/tn5250j/src/org/tn5250j/My5250.java,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -d -r1.32 -r1.33
*** My5250.java	14 Apr 2004 12:15:53 -0000	1.32
--- My5250.java	26 Jun 2004 09:18:03 -0000	1.33
***************
*** 1,3 ****
- package org.tn5250j;
  /**
   * Title: tn5250J
--- 1,2 ----
***************
*** 25,28 ****
--- 24,28 ----
   *
   */
+ package org.tn5250j;
  
  import java.util.*;
***************
*** 59,64 ****
     My5250 () {
  
-       GlobalConfigure configure = (GlobalConfigure)ConfigureFactory.getInstance();
- 
  //      classLoader = this.getClass().getClassLoader();
  
--- 59,62 ----
***************
*** 687,692 ****
  
           // save off the session settings before closing down
!          ConfigureFactory.getInstance().saveSettings(GlobalConfigure.SESSIONS,
!                                                       GlobalConfigure.SESSIONS,
                                                        "------ Defaults --------");
           if (strapper != null) {
--- 685,690 ----
  
           // save off the session settings before closing down
!          ConfigureFactory.getInstance().saveSettings(ConfigureFactory.SESSIONS,
!                                                       ConfigureFactory.SESSIONS,
                                                        "------ Defaults --------");
           if (strapper != null) {
***************
*** 743,748 ****
     protected static void loadSessions() {
  
!       sessions = ((GlobalConfigure)ConfigureFactory.getInstance()).getProperties(
!                      GlobalConfigure.SESSIONS);
     }
  
--- 741,746 ----
     protected static void loadSessions() {
  
!       sessions = ((ConfigureFactory)ConfigureFactory.getInstance()).getProperties(
!                      ConfigureFactory.SESSIONS);
     }
  



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com