Skip to content

Commit

Permalink
Reword comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
kurtisvg committed Nov 7, 2018
1 parent 7918edb commit ff76253
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dlp/src/main/java/dlp/snippets/InspectFile.java
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,14 @@ public static void inspectFile(String projectId, String filePath, String fileTyp
.setIncludeQuote(true)
.build();

// Construct request
// Construct the request to be sent by the client
InspectContentRequest request = InspectContentRequest.newBuilder()
.setParent(project.toString())
.setItem(item)
.setInspectConfig(config)
.build();

// Run request and parse response
// Use the client to send the request and parse results
InspectContentResponse response = dlp.inspectContent(request);
System.out.println("Findings: " + response.getResult().getFindingsCount());
for (Finding f : response.getResult().getFindingsList()) {
Expand Down

0 comments on commit ff76253

Please sign in to comment.