svn commit: r13234 - trunk/src/model-mdr/src/org/argouml/model/mdr/ExtensionMechanismsHelperMDRImpl.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: tfmorris
Date: 2007-08-03 14:47:26-0700
New Revision: 13234

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

Log:
Fix capitalization of stereotype method names

Modified: trunk/src/model-mdr/src/org/argouml/model/mdr/ExtensionMechanismsHelperMDRImpl.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/model-mdr/src/org/argouml/model/mdr/ExtensionMechanismsHelperMDRImpl.java?view=diff&rev=13234&p1=trunk/src/model-mdr/src/org/argouml/model/mdr/ExtensionMechanismsHelperMDRImpl.java&p2=trunk/src/model-mdr/src/org/argouml/model/mdr/ExtensionMechanismsHelperMDRImpl.java&r1=13233&r2=13234
==============================================================================
--- trunk/src/model-mdr/src/org/argouml/model/mdr/ExtensionMechanismsHelperMDRImpl.java	(original)
+++ trunk/src/model-mdr/src/org/argouml/model/mdr/ExtensionMechanismsHelperMDRImpl.java	2007-08-03 14:47:26-0700
@@ -300,8 +300,17 @@
     }
 
 
+    /**
+     * @deprecated Use {@link #isValidStereotype(Object,Object)} instead
+     */
     public boolean isValidStereoType(Object theModelElement,
             Object theStereotype) {
+                return isValidStereotype(theModelElement, theStereotype);
+            }
+
+
+    public boolean isValidStereotype(Object theModelElement,
+            Object theStereotype) {
         if (theModelElement == null) {
             return false;
         }
@@ -580,7 +589,15 @@
     }
 
 
+    /**
+     * @deprecated Use {@link #hasStereotype(Object,String)} instead
+     */
     public boolean hasStereoType(Object handle, String name) {
+        return hasStereotype(handle, name);
+    }
+
+
+    public boolean hasStereotype(Object handle, String name) {
         try {
             Collection sts = modelImpl.getFacade().getStereotypes(handle);
             Iterator i = sts.iterator();
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.