Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkhussey2006-03-09 21:51:31 +0000
committerkhussey2006-03-09 21:51:31 +0000
commit6da27b1040f5f48627fe8e638e64cacd681d0624 (patch)
tree2b1d35e53a71a81eb0c5aab6abb13d108b3734ef /deprecated
parent31e69062b04f482c904d43b3aa7e4ad3dd2e5561 (diff)
downloadorg.eclipse.uml2.test-6da27b1040f5f48627fe8e638e64cacd681d0624.tar.gz
org.eclipse.uml2.test-6da27b1040f5f48627fe8e638e64cacd681d0624.tar.xz
org.eclipse.uml2.test-6da27b1040f5f48627fe8e638e64cacd681d0624.zip
[85176] Removing unnecessary cast.build_200603091723
Diffstat (limited to 'deprecated')
-rw-r--r--deprecated/examples/org.eclipse.uml2.examples.ui/src/org/eclipse/uml2/examples/ui/uml/actions/GenerateProfileAction.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/deprecated/examples/org.eclipse.uml2.examples.ui/src/org/eclipse/uml2/examples/ui/uml/actions/GenerateProfileAction.java b/deprecated/examples/org.eclipse.uml2.examples.ui/src/org/eclipse/uml2/examples/ui/uml/actions/GenerateProfileAction.java
index 5dc80c62..c243f75a 100644
--- a/deprecated/examples/org.eclipse.uml2.examples.ui/src/org/eclipse/uml2/examples/ui/uml/actions/GenerateProfileAction.java
+++ b/deprecated/examples/org.eclipse.uml2.examples.ui/src/org/eclipse/uml2/examples/ui/uml/actions/GenerateProfileAction.java
@@ -8,7 +8,7 @@
* Contributors:
* IBM - initial API and implementation
*
- * $Id: GenerateProfileAction.java,v 1.2 2006/02/22 20:48:27 khussey Exp $
+ * $Id: GenerateProfileAction.java,v 1.3 2006/03/09 21:51:31 khussey Exp $
*/
package org.eclipse.uml2.examples.ui.uml.actions;
@@ -112,8 +112,7 @@ public abstract class GenerateProfileAction
protected EnumerationLiteral generateOwnedLiteral(Enumeration enumeration,
String name) {
- return (EnumerationLiteral) enumeration.getOwnedLiteral(name, false,
- true);
+ return enumeration.getOwnedLiteral(name, false, true);
}
}

Back to the top