Author: tfmorris
Date: 2007-06-30 13:07:51-0700
New Revision: 12937
Modified:
trunk/src_new/org/argouml/notation/NotationProviderFactory2.java
trunk/src_new/org/argouml/uml/diagram/state/ui/FigStateVertex.java
trunk/src_new/org/argouml/uml/diagram/static_structure/layout/ClassdiagramAssociationEdge.java
trunk/src_new/org/argouml/uml/reveng/java/Context.java
trunk/src_new/org/argouml/uml/ui/foundation/core/UMLGeneralizableElementSpecializationListModel.java
Log:
Style warning cleanups
Modified: trunk/src_new/org/argouml/notation/NotationProviderFactory2.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/notation/NotationProviderFactory2.java?view=diff&rev=12937&p1=trunk/src_new/org/argouml/notation/NotationProviderFactory2.java&p2=trunk/src_new/org/argouml/notation/NotationProviderFactory2.java&r1=12936&r2=12937
==============================================================================
--- trunk/src_new/org/argouml/notation/NotationProviderFactory2.java (original)
+++ trunk/src_new/org/argouml/notation/NotationProviderFactory2.java 2007-06-30 13:07:51-0700
@@ -210,7 +210,7 @@
try {
Class[] mp = {};
Method m = clazz.getMethod("getInstance", mp);
- return (NotationProvider) m.invoke(null, mp);
+ return (NotationProvider) m.invoke(null, (Object[]) mp);
} catch (Exception e) {
Class[] cp = {Object.class};
Constructor constructor = clazz.getConstructor(cp);
Modified: trunk/src_new/org/argouml/uml/diagram/state/ui/FigStateVertex.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/uml/diagram/state/ui/FigStateVertex.java?view=diff&rev=12937&p1=trunk/src_new/org/argouml/uml/diagram/state/ui/FigStateVertex.java&p2=trunk/src_new/org/argouml/uml/diagram/state/ui/FigStateVertex.java&r1=12936&r2=12937
==============================================================================
--- trunk/src_new/org/argouml/uml/diagram/state/ui/FigStateVertex.java (original)
+++ trunk/src_new/org/argouml/uml/diagram/state/ui/FigStateVertex.java 2007-06-30 13:07:51-0700
@@ -156,7 +156,7 @@
/**
* Number of points to compute for gravity point circle.
*/
- private final static int CIRCLE_POINTS = 32;
+ private static final int CIRCLE_POINTS = 32;
/**
* Return a list of gravity points around circle which is enclosed
Modified: trunk/src_new/org/argouml/uml/diagram/static_structure/layout/ClassdiagramAssociationEdge.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/uml/diagram/static_structure/layout/ClassdiagramAssociationEdge.java?view=diff&rev=12937&p1=trunk/src_new/org/argouml/uml/diagram/static_structure/layout/ClassdiagramAssociationEdge.java&p2=trunk/src_new/org/argouml/uml/diagram/static_structure/layout/ClassdiagramAssociationEdge.java&r1=12936&r2=12937
==============================================================================
--- trunk/src_new/org/argouml/uml/diagram/static_structure/layout/ClassdiagramAssociationEdge.java (original)
+++ trunk/src_new/org/argouml/uml/diagram/static_structure/layout/ClassdiagramAssociationEdge.java 2007-06-30 13:07:51-0700
@@ -48,7 +48,7 @@
/**
* Size of self association edges.
*/
- private final static int SELF_SIZE = 30;
+ private static final int SELF_SIZE = 30;
/*
* @see org.argouml.uml.diagram.layout.LayoutedEdge#layout()
Modified: trunk/src_new/org/argouml/uml/reveng/java/Context.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/uml/reveng/java/Context.java?view=diff&rev=12937&p1=trunk/src_new/org/argouml/uml/reveng/java/Context.java&p2=trunk/src_new/org/argouml/uml/reveng/java/Context.java&r1=12936&r2=12937
==============================================================================
--- trunk/src_new/org/argouml/uml/reveng/java/Context.java (original)
+++ trunk/src_new/org/argouml/uml/reveng/java/Context.java 2007-06-30 13:07:51-0700
@@ -71,7 +71,7 @@
* Return a classifier restricting the search to Interfaces only.
*
* @param name the name of the Interface to search for
- * @return
+ * @return an Interface with the given name
* @throws ClassifierNotFoundException
*/
public abstract Object getInterface(String name)
Modified: trunk/src_new/org/argouml/uml/ui/foundation/core/UMLGeneralizableElementSpecializationListModel.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/uml/ui/foundation/core/UMLGeneralizableElementSpecializationListModel.java?view=diff&rev=12937&p1=trunk/src_new/org/argouml/uml/ui/foundation/core/UMLGeneralizableElementSpecializationListModel.java&p2=trunk/src_new/org/argouml/uml/ui/foundation/core/UMLGeneralizableElementSpecializationListModel.java&r1=12936&r2=12937
==============================================================================
--- trunk/src_new/org/argouml/uml/ui/foundation/core/UMLGeneralizableElementSpecializationListModel.java (original)
+++ trunk/src_new/org/argouml/uml/ui/foundation/core/UMLGeneralizableElementSpecializationListModel.java 2007-06-30 13:07:51-0700
@@ -44,19 +44,15 @@
true);
}
- /*
- * @see org.argouml.uml.ui.UMLModelElementListModel2#buildModelList()
- */
+ @Override
protected void buildModelList() {
- if (getTarget() != null &&
- Model.getFacade().isAGeneralizableElement(getTarget())) {
+ if (getTarget() != null
+ && Model.getFacade().isAGeneralizableElement(getTarget())) {
setAllElements(Model.getFacade().getSpecializations(getTarget()));
}
}
- /*
- * @see org.argouml.uml.ui.UMLModelElementListModel2#isValidElement(Object)
- */
+ @Override
protected boolean isValidElement(Object element) {
return Model.getFacade().isAGeneralization(element)
&& Model.getFacade().getSpecializations(getTarget())
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.