Author: tfmorris
Date: 2007-11-23 15:42:25-0800
New Revision: 13824
Modified:
trunk/src_new/org/argouml/application/Main.java
trunk/src_new/org/argouml/cognitive/CompoundCritic.java
trunk/src_new/org/argouml/cognitive/ResolvedCritic.java
trunk/src_new/org/argouml/cognitive/ui/ToDoPane.java
trunk/src_new/org/argouml/cognitive/ui/WizStepChoice.java
trunk/src_new/org/argouml/ui/TabResults.java
trunk/src_new/org/argouml/uml/TMResults.java
Log:
Don't need to deprecate methods in the cases where the types are compatible
Modified: trunk/src_new/org/argouml/application/Main.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/application/Main.java?view=diff&rev=13824&p1=trunk/src_new/org/argouml/application/Main.java&p2=trunk/src_new/org/argouml/application/Main.java&r1=13823&r2=13824
==============================================================================
--- trunk/src_new/org/argouml/application/Main.java (original)
+++ trunk/src_new/org/argouml/application/Main.java 2007-11-23 15:42:25-0800
@@ -39,7 +39,6 @@
import java.util.Iterator;
import java.util.List;
import java.util.Properties;
-import java.util.Vector;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
@@ -76,10 +75,10 @@
import org.argouml.ui.cmd.ActionExit;
import org.argouml.ui.cmd.InitUiCmdSubsystem;
import org.argouml.ui.cmd.PrintManager;
+import org.argouml.uml.diagram.ui.InitDiagramAppearanceUI;
import org.argouml.uml.reveng.java.JavaImport;
import org.argouml.util.logging.SimpleTimer;
import org.tigris.gef.util.Util;
-import org.argouml.uml.diagram.ui.InitDiagramAppearanceUI;
/**
* This is the main class for two of the types
@@ -274,7 +273,7 @@
SubsystemUtility.initSubsystem(new InitModuleLoader());
- // Initialize the Java code generator.
+ // Initialize the Java code generator. (why so early? - tfm)
GeneratorJava.getInstance();
// The reason the gui is initialized before the commands are run
@@ -780,7 +779,7 @@
"SPACE", "pressed",
"released SPACE", "released"
})
- );
+ );
return pb;
}
@@ -815,16 +814,6 @@
*/
private List<Runnable> postLoadActions;
- /**
- * Constructor.
- *
- * @param v The actions to perform.
- * @deprecated for 0.25.4 by tfmorris. Use {@link #PostLoad(List)}.
- */
- @Deprecated
- public PostLoad(Vector<Runnable> v) {
- this((List<Runnable>) v);
- }
/**
* Constructor.
Modified: trunk/src_new/org/argouml/cognitive/CompoundCritic.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/cognitive/CompoundCritic.java?view=diff&rev=13824&p1=trunk/src_new/org/argouml/cognitive/CompoundCritic.java&p2=trunk/src_new/org/argouml/cognitive/CompoundCritic.java&r1=13823&r2=13824
==============================================================================
--- trunk/src_new/org/argouml/cognitive/CompoundCritic.java (original)
+++ trunk/src_new/org/argouml/cognitive/CompoundCritic.java 2007-11-23 15:42:25-0800
@@ -105,20 +105,6 @@
critics.add(c4);
}
- ////////////////////////////////////////////////////////////////
- // accessors
-
- /**
- * @param c
- * the new list of critics that completely replaces the old list
- * @deprecated for 0.25.4 by tfmorris. Use {@link #setCritics(List)}.
- * Unused in ArgoUML. Can be scheduled for speedy removal.
- */
- @Deprecated
- public void setCritics(Vector<Critic> c) {
- critics = c;
- }
-
/**
* @param c the new list of critics that completely
* replaces the old list
Modified: trunk/src_new/org/argouml/cognitive/ResolvedCritic.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/cognitive/ResolvedCritic.java?view=diff&rev=13824&p1=trunk/src_new/org/argouml/cognitive/ResolvedCritic.java&p2=trunk/src_new/org/argouml/cognitive/ResolvedCritic.java&r1=13823&r2=13824
==============================================================================
--- trunk/src_new/org/argouml/cognitive/ResolvedCritic.java (original)
+++ trunk/src_new/org/argouml/cognitive/ResolvedCritic.java 2007-11-23 15:42:25-0800
@@ -26,7 +26,6 @@
import java.util.ArrayList;
import java.util.List;
-import java.util.Vector;
import org.apache.log4j.Logger;
@@ -54,22 +53,9 @@
*/
private List<String> offenders;
- /**
- * Creates a new ResolvedCritic using the name of the Critic and the
- * Vector of objects that triggered the Critic given as parameters.
- *
- * @param cr The name of the Critic that has been resolved
- * @param offs The Vector of related objects.
- * @deprecated for 0.25.4 by tfmorris. Use
- * {@link #ResolvedCritic(String, List)}.
- */
- @Deprecated
- public ResolvedCritic(String cr, Vector offs) {
- this(cr, (List) offs);
- }
/**
- * Creates a new ResolvedCritic using the name of the Critic and the
+ * Create a new ResolvedCritic using the name of the Critic and the
* List of objects that triggered the Critic given as parameters.
*
* @param cr The name of the Critic that has been resolved
Modified: trunk/src_new/org/argouml/cognitive/ui/ToDoPane.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/cognitive/ui/ToDoPane.java?view=diff&rev=13824&p1=trunk/src_new/org/argouml/cognitive/ui/ToDoPane.java&p2=trunk/src_new/org/argouml/cognitive/ui/ToDoPane.java&r1=13823&r2=13824
==============================================================================
--- trunk/src_new/org/argouml/cognitive/ui/ToDoPane.java (original)
+++ trunk/src_new/org/argouml/cognitive/ui/ToDoPane.java 2007-11-23 15:42:25-0800
@@ -206,15 +206,6 @@
/**
* @param pers the perspectives
- * @deprecated for 0.25.4 by tfmorris. Use {@link #setPerspectives(List)}.
- */
- @Deprecated
- public void setPerspectives(Vector<ToDoPerspective> pers) {
- setPerspectives((List<ToDoPerspective>) pers);
- }
-
- /**
- * @param pers the perspectives
*/
public void setPerspectives(List<ToDoPerspective> pers) {
perspectives = pers;
Modified: trunk/src_new/org/argouml/cognitive/ui/WizStepChoice.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/cognitive/ui/WizStepChoice.java?view=diff&rev=13824&p1=trunk/src_new/org/argouml/cognitive/ui/WizStepChoice.java&p2=trunk/src_new/org/argouml/cognitive/ui/WizStepChoice.java&r1=13823&r2=13824
==============================================================================
--- trunk/src_new/org/argouml/cognitive/ui/WizStepChoice.java (original)
+++ trunk/src_new/org/argouml/cognitive/ui/WizStepChoice.java 2007-11-23 15:42:25-0800
@@ -29,7 +29,6 @@
import java.awt.event.ActionEvent;
import java.util.ArrayList;
import java.util.List;
-import java.util.Vector;
import javax.swing.JLabel;
import javax.swing.JRadioButton;
@@ -60,20 +59,6 @@
* @param w the wizard
* @param instr the instructions
* @param ch the choices
- * @deprecated for 0.25.4 by tfmorris.
- * Use {@link #WizStepChoice(Wizard, String, List)}.
- */
- @Deprecated
- public WizStepChoice(Wizard w, String instr, Vector<String> ch) {
- this(w, instr, (List<String>) ch);
- }
-
- /**
- * The constructor.
- *
- * @param w the wizard
- * @param instr the instructions
- * @param ch the choices
*/
public WizStepChoice(Wizard w, String instr, List<String> ch) {
// store wizard?
Modified: trunk/src_new/org/argouml/ui/TabResults.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/ui/TabResults.java?view=diff&rev=13824&p1=trunk/src_new/org/argouml/ui/TabResults.java&p2=trunk/src_new/org/argouml/ui/TabResults.java&r1=13823&r2=13824
==============================================================================
--- trunk/src_new/org/argouml/ui/TabResults.java (original)
+++ trunk/src_new/org/argouml/ui/TabResults.java 2007-11-23 15:42:25-0800
@@ -35,7 +35,6 @@
import java.util.ArrayList;
import java.util.Enumeration;
import java.util.List;
-import java.util.Vector;
import javax.swing.BorderFactory;
import javax.swing.JLabel;
@@ -184,16 +183,6 @@
/**
* @param res the results
* @param dia the diagrams
- * @deprecated for 0.25.4 by tfmorris. Use {@link #setResults(List, List)}.
- */
- @Deprecated
- public void setResults(Vector res, Vector dia) {
- setResults((List) res, (List) dia);
- }
-
- /**
- * @param res the results
- * @param dia the diagrams
*/
public void setResults(List res, List dia) {
results = res;
Modified: trunk/src_new/org/argouml/uml/TMResults.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/uml/TMResults.java?view=diff&rev=13824&p1=trunk/src_new/org/argouml/uml/TMResults.java&p2=trunk/src_new/org/argouml/uml/TMResults.java&r1=13823&r2=13824
==============================================================================
--- trunk/src_new/org/argouml/uml/TMResults.java (original)
+++ trunk/src_new/org/argouml/uml/TMResults.java 2007-11-23 15:42:25-0800
@@ -25,7 +25,6 @@
package org.argouml.uml;
import java.util.List;
-import java.util.Vector;
import javax.swing.table.AbstractTableModel;
@@ -67,15 +66,6 @@
/**
* @param results the row objects
* @param theDiagrams the diagrams
- * @deprecated for 0.25.4 by tfmorris. Use {@link #setTarget(List, List)}.
- */
- public void setTarget(Vector results, Vector theDiagrams) {
- setTarget((List) results, (List) theDiagrams);
- }
-
- /**
- * @param results the row objects
- * @param theDiagrams the diagrams
*/
public void setTarget(List results, List theDiagrams) {
rowObjects = results;
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.