From 74afce0da4e2c5a8a8a5767f521bb6efd1e2c61d Mon Sep 17 00:00:00 2001 From: Vladimir Glazounov Date: Tue, 15 Apr 2008 10:50:02 +0000 Subject: INTEGRATION: CWS sb86 (1.5.36); FILE MERGED 2008/03/25 12:40:30 sb 1.5.36.1: #i84491# clarified status of generateOid --- ridljar/com/sun/star/uno/UnoRuntime.java | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'ridljar') 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 -- cgit