Problem 1:
You cannot use "extract variable" to transform
private static final int COOKIE_LIFESPAN = 60 * 24 * 3600;
into
private static final int DAY_IN_SECONDS = 24 * 3600;
private static final int COOKIE_LIFESPAN = 60 * DAY_IN_SECONDS;
Problem 2:
You cannot use "Inline" on 'DAY_IN_SECONDS', to reverse the process.
In both case, you receive an error message.
I see no reason to forbid those refactorings.
Alain Ravet
_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list