Nils,
this is fixed in #630. Thank you for the report!
Friendly,
Dmitry
Nils Decker wrote:
>
> public int foo(int x) {
> if ( x == 0 ) return x;
> return foo(x-1);
> }
>
> Refactor: make method static gives an assertion failed.
> After the refactoring the code looks like this:
>
> public static int foo(Muster muster, int x) {
> if ( x == 0 ) return x;
> return muster.foo(x-1);
> }
>
>
> [1303414] ERROR - com.intellij.command.b.b -
> [1303414] ERROR - com.intellij.command.b.b - IntelliJ IDEA (Ariadna) 3.0
>Build #629
> [1303414] ERROR - com.intellij.command.b.b - JDK: 1.3.1_02
> [1303414] ERROR - com.intellij.command.b.b - VM: Java HotSpot(TM) Client VM
> [1303415] ERROR - com.intellij.command.b.b - Vendor: Sun Microsystems Inc.
> [1303415] ERROR - com.intellij.command.b.b - OS: Linux
> [1303415] ERROR - com.intellij.command.b.b -
> java.lang.NullPointerException
> at com.intellij.refactoring.q.l.a(l.java:78)
> [stack trace skipped]
> Regards
> Nils
>
--
Dmitry Lomov
JetBrains Inc. / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"
_______________________________________________
Eap-bugs mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-bugs