Skip to content

Commit

Permalink
make getContext final
Browse files Browse the repository at this point in the history
  • Loading branch information
purplefox committed Jun 11, 2012
1 parent c5dbbb9 commit 209aec4
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 13 deletions.
Expand Up @@ -230,10 +230,6 @@ protected void handleClosed() {
}
}

protected Context getContext() {
return super.getContext();
}

protected void handleException(Exception e) {
super.handleException(e);

Expand Down
Expand Up @@ -194,10 +194,6 @@ protected void handleClosed() {
}
}

protected Context getContext() {
return super.getContext();
}

protected void handleException(Exception e) {
super.handleException(e);
if (currentRequest != null) {
Expand Down
Expand Up @@ -110,7 +110,7 @@ public void closedHandler(Handler<Void> handler) {
this.closedHandler = handler;
}

protected Context getContext() {
protected final Context getContext() {
return context;
}

Expand Down
Expand Up @@ -119,10 +119,6 @@ public void sendFile(String filename) {
super.sendFile(f);
}

protected Context getContext() {
return super.getContext();
}

protected void handleClosed() {
setContext();

Expand Down

0 comments on commit 209aec4

Please sign in to comment.