Skip to content

Commit

Permalink
Fix unintentional toString.
Browse files Browse the repository at this point in the history
  • Loading branch information
kurtisvg committed Nov 7, 2018
1 parent ff76253 commit df1d698
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dlp/src/main/java/dlp/snippets/InspectFile.java
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public static void inspectFile(String projectId, String filePath, String fileTyp
System.out.println("Findings: " + response.getResult().getFindingsCount());
for (Finding f : response.getResult().getFindingsList()) {
System.out.println("\tQuote: " + f.getQuote());
System.out.println("\tInfo type: " + f.getInfoType());
System.out.println("\tInfo type: " + f.getInfoType().getName());
System.out.println("\tLikelihood: " + f.getLikelihood());
}
} catch (Exception e) {
Expand Down
2 changes: 1 addition & 1 deletion dlp/src/main/java/dlp/snippets/InspectString.java
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public static void inspectString(String projectId, String textToInspect) {
System.out.println("Findings: " + response.getResult().getFindingsCount());
for (Finding f : response.getResult().getFindingsList()) {
System.out.println("\tQuote: " + f.getQuote());
System.out.println("\tInfo type: " + f.getInfoType());
System.out.println("\tInfo type: " + f.getInfoType().getName());
System.out.println("\tLikelihood: " + f.getLikelihood());
}
} catch (Exception e) {
Expand Down

0 comments on commit df1d698

Please sign in to comment.