Author: gseitz
Date: Sun May 18 13:11:43 2008
New Revision: 657625
URL: http://svn.apache.org/viewvc?rev=657625&view=rev
Log:
cleanup
Modified:
wicket/trunk/wicket-spring/src/main/java/org/apache/wicket/spring/SpringBeanLocator.java
wicket/trunk/wicket-spring/src/main/java/org/apache/wicket/spring/SpringWebApplication.java
wicket/trunk/wicket-spring/src/main/java/org/apache/wicket/spring/SpringWebApplicationFactory.java
wicket/trunk/wicket-spring/src/main/java/org/apache/wicket/spring/injection/annot/AnnotProxyFieldValueFactory.java
wicket/trunk/wicket-spring/src/main/java/org/apache/wicket/spring/injection/annot/AnnotSpringInjector.java
wicket/trunk/wicket-spring/src/main/java/org/apache/wicket/spring/injection/annot/AnnotSpringWebApplication.java
wicket/trunk/wicket-spring/src/main/java/org/apache/wicket/spring/injection/annot/SpringComponentInjector.java
wicket/trunk/wicket-spring/src/main/java/org/apache/wicket/spring/injection/annot/test/AnnotApplicationContextMock.java
wicket/trunk/wicket-spring/src/main/java/org/apache/wicket/spring/test/ApplicationContextMock.java
wicket/trunk/wicket-spring/src/main/java/org/apache/wicket/spring/test/SpringContextLocatorMock.java
wicket/trunk/wicket-spring/src/test/java/org/apache/wicket/spring/Bean.java
wicket/trunk/wicket-spring/src/test/java/org/apache/wicket/util/license/ApacheLicenceHeaderTest.java
Modified:
wicket/trunk/wicket-spring/src/main/java/org/apache/wicket/spring/SpringBeanLocator.java
URL:
http://svn.apache.org/viewvc/wicket/trunk/wicket-spring/src/main/java/org/apache/wicket/spring/SpringBeanLocator.java?rev=657625&r1=657624&r2=657625&view=diff
==============================================================================
---
wicket/trunk/wicket-spring/src/main/java/org/apache/wicket/spring/SpringBeanLocator.java
(original)
+++
wicket/trunk/wicket-spring/src/main/java/org/apache/wicket/spring/SpringBeanLocator.java
Sun May 18 13:11:43 2008
@@ -36,6 +36,8 @@
*/
public class SpringBeanLocator implements IProxyTargetLocator
{
+ private static final long serialVersionUID = 1L;
+
// Weak reference so we don't hold up WebApp classloader garbage
collection.
private transient WeakReference<Class< ? >> beanTypeCache;
@@ -51,9 +53,9 @@
* Constructor
*
* @param beanType
- * bean class
+ * bean class
* @param locator
- * spring context locator
+ * spring context locator
*/
public SpringBeanLocator(Class< ? > beanType, ISpringContextLocator
locator)
{
@@ -64,11 +66,11 @@
* Constructor
*
* @param beanName
- * bean name
+ * bean name
* @param beanType
- * bean class
+ * bean class
* @param locator
- * spring context locator
+ * spring context locator
*/
public SpringBeanLocator(String beanName, Class< ? > beanType,
ISpringContextLocator locator)
{
@@ -93,9 +95,9 @@
* or more then one beans are found.
*
* @param ctx
- * spring application context
+ * spring application context
* @param clazz
- * bean class
+ * bean class
* @throws IllegalStateException
* @return spring name of the bean
*/
@@ -124,7 +126,7 @@
/**
* @return returns whether the bean (the locator is supposed to
istantiate) is a singleton or
- * not
+ * not
*/
public boolean isSingletonBean()
{
@@ -209,10 +211,10 @@
* are found.
*
* @param ctx
- * spring application context
+ * spring application context
*
* @param clazz
- * bean class
+ * bean class
* @throws IllegalStateException
* @return found bean
*/
@@ -225,12 +227,12 @@
* Looks up a bean by its name and class. Throws IllegalState exception
if bean not found.
*
* @param ctx
- * spring application context
+ * spring application context
*
* @param name
- * bean name
+ * bean name
* @param clazz
- * bean class
+ * bean class
* @throws IllegalStateException
* @return found bean
*/
Modified:
wicket/trunk/wicket-spring/src/main/java/org/apache/wicket/spring/SpringWebApplication.java
URL:
http://svn.apache.org/viewvc/wicket/trunk/wicket-spring/src/main/java/org/apache/wicket/spring/SpringWebApplication.java?rev=657625&r1=657624&r2=657625&view=diff
==============================================================================
---
wicket/trunk/wicket-spring/src/main/java/org/apache/wicket/spring/SpringWebApplication.java
(original)
+++
wicket/trunk/wicket-spring/src/main/java/org/apache/wicket/spring/SpringWebApplication.java
Sun May 18 13:11:43 2008
@@ -30,13 +30,13 @@
/**
* Base class for spring aware wicket web application object. This class has
helper methods to
- * create lazy init proxies based on spring beans, as well as an
implementation of
- * [EMAIL PROTECTED] ISpringContextLocator}.
+ * create lazy init proxies based on spring beans, as well as an
implementation of [EMAIL PROTECTED]
+ * ISpringContextLocator}.
*
* @deprecated when using java5 it is preferrable to use [EMAIL PROTECTED]
SpringBean} annotations for
- * injection rather then this spring-specific application subclass
with its helpers. To
- * setup [EMAIL PROTECTED] SpringBean} add the following line to
your [EMAIL PROTECTED] WebApplication}
- * subclass init method <code>add(new
SpringComponentInjector(this));</code>
+ * injection rather then this spring-specific application subclass with
its helpers. To setup
+ * [EMAIL PROTECTED] SpringBean} add the following line to your [EMAIL
PROTECTED] WebApplication} subclass init method
+ * <code>add(new SpringComponentInjector(this));</code>
*
* @author Igor Vaynberg (ivaynberg)
*/
@@ -52,6 +52,7 @@
*/
private final static ISpringContextLocator contextLocator = new
ISpringContextLocator()
{
+ private static final long serialVersionUID = 1L;
public ApplicationContext getSpringContext()
{
@@ -88,7 +89,8 @@
}
/**
- * @see
org.springframework.context.ApplicationContextAware#setApplicationContext(org.springframework.context.ApplicationContext)
+ * @see
org.springframework.context.ApplicationContextAware#setApplicationContext(org.
+ * springframework.context.ApplicationContext)
*/
public final void setApplicationContext(ApplicationContext
applicationContext)
throws BeansException
@@ -123,9 +125,9 @@
* Creates a proxy for a spring bean that is safe to put into session
and serialize
*
* @param clazz
- * class of spring bean
+ * class of spring bean
* @param beanName
- * name of spring bean
+ * name of spring bean
* @return proxy representing the spring bean
*/
protected Object createSpringBeanProxy(Class< ? > clazz, String
beanName)
@@ -138,7 +140,7 @@
* Creates a proxy for a spring bean that is safe to put into session
and serialize
*
* @param clazz
- * class of spring bean
+ * class of spring bean
* @return proxy representing the spring bean
*/
protected Object createSpringBeanProxy(Class< ? > clazz)
Modified:
wicket/trunk/wicket-spring/src/main/java/org/apache/wicket/spring/SpringWebApplicationFactory.java
URL:
http://svn.apache.org/viewvc/wicket/trunk/wicket-spring/src/main/java/org/apache/wicket/spring/SpringWebApplicationFactory.java?rev=657625&r1=657624&r2=657625&view=diff
==============================================================================
---
wicket/trunk/wicket-spring/src/main/java/org/apache/wicket/spring/SpringWebApplicationFactory.java
(original)
+++
wicket/trunk/wicket-spring/src/main/java/org/apache/wicket/spring/SpringWebApplicationFactory.java
Sun May 18 13:11:43 2008
@@ -35,7 +35,7 @@
* Configuration example:
*
* <pre>
- * <servlet>
+ * <servlet>
* <servlet-name>phonebook</servlet-name>
*
<servlet-class>org.apache.wicket.protocol.http.WicketServlet</servlet-class>
* <init-param>
@@ -52,7 +52,7 @@
* Example:
*
* <pre>
- * <servlet>
+ * <servlet>
* <servlet-name>phonebook</servlet-name>
*
<servlet-class>org.apache.wicket.protocol.http.WicketServlet</servlet-class>
* <init-param>
Modified:
wicket/trunk/wicket-spring/src/main/java/org/apache/wicket/spring/injection/annot/AnnotProxyFieldValueFactory.java
URL:
http://svn.apache.org/viewvc/wicket/trunk/wicket-spring/src/main/java/org/apache/wicket/spring/injection/annot/AnnotProxyFieldValueFactory.java?rev=657625&r1=657624&r2=657625&view=diff
==============================================================================
---
wicket/trunk/wicket-spring/src/main/java/org/apache/wicket/spring/injection/annot/AnnotProxyFieldValueFactory.java
(original)
+++
wicket/trunk/wicket-spring/src/main/java/org/apache/wicket/spring/injection/annot/AnnotProxyFieldValueFactory.java
Sun May 18 13:11:43 2008
@@ -39,8 +39,10 @@
* IDependency dependency = (IDependency)factory.getFieldValue(field, obj);
* </pre>
*
- * In the example above the <code>dependency</code> object returned is a lazy
init proxy that will
- * look up the actual IDependency bean from spring context upon first access
to one of the methods.
+ * In the example above the
+ *
+ * <code>dependency</code> object returned is a lazy init proxy that will look
up the actual
+ * IDependency bean from spring context upon first access to one of the
methods.
* <p>
* This class will also cache any produced proxies so that the same proxy is
always returned for the
* same spring dependency. This helps cut down on session size beacause
proxies for the same
@@ -63,7 +65,7 @@
/**
* @param contextLocator
- * spring context locator
+ * spring context locator
*/
public AnnotProxyFieldValueFactory(ISpringContextLocator contextLocator)
{
@@ -76,7 +78,7 @@
/**
* @see
org.apache.wicket.injection.IFieldValueFactory#getFieldValue(java.lang.reflect.Field,
- * java.lang.Object)
+ * java.lang.Object)
*/
public Object getFieldValue(Field field, Object fieldOwner)
{
@@ -141,7 +143,7 @@
/**
* @param failFast
- * true if the locator fails if a bean can't be located
+ * true if the locator fails if a bean can't be located
*/
public void setFailFast(boolean failFast)
{
Modified:
wicket/trunk/wicket-spring/src/main/java/org/apache/wicket/spring/injection/annot/AnnotSpringInjector.java
URL:
http://svn.apache.org/viewvc/wicket/trunk/wicket-spring/src/main/java/org/apache/wicket/spring/injection/annot/AnnotSpringInjector.java?rev=657625&r1=657624&r2=657625&view=diff
==============================================================================
---
wicket/trunk/wicket-spring/src/main/java/org/apache/wicket/spring/injection/annot/AnnotSpringInjector.java
(original)
+++
wicket/trunk/wicket-spring/src/main/java/org/apache/wicket/spring/injection/annot/AnnotSpringInjector.java
Sun May 18 13:11:43 2008
@@ -35,7 +35,7 @@
* Constructor
*
* @param locator
- * spring context locator
+ * spring context locator
*/
public AnnotSpringInjector(ISpringContextLocator locator)
{
Modified:
wicket/trunk/wicket-spring/src/main/java/org/apache/wicket/spring/injection/annot/AnnotSpringWebApplication.java
URL:
http://svn.apache.org/viewvc/wicket/trunk/wicket-spring/src/main/java/org/apache/wicket/spring/injection/annot/AnnotSpringWebApplication.java?rev=657625&r1=657624&r2=657625&view=diff
==============================================================================
---
wicket/trunk/wicket-spring/src/main/java/org/apache/wicket/spring/injection/annot/AnnotSpringWebApplication.java
(original)
+++
wicket/trunk/wicket-spring/src/main/java/org/apache/wicket/spring/injection/annot/AnnotSpringWebApplication.java
Sun May 18 13:11:43 2008
@@ -21,15 +21,14 @@
import org.apache.wicket.spring.SpringWebApplication;
/**
- * Convinience subclass of [EMAIL PROTECTED] SpringWebApplication} that puts
an instance of
- * [EMAIL PROTECTED] AnnotSpringInjector} into the [EMAIL PROTECTED]
InjectorHolder} when the application is initialized.
+ * Convinience subclass of [EMAIL PROTECTED] SpringWebApplication} that puts
an instance of [EMAIL PROTECTED]
+ * AnnotSpringInjector} into the [EMAIL PROTECTED] InjectorHolder} when the
application is initialized.
*
* @author Igor Vaynberg (ivaynberg)
*
* @deprecated instead in application.init() do
- * <code>addComponentInstantiationListener(new
SpringComponentInjector(this));</code>
- *
- * TODO remove post 1.3
+ * <code>addComponentInstantiationListener(new
SpringComponentInjector(this));</code> TODO remove
+ * post 1.3
*/
public abstract class AnnotSpringWebApplication extends SpringWebApplication
{
Modified:
wicket/trunk/wicket-spring/src/main/java/org/apache/wicket/spring/injection/annot/SpringComponentInjector.java
URL:
http://svn.apache.org/viewvc/wicket/trunk/wicket-spring/src/main/java/org/apache/wicket/spring/injection/annot/SpringComponentInjector.java?rev=657625&r1=657624&r2=657625&view=diff
==============================================================================
---
wicket/trunk/wicket-spring/src/main/java/org/apache/wicket/spring/injection/annot/SpringComponentInjector.java
(original)
+++
wicket/trunk/wicket-spring/src/main/java/org/apache/wicket/spring/injection/annot/SpringComponentInjector.java
Sun May 18 13:11:43 2008
@@ -32,15 +32,13 @@
import org.springframework.web.context.support.WebApplicationContextUtils;
/**
- * [EMAIL PROTECTED] IComponentInstantiationListener} that injects component
properties annotated with
- * [EMAIL PROTECTED] SpringBean} annotations.
+ * [EMAIL PROTECTED] IComponentInstantiationListener} that injects component
properties annotated with [EMAIL PROTECTED]
+ * SpringBean} annotations.
*
* To install in yourapplication.init() call
- * <code>addComponentInstantiationListener(new
SpringComponentInjector(this));</code>
- *
- * Non-wicket components such as [EMAIL PROTECTED] Session}, [EMAIL PROTECTED]
Model}, and any other pojo can be
- * injected by calling <code>InjectorHolder.getInjector().inject(this)</code>
in their
- * constructor.
+ * <code>addComponentInstantiationListener(new
SpringComponentInjector(this));</code> Non-wicket
+ * components such as [EMAIL PROTECTED] Session}, [EMAIL PROTECTED] Model},
and any other pojo can be injected by calling
+ * <code>InjectorHolder.getInjector().inject(this)</code> in their constructor.
*
* @author Igor Vaynberg (ivaynberg)
* @author <a href="mailto:[EMAIL PROTECTED]">Justin Lee</a>
@@ -61,11 +59,11 @@
/**
* Constructor used when spring application context is declared in the
spring standard way and
- * can be located through
- * [EMAIL PROTECTED]
WebApplicationContextUtils#getRequiredWebApplicationContext(ServletContext)}
+ * can be located through [EMAIL PROTECTED]
+ *
WebApplicationContextUtils#getRequiredWebApplicationContext(ServletContext)}
*
* @param webapp
- * wicket web application
+ * wicket web application
*/
public SpringComponentInjector(WebApplication webapp)
{
@@ -79,9 +77,9 @@
* Constructor
*
* @param webapp
- * wicket web application
+ * wicket web application
* @param ctx
- * spring's application context
+ * spring's application context
*/
public SpringComponentInjector(WebApplication webapp,
ApplicationContext ctx)
{
Modified:
wicket/trunk/wicket-spring/src/main/java/org/apache/wicket/spring/injection/annot/test/AnnotApplicationContextMock.java
URL:
http://svn.apache.org/viewvc/wicket/trunk/wicket-spring/src/main/java/org/apache/wicket/spring/injection/annot/test/AnnotApplicationContextMock.java?rev=657625&r1=657624&r2=657625&view=diff
==============================================================================
---
wicket/trunk/wicket-spring/src/main/java/org/apache/wicket/spring/injection/annot/test/AnnotApplicationContextMock.java
(original)
+++
wicket/trunk/wicket-spring/src/main/java/org/apache/wicket/spring/injection/annot/test/AnnotApplicationContextMock.java
Sun May 18 13:11:43 2008
@@ -22,13 +22,13 @@
import org.apache.wicket.spring.test.SpringContextLocatorMock;
/**
- * Spring application context mock that does all the initialization required
to setup an
- * [EMAIL PROTECTED] AnnotSpringInjector} that will use this mock context as
its source of beans.
+ * Spring application context mock that does all the initialization required
to setup an [EMAIL PROTECTED]
+ * AnnotSpringInjector} that will use this mock context as its source of beans.
* <p>
* Example
*
* <pre>
- * AnnotApplicationContextMock appctx = new AnnotApplicationContextMock();
+ * AnnotApplicationContextMock appctx = new AnnotApplicationContextMock();
* appctx.putBean("contactDao", dao);
*
* WicketTester app = new WicketTester();
Modified:
wicket/trunk/wicket-spring/src/main/java/org/apache/wicket/spring/test/ApplicationContextMock.java
URL:
http://svn.apache.org/viewvc/wicket/trunk/wicket-spring/src/main/java/org/apache/wicket/spring/test/ApplicationContextMock.java?rev=657625&r1=657624&r2=657625&view=diff
==============================================================================
---
wicket/trunk/wicket-spring/src/main/java/org/apache/wicket/spring/test/ApplicationContextMock.java
(original)
+++
wicket/trunk/wicket-spring/src/main/java/org/apache/wicket/spring/test/ApplicationContextMock.java
Sun May 18 13:11:43 2008
@@ -40,9 +40,8 @@
* Mock application context object. This mock context allows easy creation of
unit tests by allowing
* the user to put bean instances into the context.
*
- * Only [EMAIL PROTECTED] #getBean(String)}, [EMAIL PROTECTED]
#getBean(String, Class)}, and
- * [EMAIL PROTECTED] #getBeansOfType(Class)} are implemented so far. Any other
method throws
- * [EMAIL PROTECTED] UnsupportedOperationException}.
+ * Only [EMAIL PROTECTED] #getBean(String)}, [EMAIL PROTECTED]
#getBean(String, Class)}, and [EMAIL PROTECTED] #getBeansOfType(Class)
+ * } are implemented so far. Any other method throws [EMAIL PROTECTED]
UnsupportedOperationException}.
*
* @author Igor Vaynberg (ivaynberg)
*
@@ -50,6 +49,8 @@
@SuppressWarnings("unchecked")
public class ApplicationContextMock implements ApplicationContext, Serializable
{
+ private static final long serialVersionUID = 1L;
+
private final Map beans = new HashMap();
/**
@@ -105,7 +106,7 @@
}
/**
- * @see
org.springframework.beans.factory.ListableBeanFactory#getBeansOfType(java.lang.Class)
+ * @see
org.springframework.beans.factory.ListableBeanFactory#getBeansOfType(
java.lang.Class)
*/
public Map getBeansOfType(Class type) throws BeansException
{
@@ -149,7 +150,8 @@
}
/**
- * @see
org.springframework.context.ApplicationContext#publishEvent(org.springframework.context.ApplicationEvent)
+ * @see org.springframework.context.ApplicationContext#publishEvent(org.
+ * springframework.context.ApplicationEvent)
*/
public void publishEvent(ApplicationEvent event)
{
@@ -157,7 +159,8 @@
}
/**
- * @see
org.springframework.beans.factory.ListableBeanFactory#containsBeanDefinition(java.lang.String)
+ * @see org.springframework.beans.factory.ListableBeanFactory#
+ * containsBeanDefinition(java.lang.String)
*/
public boolean containsBeanDefinition(String beanName)
{
@@ -165,7 +168,7 @@
}
/**
- * @see
org.springframework.beans.factory.ListableBeanFactory#getBeanDefinitionCount()
+ * @see org.springframework.beans.factory.ListableBeanFactory#
getBeanDefinitionCount()
*/
public int getBeanDefinitionCount()
{
@@ -173,7 +176,7 @@
}
/**
- * @see
org.springframework.beans.factory.ListableBeanFactory#getBeanDefinitionNames()
+ * @see org.springframework.beans.factory.ListableBeanFactory#
getBeanDefinitionNames()
*/
public String[] getBeanDefinitionNames()
{
@@ -181,7 +184,8 @@
}
/**
- * @see
org.springframework.beans.factory.ListableBeanFactory#getBeanNamesForType(java.lang.Class)
+ * @see org.springframework.beans.factory.ListableBeanFactory#
+ * getBeanNamesForType(java.lang.Class)
*/
public String[] getBeanNamesForType(Class type)
{
@@ -202,8 +206,8 @@
}
/**
- * @see
org.springframework.beans.factory.ListableBeanFactory#getBeanNamesForType(java.lang.Class,
- * boolean, boolean)
+ * @see org.springframework.beans.factory.ListableBeanFactory#
+ * getBeanNamesForType(java.lang.Class, boolean, boolean)
*/
public String[] getBeanNamesForType(Class type, boolean
includePrototypes,
boolean includeFactoryBeans)
@@ -212,8 +216,8 @@
}
/**
- * @see
org.springframework.beans.factory.ListableBeanFactory#getBeansOfType(java.lang.Class,
- * boolean, boolean)
+ * @see
org.springframework.beans.factory.ListableBeanFactory#getBeansOfType(
java.lang.Class,
+ * boolean, boolean)
*/
public Map getBeansOfType(Class type, boolean includePrototypes,
boolean includeFactoryBeans)
throws BeansException
@@ -222,7 +226,7 @@
}
/**
- * @see
org.springframework.beans.factory.BeanFactory#containsBean(java.lang.String)
+ * @see
org.springframework.beans.factory.BeanFactory#containsBean(java.lang. String)
*/
public boolean containsBean(String name)
{
@@ -230,7 +234,7 @@
}
/**
- * @see
org.springframework.beans.factory.BeanFactory#isSingleton(java.lang.String)
+ * @see
org.springframework.beans.factory.BeanFactory#isSingleton(java.lang. String)
*/
public boolean isSingleton(String name) throws
NoSuchBeanDefinitionException
{
@@ -246,7 +250,7 @@
}
/**
- * @see
org.springframework.beans.factory.BeanFactory#getAliases(java.lang.String)
+ * @see
org.springframework.beans.factory.BeanFactory#getAliases(java.lang. String)
*/
public String[] getAliases(String name) throws
NoSuchBeanDefinitionException
{
@@ -254,7 +258,7 @@
}
/**
- * @see
org.springframework.beans.factory.HierarchicalBeanFactory#getParentBeanFactory()
+ * @see org.springframework.beans.factory.HierarchicalBeanFactory#
getParentBeanFactory()
*/
public BeanFactory getParentBeanFactory()
{
@@ -263,7 +267,7 @@
/**
* @see
org.springframework.context.MessageSource#getMessage(java.lang.String,
- * java.lang.Object[], java.lang.String, java.util.Locale)
+ * java.lang.Object[], java.lang.String, java.util.Locale)
*/
public String getMessage(String code, Object[] args, String
defaultMessage, Locale locale)
{
@@ -272,7 +276,7 @@
/**
* @see
org.springframework.context.MessageSource#getMessage(java.lang.String,
- * java.lang.Object[], java.util.Locale)
+ * java.lang.Object[], java.util.Locale)
*/
public String getMessage(String code, Object[] args, Locale locale)
throws NoSuchMessageException
@@ -281,8 +285,8 @@
}
/**
- * @see
org.springframework.context.MessageSource#getMessage(org.springframework.context.MessageSourceResolvable,
- * java.util.Locale)
+ * @see
org.springframework.context.MessageSource#getMessage(org.springframework
+ * .context.MessageSourceResolvable, java.util.Locale)
*/
public String getMessage(MessageSourceResolvable resolvable, Locale
locale)
throws NoSuchMessageException
@@ -291,7 +295,8 @@
}
/**
- * @see
org.springframework.core.io.support.ResourcePatternResolver#getResources(java.lang.String)
+ * @see
org.springframework.core.io.support.ResourcePatternResolver#getResources
+ * (java.lang.String)
*/
public Resource[] getResources(String locationPattern) throws
IOException
{
@@ -307,7 +312,7 @@
}
/**
- * @see
org.springframework.context.ApplicationContext#getAutowireCapableBeanFactory()
+ * @see org.springframework.context.ApplicationContext#
getAutowireCapableBeanFactory()
*/
public AutowireCapableBeanFactory getAutowireCapableBeanFactory()
throws IllegalStateException
{
@@ -315,7 +320,8 @@
}
/**
- * @see
org.springframework.beans.factory.HierarchicalBeanFactory#containsLocalBean(java.lang.String)
+ * @see org.springframework.beans.factory.HierarchicalBeanFactory#
+ * containsLocalBean(java.lang.String)
*/
public boolean containsLocalBean(String arg0)
{
Modified:
wicket/trunk/wicket-spring/src/main/java/org/apache/wicket/spring/test/SpringContextLocatorMock.java
URL:
http://svn.apache.org/viewvc/wicket/trunk/wicket-spring/src/main/java/org/apache/wicket/spring/test/SpringContextLocatorMock.java?rev=657625&r1=657624&r2=657625&view=diff
==============================================================================
---
wicket/trunk/wicket-spring/src/main/java/org/apache/wicket/spring/test/SpringContextLocatorMock.java
(original)
+++
wicket/trunk/wicket-spring/src/main/java/org/apache/wicket/spring/test/SpringContextLocatorMock.java
Sun May 18 13:11:43 2008
@@ -28,7 +28,9 @@
*/
public class SpringContextLocatorMock implements ISpringContextLocator
{
- private ApplicationContext context;
+ private static final long serialVersionUID = 1L;
+
+ private final ApplicationContext context;
/**
* Constructor
Modified:
wicket/trunk/wicket-spring/src/test/java/org/apache/wicket/spring/Bean.java
URL:
http://svn.apache.org/viewvc/wicket/trunk/wicket-spring/src/test/java/org/apache/wicket/spring/Bean.java?rev=657625&r1=657624&r2=657625&view=diff
==============================================================================
--- wicket/trunk/wicket-spring/src/test/java/org/apache/wicket/spring/Bean.java
(original)
+++ wicket/trunk/wicket-spring/src/test/java/org/apache/wicket/spring/Bean.java
Sun May 18 13:11:43 2008
@@ -25,5 +25,6 @@
*/
public class Bean implements IClusterable
{
+ private static final long serialVersionUID = 1L;
}
Modified:
wicket/trunk/wicket-spring/src/test/java/org/apache/wicket/util/license/ApacheLicenceHeaderTest.java
URL:
http://svn.apache.org/viewvc/wicket/trunk/wicket-spring/src/test/java/org/apache/wicket/util/license/ApacheLicenceHeaderTest.java?rev=657625&r1=657624&r2=657625&view=diff
==============================================================================
---
wicket/trunk/wicket-spring/src/test/java/org/apache/wicket/util/license/ApacheLicenceHeaderTest.java
(original)
+++
wicket/trunk/wicket-spring/src/test/java/org/apache/wicket/util/license/ApacheLicenceHeaderTest.java
Sun May 18 13:11:43 2008
@@ -19,8 +19,8 @@
import org.apache.wicket.util.license.ApacheLicenseHeaderTestCase;
/**
- * Test that the license headers are in place in this project. The tests are
run from
- * [EMAIL PROTECTED] ApacheLicenseHeaderTestCase}, but you can add project
specific tests here if needed.
+ * Test that the license headers are in place in this project. The tests are
run from [EMAIL PROTECTED]
+ * ApacheLicenseHeaderTestCase}, but you can add project specific tests here
if needed.
*
* @author Frank Bille Jensen (frankbille)
*/