/[classpath]/classpath/org/omg/CORBA/ObjectHelper.java
ViewVC logotype

Diff of /classpath/org/omg/CORBA/ObjectHelper.java

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

revision 1.2 by mark, Sat Jul 2 20:32:57 2005 UTC revision 1.3 by audriusa, Sun Aug 7 17:17:43 2005 UTC
# Line 50  import org.omg.CORBA.portable.OutputStre Line 50  import org.omg.CORBA.portable.OutputStre
50   */   */
51  public abstract class ObjectHelper  public abstract class ObjectHelper
52  {  {
53    /**    static TypeCode typeCode;
    * The cached binding list type code.  
    */  
   private static TypeCode typeCode = new primitiveTypeCode(TCKind.tk_objref);  
54    
55    /**    /**
56     * Extract the array of object from the given {@link Any}.     * Extract the array of object from the given {@link Any}.
# Line 100  public abstract class ObjectHelper Line 97  public abstract class ObjectHelper
97     */     */
98    public static TypeCode type()    public static TypeCode type()
99    {    {
100        if (typeCode == null)
101          typeCode = ORB.init().get_primitive_tc(TCKind.tk_objref);
102      return typeCode;      return typeCode;
103    }    }
104    

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

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