Commit d0390c770adb3bdd666b09f342d57c986f5f7e75

Authored by Cleverson Sacramento
1 parent 8f216310
Exists in master

Resolvendo a advertência do Sonar: Modificador 'final' é redundante

impl/extension/jsf/src/main/java/br/gov/frameworkdemoiselle/internal/implementation/ApplicationExceptionHandler.java
@@ -74,7 +74,7 @@ public class ApplicationExceptionHandler extends AbstractExceptionHandler { @@ -74,7 +74,7 @@ public class ApplicationExceptionHandler extends AbstractExceptionHandler {
74 return handled; 74 return handled;
75 } 75 }
76 76
77 - private final boolean isRendering(FacesContext context) { 77 + private boolean isRendering(FacesContext context) {
78 return PhaseId.RENDER_RESPONSE.equals(context.getCurrentPhaseId()); 78 return PhaseId.RENDER_RESPONSE.equals(context.getCurrentPhaseId());
79 } 79 }
80 80
@@ -87,7 +87,7 @@ public class ApplicationExceptionHandler extends AbstractExceptionHandler { @@ -87,7 +87,7 @@ public class ApplicationExceptionHandler extends AbstractExceptionHandler {
87 * @param config 87 * @param config
88 * @return 88 * @return
89 */ 89 */
90 - private final boolean handlingDuringRenderResponse(final Throwable cause, final ExceptionHandlerConfig config) { 90 + private boolean handlingDuringRenderResponse(final Throwable cause, final ExceptionHandlerConfig config) {
91 boolean handled = false; 91 boolean handled = false;
92 try { 92 try {
93 Map<String, Object> map = new HashMap<String, Object>(); 93 Map<String, Object> map = new HashMap<String, Object>();
@@ -104,7 +104,7 @@ public class ApplicationExceptionHandler extends AbstractExceptionHandler { @@ -104,7 +104,7 @@ public class ApplicationExceptionHandler extends AbstractExceptionHandler {
104 } 104 }
105 return handled; 105 return handled;
106 } 106 }
107 - 107 +
108 protected Throwable getRoot(final Throwable throwable) { 108 protected Throwable getRoot(final Throwable throwable) {
109 Throwable root = throwable; 109 Throwable root = throwable;
110 110