Remove unused Util.getCommaDelimitedSimpleClassNames
method
PiperOrigin-RevId: 637854422
This commit is contained in:
parent
c87b7d86cc
commit
3bb6cf2129
@ -2046,24 +2046,6 @@ public final class Util {
|
|||||||
return result.toString();
|
return result.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns a string with comma delimited simple names of each object's class.
|
|
||||||
*
|
|
||||||
* @param objects The objects whose simple class names should be comma delimited and returned.
|
|
||||||
* @return A string with comma delimited simple names of each object's class.
|
|
||||||
*/
|
|
||||||
@UnstableApi
|
|
||||||
public static String getCommaDelimitedSimpleClassNames(Object[] objects) {
|
|
||||||
StringBuilder stringBuilder = new StringBuilder();
|
|
||||||
for (int i = 0; i < objects.length; i++) {
|
|
||||||
stringBuilder.append(objects[i].getClass().getSimpleName());
|
|
||||||
if (i < objects.length - 1) {
|
|
||||||
stringBuilder.append(", ");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return stringBuilder.toString();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a user agent string based on the given application name and the library version.
|
* Returns a user agent string based on the given application name and the library version.
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user