Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
asthamohta committed Apr 21, 2022
1 parent 4472949 commit 474dfa8
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public static void setUp() throws Exception {
key = String.format("projects/%s/locations/%s/keyRings/%s/cryptoKeys/%s",
options.getProjectId(), keyLocation, keyRing, keyName);
}

static void deleteStaleTestDatabases(String instanceId, String baseDbId) {
Timestamp now = Timestamp.now();
Pattern samplePattern = getTestDbIdPattern(baseDbId);
Expand Down Expand Up @@ -410,7 +410,7 @@ public void testSample() throws Exception {
out = runSample("deletebackup");
assertThat(out).contains("Deleted backup [" + backupId + "]");
}

@Test
public void testEncryptedDatabaseAndBackupSamples() throws Exception {
String projectId = spanner.getOptions().getProjectId();
Expand Down Expand Up @@ -513,7 +513,7 @@ public void testCreateInstanceSample() {
private static int countOccurrences(String input, String search) {
return input.split(search).length - 1;
}

private static String toComparableId(String baseId, String existingId) {
String zeroUuid = "00000000-0000-0000-0000-0000-00000000";
int shouldBeLength = (baseId + "-" + zeroUuid).length();
Expand Down

0 comments on commit 474dfa8

Please sign in to comment.