Hi,
I have the following class...
public class DateException extends Exception{
private int exSubtype;
public DateException(String message, int subtype) {
super(message);
this.exSubtype = subtype;
}
public int getExSubtype() {
return exSubtype;
}
}
... and I want to rename the private field, from exSubtype to exSubtypeq. If I choose to rename the getters and setters as well, I get the following code (note that the occurences have been renamed after the getter - the renamed one - rather than the new variable name).
public class DateException extends Exception{
private int exSubtypeq;
public DateException(String message, int subtype) {
super(message);
this.getExSubtypeq = subtype;
}
public int getExSubtypeq() {
return getExSubtypeq;
}
}
Build 605, win2K, jdk 1.3.1
Regards,
Andrei
