Polishing
This commit is contained in:
@@ -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");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with 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
|
* @author Juergen Hoeller
|
||||||
* @since 1.2.7
|
* @since 1.2.7
|
||||||
|
* @see #handleNavigation(javax.faces.context.FacesContext, String, String, NavigationHandler)
|
||||||
* @see DelegatingNavigationHandlerProxy
|
* @see DelegatingNavigationHandlerProxy
|
||||||
*/
|
*/
|
||||||
public abstract class DecoratingNavigationHandler extends NavigationHandler {
|
public abstract class DecoratingNavigationHandler extends NavigationHandler {
|
||||||
@@ -58,7 +59,7 @@ public abstract class DecoratingNavigationHandler extends NavigationHandler {
|
|||||||
* (that is, if passed in through the constructor).
|
* (that is, if passed in through the constructor).
|
||||||
*/
|
*/
|
||||||
public final NavigationHandler getDecoratedNavigationHandler() {
|
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");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with 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) {
|
protected NavigationHandler getDelegate(FacesContext facesContext) {
|
||||||
String targetBeanName = getTargetBeanName(facesContext);
|
String targetBeanName = getTargetBeanName(facesContext);
|
||||||
return (NavigationHandler) getBeanFactory(facesContext).getBean(targetBeanName, NavigationHandler.class);
|
return getBeanFactory(facesContext).getBean(targetBeanName, NavigationHandler.class);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user