Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Commit

Permalink
fix: suppress checkstyle for certain methods (#921)
Browse files Browse the repository at this point in the history
* fix: suppress checkstyle for certain methods

* add new line

* 馃 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
alicejli and gcf-owl-bot[bot] committed Jul 13, 2022
1 parent 07caa25 commit 28ae04d
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ If you are using Maven without BOM, add this to your dependencies:
If you are using Gradle 5.x or later, add this to your dependencies:

```Groovy
implementation platform('com.google.cloud:libraries-bom:25.4.0')
implementation platform('com.google.cloud:libraries-bom:26.0.0')
implementation 'com.google.cloud:google-cloud-dlp'
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*/

package dlp.snippets;

// [START dlp_categorical_stats]

import com.google.api.core.SettableApiFuture;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
import java.util.concurrent.TimeoutException;
import java.util.stream.Collectors;

@SuppressWarnings("checkstyle:AbbreviationAsWordInName")
class RiskAnalysisKAnonymity {

public static void main(String[] args) throws Exception {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*/

package dlp.snippets;

// [START dlp_k_map]

import com.google.api.core.SettableApiFuture;
Expand Down Expand Up @@ -50,6 +51,7 @@
import java.util.concurrent.TimeoutException;
import java.util.stream.Collectors;

@SuppressWarnings("checkstyle:AbbreviationAsWordInName")
class RiskAnalysisKMap {

public static void main(String[] args) throws Exception {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
import java.util.stream.Collectors;
import org.threeten.bp.Duration;

@SuppressWarnings("checkstyle:AbbreviationAsWordInName")
class RiskAnalysisLDiversity {

public static void main(String[] args) throws Exception {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;

@SuppressWarnings("checkstyle:AbbreviationAsWordInName")
@RunWith(JUnit4.class)
public class RiskAnalysisTests extends TestBase {

Expand Down

0 comments on commit 28ae04d

Please sign in to comment.