Skip to content

Commit 4ba36d1

Browse files
samples: add presubmit lint check (#216)
* changes without context autosynth cannot find the source of changes triggered by earlier changes in this repository, or by version upgrades to tools such as linters. * chore(java_templates): add lint/static analysis presubmit checks for samples * chore(java_templates): add lint/static analysis presubmit checks for samples * chore: fix trailing whitespace Source-Author: Jeff Ching <chingor@google.com> Source-Date: Mon Aug 17 14:29:16 2020 -0700 Source-Repo: googleapis/synthtool Source-Sha: c3caf0704f25a0c365f1c315e804a30b87c62a75 Source-Link: googleapis/synthtool@c3caf07 * chore(java_templates): stop running pmd/spotbugs checks for samples This was creating too much noise. We will revisit with other options and/or tune these checks. Source-Author: Jeff Ching <chingor@google.com> Source-Date: Wed Aug 19 12:26:49 2020 -0700 Source-Repo: googleapis/synthtool Source-Sha: 9602086c6c5b05db77950c7f7495a2a3868f3537 Source-Link: googleapis/synthtool@9602086 * chore: fix line length Co-authored-by: Jeff Ching <chingor@google.com>
1 parent eb2b4b5 commit 4ba36d1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

texttospeech/snippets/src/main/java/com/example/texttospeech/SynthesizeTextBeta.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@
3535

3636
/**
3737
* Google Cloud TextToSpeech API sample application. Example usage: mvn package
38-
* exec:java-Dexec.mainClass='com.example.texttospeech.SynthesizeTextBeta' -Dexec.args='--text "hello"'
38+
* exec:java-Dexec.mainClass='com.example.texttospeech.SynthesizeTextBeta' -Dexec.args='--text
39+
* "hello"'
3940
*/
4041
public class SynthesizeTextBeta {
4142

0 commit comments

Comments
 (0)