svn commit: r13532 - trunk/src/model-mdr/src/org/argouml/model/mdr/CoreFactoryMDRImpl.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: tfmorris
Date: 2007-09-10 23:27:32-0700
New Revision: 13532

Modified:
   trunk/src/model-mdr/src/org/argouml/model/mdr/CoreFactoryMDRImpl.java

Log:
Minor style cleanup

Modified: trunk/src/model-mdr/src/org/argouml/model/mdr/CoreFactoryMDRImpl.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/model-mdr/src/org/argouml/model/mdr/CoreFactoryMDRImpl.java?view=diff&rev=13532&p1=trunk/src/model-mdr/src/org/argouml/model/mdr/CoreFactoryMDRImpl.java&p2=trunk/src/model-mdr/src/org/argouml/model/mdr/CoreFactoryMDRImpl.java&r1=13531&r2=13532
==============================================================================
--- trunk/src/model-mdr/src/org/argouml/model/mdr/CoreFactoryMDRImpl.java	(original)
+++ trunk/src/model-mdr/src/org/argouml/model/mdr/CoreFactoryMDRImpl.java	2007-09-10 23:27:32-0700
@@ -946,14 +946,14 @@
     public Permission buildPermission(Object client, Object supplier) {
         if (!(client instanceof ModelElement) 
                 || !(supplier instanceof ModelElement)) {
-            throw new IllegalArgumentException("client is not a Namespace" +
-                        " or supplier is not a Package");
+            throw new IllegalArgumentException("client is not a Namespace"
+                    + " or supplier is not a Package");
         }
         // Warn about historical usage which is not compliant with UML spec.
         if (!(client instanceof Namespace) 
                 || !(supplier instanceof UmlPackage)) {
-            LOG.warn("buildPermission called with client that is not a Namespace" +
-                        " or supplier that is not a Package");
+            LOG.warn("buildPermission called with client that is not a "
+                    + "Namespace or supplier that is not a Package");
         }
         Permission per = buildPermissionInternal((ModelElement) client, 
                 (ModelElement) supplier);
@@ -969,8 +969,8 @@
     public Permission buildPackageImport(Object client, Object supplier) {
         if (!(client instanceof Namespace) 
                 || !(supplier instanceof UmlPackage)) {
-            throw new IllegalArgumentException("client is not a Namespace" +
-            		" or supplier is not a Package");
+            throw new IllegalArgumentException("client is not a Namespace"
+                    + " or supplier is not a Package");
         }
         Permission per = buildPermissionInternal((ModelElement) client, 
                 (UmlPackage) supplier);
@@ -1000,8 +1000,8 @@
     public Permission buildPackageAccess(Object client, Object supplier) {
         if (!(client instanceof Namespace) 
                 || !(supplier instanceof UmlPackage)) {
-            throw new IllegalArgumentException("client or " +
-                        "supplier is not a Namespace");
+            throw new IllegalArgumentException("client or "
+                    + "supplier is not a Namespace");
         }
         Permission per = buildPermissionInternal((ModelElement) client, 
                 (UmlPackage) supplier);
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.