Merge "docs: Add documentation for equals() method" into qt-dev am: 732a127636 am: 8bc1955d0e am: 45dbf8cc5a

Change-Id: I42352aedf0b91b840078ada4566927c9878544fd
This commit is contained in:
Automerger Merge Worker
2020-01-07 23:07:01 +00:00

View File

@@ -305,6 +305,12 @@ public final class ComponentName implements Parcelable, Cloneable, Comparable<Co
proto.end(token);
}
/**
* {@inheritDoc}
*
* <p>Two components are considered to be equal if the packages in which they reside have the
* same name, and if the classes that implement each component also have the same name.
*/
@Override
public boolean equals(Object obj) {
try {