svn commit: r13236 - trunk/src_new/org/argouml/uml: . cognitive/critics
| Newsgroups | gmane.comp.lang.uml.argouml.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: tfmorris
Date: 2007-08-03 14:47:33-0700
New Revision: 13236
Modified:
trunk/src_new/org/argouml/uml/StereotypeUtility.java
trunk/src_new/org/argouml/uml/cognitive/critics/WizAddConstructor.java
Log:
Fix capitalization of stereotype method names
Modified: trunk/src_new/org/argouml/uml/StereotypeUtility.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/uml/StereotypeUtility.java?view=diff&rev=13236&p1=trunk/src_new/org/argouml/uml/StereotypeUtility.java&p2=trunk/src_new/org/argouml/uml/StereotypeUtility.java&r1=13235&r2=13236
==============================================================================
--- trunk/src_new/org/argouml/uml/StereotypeUtility.java (original)
+++ trunk/src_new/org/argouml/uml/StereotypeUtility.java 2007-08-03 14:47:33-0700
@@ -249,8 +249,8 @@
if (Model.getFacade().isAStereotype(root)
&& name.equals(Model.getFacade().getName(root))) {
- if (Model.getExtensionMechanismsHelper().isValidStereoType(obj,
- /* (MStereotype) */root)) {
+ if (Model.getExtensionMechanismsHelper().isValidStereotype(obj,
+ root)) {
return root;
}
}
Modified: trunk/src_new/org/argouml/uml/cognitive/critics/WizAddConstructor.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/uml/cognitive/critics/WizAddConstructor.java?view=diff&rev=13236&p1=trunk/src_new/org/argouml/uml/cognitive/critics/WizAddConstructor.java&p2=trunk/src_new/org/argouml/uml/cognitive/critics/WizAddConstructor.java&r1=13235&r2=13236
==============================================================================
--- trunk/src_new/org/argouml/uml/cognitive/critics/WizAddConstructor.java (original)
+++ trunk/src_new/org/argouml/uml/cognitive/critics/WizAddConstructor.java 2007-08-03 14:47:33-0700
@@ -122,7 +122,7 @@
}
if (Model.getExtensionMechanismsHelper()
- .isValidStereoType(obj, stereo)) {
+ .isValidStereotype(obj, stereo)) {
return Model.getModelManagementHelper()
.getCorrespondingElement(stereo,
Model.getFacade().getModel(obj));