Skip to content

Commit 643f345

Browse files
committed
Annotate with VisibleForTesting
1 parent 5f27364 commit 643f345

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

google-cloud-spanner/src/main/java/com/google/cloud/spanner/XGoogSpannerRequestId.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,17 @@
1616

1717
package com.google.cloud.spanner;
1818

19+
import com.google.common.annotations.VisibleForTesting;
1920
import java.security.SecureRandom;
2021

2122
public class XGoogSpannerRequestId {
2223
// 1. Generate the random process Id singleton.
24+
@VisibleForTesting
2325
public static String RAND_PROCESS_ID = XGoogSpannerRequestId.generateRandProcessId();
26+
27+
@VisibleForTesting
2428
public static long VERSION = 1; // The version of the specification being implemented.
29+
2530
private long nthClientId;
2631
private long nthChannelId;
2732
private long nthRequest;

0 commit comments

Comments
 (0)