You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by pm...@apache.org on 2016/11/27 20:08:43 UTC
svn commit: r1771637 -
/jmeter/trunk/src/core/org/apache/jmeter/gui/GuiPackage.java
Author: pmouawad
Date: Sun Nov 27 20:08:43 2016
New Revision: 1771637
URL: http://svn.apache.org/viewvc?rev=1771637&view=rev
Log:
Drop deprecated code
Modified:
jmeter/trunk/src/core/org/apache/jmeter/gui/GuiPackage.java
Modified: jmeter/trunk/src/core/org/apache/jmeter/gui/GuiPackage.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/gui/GuiPackage.java?rev=1771637&r1=1771636&r2=1771637&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/gui/GuiPackage.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/gui/GuiPackage.java Sun Nov 27 20:08:43 2016
@@ -175,27 +175,7 @@ public final class GuiPackage implements
guiPack.undoHistory.add(treeModel, "Created");
GuiPackage.guiPack = guiPack;
}
-
- /**
- * When GuiPackage is requested for the first time, it should be given
- * handles to JMeter's Tree Listener and TreeModel.
- *
- * @param listener
- * the TreeListener for JMeter's test tree
- * @param treeModel
- * the model for JMeter's test tree
- *
- * @return GuiPackage
- * @deprecated Will be removed in next version. Use {@link GuiPackage#initInstance(JMeterTreeListener, JMeterTreeModel)}
- */
- @Deprecated
- public static GuiPackage getInstance(JMeterTreeListener listener, JMeterTreeModel treeModel) {
- if(guiPack == null) {
- initInstance(listener, treeModel);
- }
- return GuiPackage.guiPack;
- }
-
+
/**
* Get a JMeterGUIComponent for the specified test element. If the GUI has