@@ -63,11 +63,7 @@ public class ReleaseNoteGeneration {
6363 private static final String GOOGLEAPIS_ORG = "googleapis" ;
6464
6565 private static final ImmutableSet <String > splitRepositoryLibraryNames =
66- ImmutableSet .of (
67- "bigtable" ,
68- "firestore" ,
69- "pubsub" ,
70- "pubsublite" );
66+ ImmutableSet .of ("bigtable" , "firestore" , "pubsub" , "pubsublite" );
7167
7268 private static boolean clientLibraryFilter (String coordinates ) {
7369 if (coordinates .contains ("google-cloud-core" )) {
@@ -88,7 +84,9 @@ private static boolean clientLibraryFilter(String coordinates) {
8884
8985 /** Generates release note of specified Libraries BOM version to file "release_note.md". */
9086 public static void main (String [] arguments )
91- throws ArtifactDescriptorException , MavenRepositoryException , IOException ,
87+ throws ArtifactDescriptorException ,
88+ MavenRepositoryException ,
89+ IOException ,
9290 InterruptedException {
9391
9492 String librariesBomVersion = System .getProperty ("libraries-bom.version" );
@@ -122,7 +120,9 @@ public static void main(String[] arguments)
122120
123121 @ VisibleForTesting
124122 String generateReport (Bom bom , String googleCloudJavaVersion )
125- throws MavenRepositoryException , ArtifactDescriptorException , IOException ,
123+ throws MavenRepositoryException ,
124+ ArtifactDescriptorException ,
125+ IOException ,
126126 InterruptedException {
127127 Bom previousBom = previousBom (bom );
128128
@@ -174,7 +174,8 @@ private void printKeyCoreLibraryDependencies(Bom bom) {
174174 .append ("\n " )
175175 .append ("\n " );
176176 report
177- .append ("If you encounter compatibility issues with protobuf-java 4.x, please update your codebase and dependencies to ensure compatibility." )
177+ .append (
178+ "If you encounter compatibility issues with protobuf-java 4.x, please update your codebase and dependencies to ensure compatibility." )
178179 .append ("\n " );
179180 }
180181
@@ -616,7 +617,9 @@ static String fetchReleaseNote(String owner, String repository, String tag)
616617 new ProcessBuilder ("gh" , "release" , "--repo" , owner + "/" + repository , "view" , tag );
617618 builder .redirectErrorStream (true );
618619 Process process = builder .start ();
619- String output = new String (process .getInputStream ().readAllBytes (), java .nio .charset .StandardCharsets .UTF_8 );
620+ String output =
621+ new String (
622+ process .getInputStream ().readAllBytes (), java .nio .charset .StandardCharsets .UTF_8 );
620623 boolean finished = process .waitFor (1 , TimeUnit .MINUTES );
621624 Verify .verify (finished , "The process timed out" );
622625 Verify .verify (0 == process .exitValue (), "The command failed: %s" , output );
0 commit comments