Remove title, head and body fields
This commit is contained in:
parent
ac5d1a6cc4
commit
1daa648bea
1 changed files with 9 additions and 5 deletions
|
@ -80,10 +80,14 @@ public final class ResponseTrans implements Externalizable {
|
|||
static final long serialVersionUID = -8627370766119740844L;
|
||||
|
||||
/**
|
||||
* the buffers used to build the single body parts -
|
||||
* transient, response must be constructed before this is serialized
|
||||
* string fields that hold a user message
|
||||
*/
|
||||
public transient String title, head, body, message, error;
|
||||
public transient String message;
|
||||
|
||||
/**
|
||||
* string fields that hold an error message
|
||||
*/
|
||||
public transient String error;
|
||||
|
||||
static final int INITIAL_BUFFER_SIZE = 2048;
|
||||
|
||||
|
@ -105,7 +109,7 @@ public final class ResponseTrans implements Externalizable {
|
|||
|
||||
public ResponseTrans () {
|
||||
super ();
|
||||
title = head = body = message = error = null;
|
||||
message = error = null;
|
||||
values = new HashMap ();
|
||||
handlers = new HashMap ();
|
||||
}
|
||||
|
@ -152,7 +156,7 @@ public final class ResponseTrans implements Externalizable {
|
|||
response = null;
|
||||
redir = null;
|
||||
skin = null;
|
||||
title = head = body = message = error = null;
|
||||
message = error = null;
|
||||
values.clear ();
|
||||
lastModified = -1;
|
||||
notModified = false;
|
||||
|
|
Loading…
Add table
Reference in a new issue