Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipse-dev] Quick fix stopped working when assert() is in the file


such questions are best asked on the Eclipse newsgroups -
in this case.
One reason why the quick fix is not appearing might be that the code is OK
i.e. you are using 1.4 compiler compliance level.


             Sent by:                                                   To 
             eclipse-dev-admin         "'Eclipse dev'"                     
             02.08.2003 04:13                                      Subject 
                                       [eclipse-dev] Quick fix stopped     
                                       working when assert() is in the     
             Please respond to         file                                

If you bring up the included java file in your java editor (running
2.1.1 build 200306271545) and uncomment the assert line, this quick fix
for the non-existent member function stops working.

Any ideas? My first question here, if this is the wrong place/procedure
let me know. I'm an eclipse user, not dev'r


 * Created on Aug 1, 2003
 * By Bill Ataras (bill at ataras dot com)
package com.aow.cache;

import junit.framework.TestCase;

 * @author Dad
 * To change the template for this generated type comment go to
 * Window>Preferences>Java>Code Generation>Code and Comments
public class CacheTest extends TestCase {
             Object obj;
              * Constructor for CacheTest.
              * @param arg0
             public CacheTest(String arg0) {

             public void testStart(){
//                       assert(obj==null);

             public void testGetuser(){

              * @see TestCase#setUp()
             protected void setUp() throws Exception {

eclipse-dev mailing list

Back to the top