Skip to content

Commit

Permalink
fix code for version change
Browse files Browse the repository at this point in the history
  • Loading branch information
meltsufin committed Feb 28, 2022
1 parent 60fd99c commit 6ba6912
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion PROPERTIES.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ PROPERTIES = {
"maven.com_google_auto_value_auto_value_annotations": "com.google.auto.value:auto-value-annotations:1.7.2",
"maven.com_google_code_gson": "com.google.code.gson:gson:2.8.6",
"maven.com_google_protobuf_protobuf_java": "com.google.protobuf:protobuf-java:3.19.1",
"maven.io_github_java_diff_utils": "io.github.java-diff-utils:java-diff-utils:4.0",
"maven.io_github_java_diff_utils": "io.github.java-diff-utils:java-diff-utils:4.11",
"maven.javax_annotation_javax_annotation_api": "javax.annotation:javax.annotation-api:1.3.2",

# Gapic YAML parsing for batching settings.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

import com.github.difflib.DiffUtils;
import com.github.difflib.UnifiedDiffUtils;
import com.github.difflib.algorithm.DiffException;
import com.github.difflib.patch.Patch;
import java.io.IOException;
import java.nio.file.Files;
Expand Down Expand Up @@ -49,7 +48,7 @@ private static List<String> diffTwoStringLists(List<String> original, List<Strin
Patch<String> diff = null;
try {
diff = DiffUtils.diff(original, revised);
} catch (DiffException e) {
} catch (RuntimeException e) {
throw new ComputeDiffException("Could not compute the differences.", e);
}
List<String> unifiedDiff =
Expand Down

0 comments on commit 6ba6912

Please sign in to comment.