Whitespace polishing: leading spaces->tabs; updated eclipse configuration to default to leading tabs for all bundles
This commit is contained in:
@@ -43,7 +43,7 @@ import org.springframework.web.portlet.HandlerMapping;
|
||||
* @see org.springframework.web.portlet.HandlerInterceptor
|
||||
*/
|
||||
public abstract class AbstractHandlerMapping extends ApplicationObjectSupport
|
||||
implements HandlerMapping, Ordered {
|
||||
implements HandlerMapping, Ordered {
|
||||
|
||||
private int order = Integer.MAX_VALUE; // default: same as non-Ordered
|
||||
|
||||
|
||||
@@ -135,12 +135,12 @@ public class SimplePortletPostProcessor
|
||||
|
||||
private final PortletContext portletContext;
|
||||
|
||||
private final PortletConfig portletConfig;
|
||||
private final PortletConfig portletConfig;
|
||||
|
||||
public DelegatingPortletConfig(String portletName, PortletContext portletContext, PortletConfig portletConfig) {
|
||||
public DelegatingPortletConfig(String portletName, PortletContext portletContext, PortletConfig portletConfig) {
|
||||
this.portletName = portletName;
|
||||
this.portletContext = portletContext;
|
||||
this.portletConfig = portletConfig;
|
||||
this.portletConfig = portletConfig;
|
||||
}
|
||||
|
||||
public String getPortletName() {
|
||||
@@ -160,7 +160,7 @@ public class SimplePortletPostProcessor
|
||||
}
|
||||
|
||||
public ResourceBundle getResourceBundle(Locale locale) {
|
||||
return portletConfig == null ? null : portletConfig.getResourceBundle(locale);
|
||||
return portletConfig == null ? null : portletConfig.getResourceBundle(locale);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -148,10 +148,10 @@ public class PortletWrappingController extends AbstractController
|
||||
if (this.portletName == null) {
|
||||
this.portletName = this.beanName;
|
||||
}
|
||||
PortletConfig config = this.portletConfig;
|
||||
if (config == null || !this.useSharedPortletConfig) {
|
||||
config = new DelegatingPortletConfig();
|
||||
}
|
||||
PortletConfig config = this.portletConfig;
|
||||
if (config == null || !this.useSharedPortletConfig) {
|
||||
config = new DelegatingPortletConfig();
|
||||
}
|
||||
this.portletInstance = (Portlet) this.portletClass.newInstance();
|
||||
this.portletInstance.init(config);
|
||||
}
|
||||
@@ -201,7 +201,7 @@ public class PortletWrappingController extends AbstractController
|
||||
public Enumeration getInitParameterNames() {
|
||||
return initParameters.keys();
|
||||
}
|
||||
|
||||
|
||||
public ResourceBundle getResourceBundle(Locale locale) {
|
||||
return (portletConfig != null ? portletConfig.getResourceBundle(locale) : null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user