diff options
author | Noel Grandin <noel@peralex.com> | 2015-02-03 15:46:35 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-20 11:18:22 +0200 |
commit | 04cadb3191573dff59c79a7780a4139ed148f122 (patch) | |
tree | 036dabc9c084c2ee225aadaa2d82bad02a0c4278 /ucb | |
parent | 14bc818895a5cc10054928b5cbb49eaff086e8f4 (diff) |
java: remove some unused code
Change-Id: If1cdc67535b11d9309503b14ffad2aa3718661c6
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/qa/complex/tdoc/_XComponent.java | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/ucb/qa/complex/tdoc/_XComponent.java b/ucb/qa/complex/tdoc/_XComponent.java index 47e920131cec..1f86128ffc32 100644 --- a/ucb/qa/complex/tdoc/_XComponent.java +++ b/ucb/qa/complex/tdoc/_XComponent.java @@ -69,15 +69,6 @@ public class _XComponent { private final XEventListener listener2 = new MyEventListener2(); /** - * For the cfgmgr2.OSetElement tests: dispose the owner element. - */ - protected void before() { - // do not dispose this component, but parent instead -// altDispose = (XComponent)tEnv.getObjRelation("XComponent.DisposeThis"); - - } - - /** * Adds two listeners. <p> * Has OK status if then the first listener will receive an event * on <code>dispose</code> method call. @@ -112,40 +103,6 @@ public class _XComponent { private boolean disposed = false; - /** - * Disposes the object and then check appropriate listeners were - * called or not. <p> - * Method tests to be completed successfully : - * <ul> - * <li> <code>removeEventListener</code> : method must remove one of two - * listeners. </li> - * </ul> <p> - * Has OK status if liseter removed wasn't called and other listener - * was. - */ - public boolean _dispose() { - disposed = false; - - log.println( "begin dispose" + Thread.currentThread()); - oObj.dispose(); - - util.utils.pause(500); - if (Loutput[0]!=null) log.println(Loutput[0]); - if (Loutput[1]!=null) log.println(Loutput[1]); - log.println( "end dispose" + Thread.currentThread()); - disposed = true; - - // check that dispose() works OK. - return listenerDisposed[0] && !listenerDisposed[1]; - - } // finished _dispose() - - /** - * Forces object recreation. - */ - protected void after() { - } - } // finished class _XComponent |