svn commit: r14037 - trunk/src_new/org/argouml/application/StartCritics.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: mvw
Date: 2008-01-13 01:37:57-0800
New Revision: 14037

Modified:
   trunk/src_new/org/argouml/application/StartCritics.java

Log:
No functional change - improve readability.

Only get the project when we need it.

Modified: trunk/src_new/org/argouml/application/StartCritics.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/application/StartCritics.java?view=diff&rev=14037&p1=trunk/src_new/org/argouml/application/StartCritics.java&p2=trunk/src_new/org/argouml/application/StartCritics.java&r1=14036&r2=14037
==============================================================================
--- trunk/src_new/org/argouml/application/StartCritics.java	(original)
+++ trunk/src_new/org/argouml/application/StartCritics.java	2008-01-13 01:37:57-0800
@@ -56,11 +56,11 @@
         SubsystemUtility.initSubsystem(new InitJavaCritics());
         SubsystemUtility.initSubsystem(new InitPatternCritics());
         org.argouml.uml.cognitive.checklist.Init.init();
-        Project p = ProjectManager.getManager().getCurrentProject();
         // set the icon for this poster
         dsgr.setClarifier(ResourceLoaderWrapper.lookupIconResource("PostItD0"));
         dsgr.setDesignerName(Configuration.getString(Argo.KEY_USER_FULLNAME));
         Configuration.addListener(Argo.KEY_USER_FULLNAME, dsgr); //MVW
+        Project p = ProjectManager.getManager().getCurrentProject();
         dsgr.spawnCritiquer(p);
         dsgr.setChildGenerator(new ChildGenUML());
         for (Object model : p.getUserDefinedModelList()) {
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.