svn commit: r16415 - trunk/src/argouml-core-model-mdr/src/org/argouml/model/mdr/MetaTypesMDRImpl.java

Tom Morris <[email protected]>
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: tfmorris
Date: 2008-12-22 10:30:31-0800
New Revision: 16415

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

Log:
Move constructor to top of file

Modified: trunk/src/argouml-core-model-mdr/src/org/argouml/model/mdr/MetaTypesMDRImpl.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-core-model-mdr/src/org/argouml/model/mdr/MetaTypesMDRImpl.java?view=diff&pathrev=16415&r1=16414&r2=16415
==============================================================================
--- trunk/src/argouml-core-model-mdr/src/org/argouml/model/mdr/MetaTypesMDRImpl.java	(original)
+++ trunk/src/argouml-core-model-mdr/src/org/argouml/model/mdr/MetaTypesMDRImpl.java	2008-12-22 10:30:31-0800
@@ -126,6 +126,13 @@
  */
 final class MetaTypesMDRImpl implements MetaTypes {
 
+    /**
+     * Constructor that forbids to instantiate.
+     */
+    MetaTypesMDRImpl() {
+        // forbid instantiation
+    }
+    
     public String getName(Object modelElement) {
         Class<?> clazz;
         if (modelElement instanceof Class) {
@@ -152,13 +159,6 @@
         return name.substring(startName, endName);
     }
 
-    /**
-     * Constructor that forbids to instantiate.
-     */
-    MetaTypesMDRImpl() {
-        // forbid instantiation
-    }
-
     /*
      * @see org.argouml.model.MetaTypes#getAbstraction()
      */

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=989989

To unsubscribe from this discussion, e-mail: [[email protected]].
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.