GoogleCloudPlatform / GoogleCloudPlatform/java-docs-samples

security-command-center: samples contain many Spotbugs errors

Abierto
#9,546 0 comentarios 0 reacciones 1 asignado Asignado a @vijaykanthm Ver en GitHub
priority: p2 samples triage me type: bug
Lenguaje dominante
Java
Estrellas
1.9k
Forks
2.9k
Merge medio
3 d 3 h
PR fusionados (30 d)
17

Descripción

## In which file did you encounter the issue?

https://github.com/GoogleCloudPlatform/java-docs-samples/tree/main/security-command-center/snippets

## Did you change the file? If so, how?

no

## Describe the issue

[`SAMPLE_FORMAT.md`](https://github.com/GoogleCloudPlatform/java-docs-samples/blob/main/SAMPLE_FORMAT.md) says the following:

> To run the Checkstyle, ErrorProne and SpotBugs plugins on an existing sample, run
>
> ```
> mvn clean verify -DskipTests -P lint
> ```

However, when I run that command in the `security-command-center/snippets` directory, it fails with 67 "bugs" (errors, really). I expected everything to pass at `HEAD`.

I didn't check any other directories, so this issue might exist elsewhere.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.