svn commit: r14372 - trunk/src/app/tests/org/argouml/model/TestUmlFactory.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: tfmorris
Date: 2008-04-17 12:36:02-0700
New Revision: 14372

Modified:
   trunk/src/app/tests/org/argouml/model/TestUmlFactory.java

Log:
Style warning cleanup

Modified: trunk/src/app/tests/org/argouml/model/TestUmlFactory.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/app/tests/org/argouml/model/TestUmlFactory.java?view=diff&rev=14372&p1=trunk/src/app/tests/org/argouml/model/TestUmlFactory.java&p2=trunk/src/app/tests/org/argouml/model/TestUmlFactory.java&r1=14371&r2=14372
==============================================================================
--- trunk/src/app/tests/org/argouml/model/TestUmlFactory.java	(original)
+++ trunk/src/app/tests/org/argouml/model/TestUmlFactory.java	2008-04-17 12:36:02-0700
@@ -24,9 +24,6 @@
 

 package org.argouml.model;

 

-import java.util.Collection;

-import java.util.Iterator;

-

 import junit.framework.TestCase;

 

 /**

@@ -46,6 +43,7 @@
     /*

      * @see junit.framework.TestCase#setUp()

      */

+    @Override

     public void setUp() {

         InitializeModel.initializeDefault();

     }

@@ -53,9 +51,10 @@
     /**

      * Check that a 

      * Testing Core elements.

-     * @throws Exception

+     * @throws IllegalModelElementConnectionException if buildConnection fails

      */

-    public void testBuildConnection() throws Exception {

+    public void testBuildConnection()

+        throws IllegalModelElementConnectionException {

         Object class1 = (Model.getUmlFactory().buildNode(

                 Model.getMetaTypes().getUMLClass()));

         Object package1 = (Model.getUmlFactory().buildNode(

@@ -74,7 +73,7 @@
                 class2, Model.getAggregationKind().getNone(),

                 true, null);

         

-        // The association should have sane namespace as from class

+        // The association should have same namespace as from class

         assertSame(package1, Model.getFacade().getNamespace(assoc));

         

         // Only one end should be navigable
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.