Author: alessio.soldano(a)jboss.com
Date: 2009-02-25 06:42:33 -0500 (Wed, 25 Feb 2009)
New Revision: 9393
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/metadata/wsdl/Extendable.java
Log:
[JBAS-6434] Providing old serialversionuid as the changes on Extendable are backward
compatible
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/metadata/wsdl/Extendable.java
===================================================================
---
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/metadata/wsdl/Extendable.java 2009-02-25
05:13:37 UTC (rev 9392)
+++
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/metadata/wsdl/Extendable.java 2009-02-25
11:42:33 UTC (rev 9393)
@@ -38,6 +38,8 @@
*/
public abstract class Extendable implements Serializable
{
+ private static final long serialVersionUID = -3164210175211099488L;
+
// provide logging
private Logger log = Logger.getLogger(getClass());
@@ -117,6 +119,10 @@
public List<WSDLExtensibilityElement> getNotUnderstoodExtElements()
{
+ if (notUnderstoodExtElements == null)
+ {
+ notUnderstoodExtElements = new LinkedList<WSDLExtensibilityElement>();
+ }
return notUnderstoodExtElements;
}
@@ -127,6 +133,10 @@
public void addNotUnderstoodExtElement(WSDLExtensibilityElement element)
{
+ if (notUnderstoodExtElements == null)
+ {
+ notUnderstoodExtElements = new LinkedList<WSDLExtensibilityElement>();
+ }
notUnderstoodExtElements.add(element);
}
}
Show replies by date