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



Bill,

such questions are best asked on the Eclipse newsgroups - eclipse.tools.jdt
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.

HTH
Dani


                                                                           
             <Eclipse@ataras.c                                             
             om>                                                           
             Sent by:                                                   To 
             eclipse-dev-admin         "'Eclipse dev'"                     
             @eclipse.org              <eclipse-dev@xxxxxxxxxxx>           
                                                                        cc 
                                                                           
             02.08.2003 04:13                                      Subject 
                                       [eclipse-dev] Quick fix stopped     
                                       working when assert() is in the     
             Please respond to         file                                
             eclipse-dev@eclip                                             
                  se.org                                                   
                                                                           
                                                                           
                                                                           
                                                                           




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

Thanks

/*
 * 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) {
                         super(arg0);
             }

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

             public void testGetuser(){
                         bug();
             }

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


_______________________________________________
eclipse-dev mailing list
eclipse-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/eclipse-dev




Back to the top