svn commit: r15503 - trunk/src/argouml-app/src/org/argouml/profile/init/InitProfileSubsystem.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: tfmorris
Date: 2008-08-03 16:20:22-0700
New Revision: 15503

Modified:
   trunk/src/argouml-app/src/org/argouml/profile/init/InitProfileSubsystem.java

Log:
Restore previous behavior that some tests depend on

Modified: trunk/src/argouml-app/src/org/argouml/profile/init/InitProfileSubsystem.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/profile/init/InitProfileSubsystem.java?view=diff&rev=15503&p1=trunk/src/argouml-app/src/org/argouml/profile/init/InitProfileSubsystem.java&p2=trunk/src/argouml-app/src/org/argouml/profile/init/InitProfileSubsystem.java&r1=15502&r2=15503
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/profile/init/InitProfileSubsystem.java	(original)
+++ trunk/src/argouml-app/src/org/argouml/profile/init/InitProfileSubsystem.java	2008-08-03 16:20:22-0700
@@ -37,10 +37,14 @@
      * Initialize the Profiles subsystem by binding the 2 packages together.
      */
     public void init() {
-        if (!ProfileFacade.isInitiated()) {
-            ProfileFacade.setManager(
-                    new org.argouml.profile.internal.ProfileManagerImpl());
-        }
+        // TODO: There are tests which depend on being able to reinitialize
+        // the Profile subsystem multiple times.
+//        if (!ProfileFacade.isInitiated()) {
+//            ProfileFacade.setManager(
+//                    new org.argouml.profile.internal.ProfileManagerImpl());
+//        }
+        ProfileFacade.setManager(
+                new org.argouml.profile.internal.ProfileManagerImpl());
     }
 
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.