/[classpath]/classpath/gnu/CORBA/CDR/ArrayValueHelper.java
ViewVC logotype

Diff of /classpath/gnu/CORBA/CDR/ArrayValueHelper.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by audriusa, Sun Oct 2 19:58:00 2005 UTC revision 1.2 by audriusa, Fri Oct 28 13:01:50 2005 UTC
# Line 120  class ArrayValueHelper Line 120  class ArrayValueHelper
120     */     */
121    public Serializable read_value(InputStream input)    public Serializable read_value(InputStream input)
122    {    {
123      if (input instanceof noHeaderInput)      if (input instanceof HeadlessInput)
124        {        {
125          ((noHeaderInput) input).subsequentCalls = true;          ((HeadlessInput) input).subsequentCalls = true;
126        }        }
127    
128      component = arrayClass.getComponentType();      component = arrayClass.getComponentType();
# Line 177  class ArrayValueHelper Line 177  class ArrayValueHelper
177                    position = -1;                    position = -1;
178                  }                  }
179    
180                if (input instanceof noHeaderInput)                if (input instanceof HeadlessInput)
181                  ((noHeaderInput) input).subsequentCalls = true;                  ((HeadlessInput) input).subsequentCalls = true;
182    
183                Object o = handler.readValue(input, position, component, null, g);                Object o = handler.readValue(input, position, component, null, g);
184                Array.set(array, i, o);                Array.set(array, i, o);

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26