diff --git a/ridljar/com/sun/star/uno/UnoRuntime.java b/ridljar/com/sun/star/uno/UnoRuntime.java index e179d2156ed3..dcf7ff42b10c 100644 --- a/ridljar/com/sun/star/uno/UnoRuntime.java +++ b/ridljar/com/sun/star/uno/UnoRuntime.java @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: UnoRuntime.java,v $ - * $Revision: 1.6 $ + * $Revision: 1.7 $ * * This file is part of OpenOffice.org. * @@ -41,10 +41,9 @@ import com.sun.star.lib.util.WeakMap; /** * The central class needed for implementing or using UNO components in Java. * - *
The methods generateOid
, queryInterface
and
- * areSame
delegate calls to the implementing objects and are used
- * instead of hashCode
, casts, instanceof
,
- * ==
, and equals
.
+ *
The methods queryInterface
and areSame
delegate
+ * calls to the implementing objects and are used instead of casts,
+ * instanceof
, ==
, and equals
.
* *
For historic reasons, this class is not final
, and has a
* public
constructor. These artifacts are considered mistakes,
@@ -99,10 +98,13 @@ public class UnoRuntime {
/**
* Generates a world wide unique object identifier (OID) for the given
- * object.
+ * Java object.
*
*
It is guaranteed that subsequent calls to this method with the same - * object will give the same ID.
+ * Java object will give the same ID. + * + *This method is generally of little use for client code. It should be + * considered a mistake that this method is published at all.
* * @param object any object for which a OID shall be generated; must not be *null