Skip to content

Commit f6b71d9

Browse files
Modified employee_id in input table (GoogleCloudPlatform#8348)
## Checklist - [X] I have followed [Sample Format Guide](https://togithub.com/GoogleCloudPlatform/java-docs-samples/blob/main/SAMPLE_FORMAT.md) - [ ] `pom.xml` parent set to latest `shared-configuration` - [ ] Appropriate changes to README are included in PR - [ ] These samples need a new **API enabled** in testing projects to pass (let us know which ones) - [ ] These samples need a new/updated **env vars** in testing projects set to pass (let us know which ones) - [X] **Tests** pass: `mvn clean verify` **required** - [X] **Lint** passes: `mvn -P lint checkstyle:check` **required** - [ ] **Static Analysis**: `mvn -P lint clean compile pmd:cpd-check spotbugs:check` **advisory only** - [ ] This sample adds a new sample directory, and I updated the [CODEOWNERS file](https://togithub.com/GoogleCloudPlatform/java-docs-samples/blob/main/.github/CODEOWNERS) with the codeowners for this sample - [ ] This sample adds a new **Product API**, and I updated the [Blunderbuss issue/PR auto-assigner](https://togithub.com/GoogleCloudPlatform/java-docs-samples/blob/main/.github/blunderbuss.yml) with the codeowners for this sample - [X] Please **merge** this PR for me once it is approved
1 parent 91045ac commit f6b71d9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

dlp/snippets/src/main/java/dlp/snippets/DeIdentifyTableWithFpe.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,13 @@ public static void main(String[] args) throws Exception {
6363
.build())
6464
.addRows(
6565
Row.newBuilder()
66-
.addValues(Value.newBuilder().setStringValue("11111").build())
66+
.addValues(Value.newBuilder().setStringValue("22222").build())
6767
.addValues(Value.newBuilder().setStringValue("2016").build())
6868
.addValues(Value.newBuilder().setStringValue("$20").build())
6969
.build())
7070
.addRows(
7171
Row.newBuilder()
72-
.addValues(Value.newBuilder().setStringValue("22222").build())
72+
.addValues(Value.newBuilder().setStringValue("33333").build())
7373
.addValues(Value.newBuilder().setStringValue("2016").build())
7474
.addValues(Value.newBuilder().setStringValue("$15").build())
7575
.build())

dlp/snippets/src/test/java/dlp/snippets/DeIdentificationTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,13 +119,13 @@ public void testDeIdentifyTableWithFpe() throws IOException {
119119
.build())
120120
.addRows(
121121
Row.newBuilder()
122-
.addValues(Value.newBuilder().setStringValue("11111").build())
122+
.addValues(Value.newBuilder().setStringValue("22222").build())
123123
.addValues(Value.newBuilder().setStringValue("2016").build())
124124
.addValues(Value.newBuilder().setStringValue("$20").build())
125125
.build())
126126
.addRows(
127127
Row.newBuilder()
128-
.addValues(Value.newBuilder().setStringValue("22222").build())
128+
.addValues(Value.newBuilder().setStringValue("33333").build())
129129
.addValues(Value.newBuilder().setStringValue("2016").build())
130130
.addValues(Value.newBuilder().setStringValue("$15").build())
131131
.build())

0 commit comments

Comments
 (0)