Code reformat.
This commit is contained in:
parent
a64147959f
commit
e8e421b159
8 changed files with 12 additions and 16 deletions
|
@ -52,8 +52,7 @@ public class CauseTag extends XmlSupport {
|
||||||
@Override
|
@Override
|
||||||
public void doTag() throws IOException {
|
public void doTag() throws IOException {
|
||||||
final PageContext pageContext = (PageContext) getJspContext();
|
final PageContext pageContext = (PageContext) getJspContext();
|
||||||
@SuppressWarnings("PMD.CloseResource")
|
@SuppressWarnings("PMD.CloseResource") final JspWriter out = pageContext.getOut();
|
||||||
final JspWriter out = pageContext.getOut();
|
|
||||||
|
|
||||||
String cause;
|
String cause;
|
||||||
|
|
||||||
|
|
|
@ -51,8 +51,7 @@ public class CodeTag extends SimpleTagSupport {
|
||||||
@Override
|
@Override
|
||||||
public void doTag() throws IOException {
|
public void doTag() throws IOException {
|
||||||
final PageContext pageContext = (PageContext) getJspContext();
|
final PageContext pageContext = (PageContext) getJspContext();
|
||||||
@SuppressWarnings("PMD.CloseResource")
|
@SuppressWarnings("PMD.CloseResource") final JspWriter out = pageContext.getOut();
|
||||||
final JspWriter out = pageContext.getOut();
|
|
||||||
|
|
||||||
out.write(String.valueOf(pageContext.getErrorData().getStatusCode()));
|
out.write(String.valueOf(pageContext.getErrorData().getStatusCode()));
|
||||||
}
|
}
|
||||||
|
|
|
@ -52,8 +52,7 @@ public class MessageTag extends XmlSupport {
|
||||||
@Override
|
@Override
|
||||||
public void doTag() throws IOException {
|
public void doTag() throws IOException {
|
||||||
final PageContext pageContext = (PageContext) getJspContext();
|
final PageContext pageContext = (PageContext) getJspContext();
|
||||||
@SuppressWarnings("PMD.CloseResource")
|
@SuppressWarnings("PMD.CloseResource") final JspWriter out = pageContext.getOut();
|
||||||
final JspWriter out = pageContext.getOut();
|
|
||||||
|
|
||||||
final String message = (String) pageContext.getRequest().getAttribute(
|
final String message = (String) pageContext.getRequest().getAttribute(
|
||||||
javax.servlet.RequestDispatcher.ERROR_MESSAGE);
|
javax.servlet.RequestDispatcher.ERROR_MESSAGE);
|
||||||
|
|
|
@ -56,8 +56,7 @@ public class ReasonTag extends XmlSupport {
|
||||||
@Override
|
@Override
|
||||||
public void doTag() {
|
public void doTag() {
|
||||||
final PageContext pageContext = (PageContext) getJspContext();
|
final PageContext pageContext = (PageContext) getJspContext();
|
||||||
@SuppressWarnings("PMD.CloseResource")
|
@SuppressWarnings("PMD.CloseResource") final JspWriter out = pageContext.getOut();
|
||||||
final JspWriter out = pageContext.getOut();
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if (statusCode > -1) {
|
if (statusCode > -1) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue