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

Change-Id: I306e8e186d2350f2dabb7238ad8b5c55d8e04e1d
This commit is contained in:
Automerger Merge Worker
2020-01-07 22:41:40 +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 {