summaryrefslogtreecommitdiff
path: root/org/omg/CORBA/IDLTypeHelper.java
diff options
context:
space:
mode:
Diffstat (limited to 'org/omg/CORBA/IDLTypeHelper.java')
-rw-r--r--org/omg/CORBA/IDLTypeHelper.java15
1 files changed, 2 insertions, 13 deletions
diff --git a/org/omg/CORBA/IDLTypeHelper.java b/org/omg/CORBA/IDLTypeHelper.java
index 635168eb8..ff874947f 100644
--- a/org/omg/CORBA/IDLTypeHelper.java
+++ b/org/omg/CORBA/IDLTypeHelper.java
@@ -53,11 +53,6 @@ import org.omg.CORBA.portable.OutputStream;
public abstract class IDLTypeHelper
{
/**
- * The cached typecode value, computed once.
- */
- private static TypeCode typeCode;
-
- /**
* Insert the IDL type into the given Any.
*/
public static void insert(Any a, IDLType that)
@@ -81,14 +76,8 @@ public abstract class IDLTypeHelper
*/
public static TypeCode type()
{
- if (typeCode == null)
- {
- typeCode =
- OrbRestricted.Singleton.create_interface_tc(IDLTypeHelper.id(),
- "IDLType"
- );
- }
- return typeCode;
+ return OrbRestricted.Singleton.create_interface_tc(IDLTypeHelper.id(),
+ "IDLType");
}
/**