Skip to content

Commit 6a981e4

Browse files
committed
chore: Make extractStatus method package-private
1 parent 2266f7e commit 6a981e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java-datastore/google-cloud-datastore/src/main/java/com/google/cloud/datastore/DatastoreException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ static DatastoreException propagateUserException(Exception ex) {
176176
* @param throwable the throwable to extract the status code from
177177
* @return the status code name, or "UNKNOWN" if not determinable
178178
*/
179-
public static String extractStatusCode(Throwable throwable) {
179+
static String extractStatusCode(Throwable throwable) {
180180
Throwable current = throwable;
181181
while (current != null) {
182182
if (current instanceof DatastoreException) {

0 commit comments

Comments
 (0)