]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - libjava/javax/naming/Binding.java
Imported gcc-4.4.3
[msp430-gcc.git] / libjava / javax / naming / Binding.java
diff --git a/libjava/javax/naming/Binding.java b/libjava/javax/naming/Binding.java
deleted file mode 100644 (file)
index e8ee4a2..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-/* Copyright (C) 2001 Free Software Foundation
-
-   This file is part of libgcj.
-
-This software is copyrighted work licensed under the terms of the
-Libgcj License.  Please consult the file "LIBGCJ_LICENSE" for
-details.  */
-
-package javax.naming;
-
-/**
- * @author Tom Tromey <tromey@redhat.com>
- * @date May 16, 2001
- */
-public class Binding extends NameClassPair
-{
-  public Binding (String name, Object obj)
-  {
-    super (name, null);
-    boundObj = obj;
-  }
-
-  public Binding (String name, Object obj, boolean isRelative)
-  {
-    super (name, null, isRelative);
-    boundObj = obj;
-  }
-
-  public Binding (String name, String className, Object obj)
-  {
-    super (name, className);
-    boundObj = obj;
-  }
-
-  public Binding (String name, String className, Object obj,
-                 boolean isRelative)
-  {
-    super (name, className, isRelative);
-    boundObj = obj;
-  }
-
-  public String getClassName ()
-  {
-    String r = super.getClassName ();
-    if (r != null)
-      return r;
-    return boundObj == null ? null : boundObj.getClass ().getName ();
-  }
-
-  public Object getObject ()
-  {
-    return boundObj;
-  }
-
-  public void setObject (Object obj)
-  {
-    boundObj = obj;
-  }
-
-  public String toString ()
-  {
-    // Format specified by the documentation.
-    return super.toString () + ":" + boundObj.toString ();
-  }
-
-  // This name is fixed by the serialization spec.
-  private Object boundObj;
-}