[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jibx-cvs
Subject:    [Jibx-cvs] core/build/src/org/jibx/ws/wsdl/model Message.java, 1.1,
From:       Dennis Sosnoski <dsosnoski () users ! sourceforge ! net>
Date:       2010-01-20 11:22:36
Message-ID: E1NXYdw-0003FD-1c () sfp-cvsdas-3 ! v30 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Update of /cvsroot/jibx/core/build/src/org/jibx/ws/wsdl/model
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv12468/build/src/org/jibx/ws/wsdl/model


Modified Files:
	Message.java 
Log Message:
Don't pass message part on constructor, instead always just adding to list as needed.

Index: Message.java
===================================================================
RCS file: /cvsroot/jibx/core/build/src/org/jibx/ws/wsdl/model/Message.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Message.java	22 Dec 2008 23:34:42 -0000	1.1
--- Message.java	20 Jan 2010 11:22:33 -0000	1.2
***************
*** 1,4 ****
  /*
!  * Copyright (c) 2004-2008, Dennis M. Sosnoski. All rights reserved.
   * 
   * Redistribution and use in source and binary forms, with or without modification, \
                are permitted provided that the
--- 1,4 ----
  /*
!  * Copyright (c) 2004-2010, Dennis M. Sosnoski. All rights reserved.
   * 
   * Redistribution and use in source and binary forms, with or without modification, \
                are permitted provided that the
***************
*** 22,28 ****
  package org.jibx.ws.wsdl.model;
  
! import java.util.ArrayList;
  
  import org.jibx.runtime.QName;
  
  /**
--- 22,29 ----
  package org.jibx.ws.wsdl.model;
  
! import java.util.List;
  
  import org.jibx.runtime.QName;
+ import org.jibx.util.LazyList;
  
  /**
***************
*** 40,44 ****
      
      /** Parts defined for this message. */
!     private ArrayList m_parts;
      
      /**
--- 41,45 ----
      
      /** Parts defined for this message. */
!     private List m_parts;
      
      /**
***************
*** 47,57 ****
       * @param name message name
       * @param tns target namespace
-      * @param part singleton part
       */
!     public Message(String name, String tns, MessagePart part) {
          m_name = name;
          m_qName = new QName(tns, name);
!         m_parts = new ArrayList();
!         m_parts.add(part);
      }
      
--- 48,56 ----
       * @param name message name
       * @param tns target namespace
       */
!     public Message(String name, String tns) {
          m_name = name;
          m_qName = new QName(tns, name);
!         m_parts = new LazyList();
      }
      
***************
*** 88,92 ****
       * @return list of parts
       */
!     public ArrayList getParts() {
          return m_parts;
      }
--- 87,91 ----
       * @return list of parts
       */
!     public List getParts() {
          return m_parts;
      }


------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Jibx-cvs mailing list
Jibx-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-cvs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic