Author: alessio.soldano(a)jboss.com
Date: 2009-02-25 06:44:53 -0500 (Wed, 25 Feb 2009)
New Revision: 9394
Modified:
stack/native/branches/jbossws-native-3.1.0/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/branches/jbossws-native-3.1.0/modules/core/src/main/java/org/jboss/ws/metadata/wsdl/Extendable.java
===================================================================
---
stack/native/branches/jbossws-native-3.1.0/modules/core/src/main/java/org/jboss/ws/metadata/wsdl/Extendable.java 2009-02-25
11:42:33 UTC (rev 9393)
+++
stack/native/branches/jbossws-native-3.1.0/modules/core/src/main/java/org/jboss/ws/metadata/wsdl/Extendable.java 2009-02-25
11:44:53 UTC (rev 9394)
@@ -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