mirror of
https://github.com/fankes/moshi.git
synced 2025-10-19 16:09:21 +08:00
Make Types.equals(Type, Type) public. (#292)
This commit is contained in:
committed by
Jesse Wilson
parent
bcec358554
commit
f942e0fd52
@@ -205,7 +205,7 @@ public final class Types {
|
||||
}
|
||||
|
||||
/** Returns true if {@code a} and {@code b} are equal. */
|
||||
static boolean equals(Type a, Type b) {
|
||||
public static boolean equals(Type a, Type b) {
|
||||
if (a == b) {
|
||||
return true; // Also handles (a == null && b == null).
|
||||
|
||||
|
Reference in New Issue
Block a user