Removing deprecated setImageBase method from tree.
git-svn-id: https://google-web-toolkit.googlecode.com/svn/releases/1.6@4275 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/src/com/google/gwt/user/client/ui/Tree.java b/user/src/com/google/gwt/user/client/ui/Tree.java
index 292bdfb..18e4c63 100644
--- a/user/src/com/google/gwt/user/client/ui/Tree.java
+++ b/user/src/com/google/gwt/user/client/ui/Tree.java
@@ -638,22 +638,6 @@
}
/**
- * Sets the base URL under which this tree will find its default images. These
- * images must be named "tree_white.gif", "tree_open.gif", and
- * "tree_closed.gif".
- *
- * @param baseUrl
- * @deprecated Use {@link #Tree(TreeImages)} as it provides a more efficent
- * and manageable way to supply a set of images to be used within
- * a tree.
- */
- @Deprecated
- public void setImageBase(String baseUrl) {
- images = new ImagesFromImageBase(baseUrl);
- root.updateStateRecursive();
- }
-
- /**
* Selects a specified item.
*
* @param item the item to be selected, or <code>null</code> to deselect all
diff --git a/user/test/com/google/gwt/user/client/ui/TreeTest.java b/user/test/com/google/gwt/user/client/ui/TreeTest.java
index 04443f6..733c810 100644
--- a/user/test/com/google/gwt/user/client/ui/TreeTest.java
+++ b/user/test/com/google/gwt/user/client/ui/TreeTest.java
@@ -280,12 +280,7 @@
parent.addItem("child");
t.addItem(parent);
RootPanel.get().add(t);
-
- // This was throwing UnsupportedOperationException at one point (just
- // before the 1.5 release), because of additions to ImagePrototype. If
- // that were to creep back in, we'd see an exception.
- t.setImageBase("");
-
+
// Make sure the parent open/close image actually got created (there's
// no actual public image file to back this up, but it won't matter from
// the standpoint of this test).