svn commit: r12811 - trunk/src/model-euml/src/org/argouml/model/euml/MetaTypesEUMLImpl.java
| Newsgroups | gmane.comp.lang.uml.argouml.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: tfmorris
Date: 2007-06-10 08:57:38-0700
New Revision: 12811
Modified:
trunk/src/model-euml/src/org/argouml/model/euml/MetaTypesEUMLImpl.java
Log:
Remove dead code.
Modified: trunk/src/model-euml/src/org/argouml/model/euml/MetaTypesEUMLImpl.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/model-euml/src/org/argouml/model/euml/MetaTypesEUMLImpl.java?view=diff&rev=12811&p1=trunk/src/model-euml/src/org/argouml/model/euml/MetaTypesEUMLImpl.java&p2=trunk/src/model-euml/src/org/argouml/model/euml/MetaTypesEUMLImpl.java&r1=12810&r2=12811
==============================================================================
--- trunk/src/model-euml/src/org/argouml/model/euml/MetaTypesEUMLImpl.java (original)
+++ trunk/src/model-euml/src/org/argouml/model/euml/MetaTypesEUMLImpl.java 2007-06-10 08:57:38-0700
@@ -327,13 +327,8 @@
// and before the next $ or end of class name.
int startName = name.lastIndexOf('.') + 1;
- // MDR classes may have a UML or Uml prefix which should be removed.
-// if (name.regionMatches(true, startName, "UML", 0, 3)) {
-// startName += 3;
-// }
-
- // eUML2 implementation classes end with "Impl"
- final String suffix = "Impl";
+ // Eclipse UML2 implementation classes end with "Impl"
+ final String suffix = "Impl"; //$NON-NLS-1$
int endName = name.length();
if (name.endsWith(suffix)) {
endName -= suffix.length();