Skip to content

Commit c1fceef

Browse files
Create an Android version for unredactedStringValueOf() that calls the default toString() method
PiperOrigin-RevId: 764022323
1 parent 83bd479 commit c1fceef

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
package com.google.protobuf;
2+
3+
/**
4+
* The Android version of UnredactedDebugFormatForTest, which just calls the default toString()
5+
* implementation.
6+
*/
7+
public final class UnredactedDebugFormatForTest {
8+
9+
private UnredactedDebugFormatForTest() {}
10+
11+
public static String unredactedStringValueOf(
12+
Object object) {
13+
return object.toString();
14+
}
15+
}

0 commit comments

Comments
 (0)