Polishing
This commit is contained in:
parent
738c643592
commit
0c51cd7fd3
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2002-2006 the original author or authors.
|
||||
* Copyright 2002-2012 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
|
@ -32,6 +32,7 @@ import javax.faces.context.FacesContext;
|
|||
*
|
||||
* @author Juergen Hoeller
|
||||
* @since 1.2.7
|
||||
* @see #handleNavigation(javax.faces.context.FacesContext, String, String, NavigationHandler)
|
||||
* @see DelegatingNavigationHandlerProxy
|
||||
*/
|
||||
public abstract class DecoratingNavigationHandler extends NavigationHandler {
|
||||
|
|
@ -58,7 +59,7 @@ public abstract class DecoratingNavigationHandler extends NavigationHandler {
|
|||
* (that is, if passed in through the constructor).
|
||||
*/
|
||||
public final NavigationHandler getDecoratedNavigationHandler() {
|
||||
return decoratedNavigationHandler;
|
||||
return this.decoratedNavigationHandler;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2002-2006 the original author or authors.
|
||||
* Copyright 2002-2012 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
|
@ -128,7 +128,7 @@ public class DelegatingNavigationHandlerProxy extends NavigationHandler {
|
|||
*/
|
||||
protected NavigationHandler getDelegate(FacesContext facesContext) {
|
||||
String targetBeanName = getTargetBeanName(facesContext);
|
||||
return (NavigationHandler) getBeanFactory(facesContext).getBean(targetBeanName, NavigationHandler.class);
|
||||
return getBeanFactory(facesContext).getBean(targetBeanName, NavigationHandler.class);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue