Rename pushStringBuffer() and popStringBuffer() to push() and pop().
Keeping old versions for backwards-compatibility for the time being.
This commit is contained in:
parent
5647d2bfdc
commit
a79dfbde18
1 changed files with 23 additions and 6 deletions
|
@ -393,21 +393,38 @@ public class ResponseBean implements Serializable {
|
||||||
res.digestDependencies();
|
res.digestDependencies();
|
||||||
}
|
}
|
||||||
|
|
||||||
/////////////////////////////////////
|
/**
|
||||||
// The following are legacy methods used by
|
* Push a string buffer on the response object. All further
|
||||||
// Helma templates (*.hsp files) and shouldn't
|
* writes will be redirected to this buffer.
|
||||||
// be used otherwise.
|
*/
|
||||||
////////////////////////////////////
|
public void push() {
|
||||||
|
res.pushStringBuffer();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Pop a string buffer from the response object containing
|
||||||
|
* all the writes since the last pushBuffer
|
||||||
|
*
|
||||||
|
* @return ...
|
||||||
|
*/
|
||||||
|
public String pop() {
|
||||||
|
return res.popStringBuffer();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Old version for push() kept for compatibility
|
||||||
|
*/
|
||||||
public void pushStringBuffer() {
|
public void pushStringBuffer() {
|
||||||
res.pushStringBuffer();
|
res.pushStringBuffer();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
* Old version for pop() kept for compatibility
|
||||||
*
|
*
|
||||||
* @return ...
|
* @return ...
|
||||||
*/
|
*/
|
||||||
public String popStringBuffer() {
|
public String popStringBuffer() {
|
||||||
return res.popStringBuffer();
|
return res.popStringBuffer();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue