Removed 'f' prefixes from fields
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@54 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/super/com/google/gwt/emul/java/lang/Throwable.java b/user/super/com/google/gwt/emul/java/lang/Throwable.java
index 04bb5bd..91067a3 100644
--- a/user/super/com/google/gwt/emul/java/lang/Throwable.java
+++ b/user/super/com/google/gwt/emul/java/lang/Throwable.java
@@ -30,17 +30,17 @@
}
public Throwable(String message) {
- fMessage = message;
+ this.message = message;
}
public Throwable(String message, Throwable cause) {
- fCause = cause;
- fMessage = message;
+ this.cause = cause;
+ this.message = message;
}
public Throwable(Throwable cause) {
- fMessage = (cause == null) ? null : cause.toString();
- fCause = cause;
+ this.message = (cause == null) ? null : cause.toString();
+ this.cause = cause;
}
/**
@@ -53,7 +53,7 @@
}
public Throwable getCause() {
- return fCause;
+ return cause;
}
public String getLocalizedMessage() {
@@ -61,7 +61,7 @@
}
public String getMessage() {
- return fMessage;
+ return message;
}
/**
@@ -74,13 +74,13 @@
}
public Throwable initCause(Throwable cause) {
- if (fCause != null) {
+ if (cause != null) {
throw new IllegalStateException("Can't overwrite cause");
}
if (cause == this) {
throw new IllegalArgumentException("Self-causation not permitted");
}
- fCause = cause;
+ cause = cause;
return this;
}
@@ -117,6 +117,6 @@
}
}
- private Throwable fCause;
- private String fMessage;
+ private Throwable cause;
+ private String message;
}