Skip to content

Commit 6ba6912

Browse files
committed
fix code for version change
1 parent 60fd99c commit 6ba6912

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

PROPERTIES.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ PROPERTIES = {
1111
"maven.com_google_auto_value_auto_value_annotations": "com.google.auto.value:auto-value-annotations:1.7.2",
1212
"maven.com_google_code_gson": "com.google.code.gson:gson:2.8.6",
1313
"maven.com_google_protobuf_protobuf_java": "com.google.protobuf:protobuf-java:3.19.1",
14-
"maven.io_github_java_diff_utils": "io.github.java-diff-utils:java-diff-utils:4.0",
14+
"maven.io_github_java_diff_utils": "io.github.java-diff-utils:java-diff-utils:4.11",
1515
"maven.javax_annotation_javax_annotation_api": "javax.annotation:javax.annotation-api:1.3.2",
1616

1717
# Gapic YAML parsing for batching settings.

src/test/java/com/google/api/generator/test/framework/Differ.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
import com.github.difflib.DiffUtils;
1818
import com.github.difflib.UnifiedDiffUtils;
19-
import com.github.difflib.algorithm.DiffException;
2019
import com.github.difflib.patch.Patch;
2120
import java.io.IOException;
2221
import java.nio.file.Files;
@@ -49,7 +48,7 @@ private static List<String> diffTwoStringLists(List<String> original, List<Strin
4948
Patch<String> diff = null;
5049
try {
5150
diff = DiffUtils.diff(original, revised);
52-
} catch (DiffException e) {
51+
} catch (RuntimeException e) {
5352
throw new ComputeDiffException("Could not compute the differences.", e);
5453
}
5554
List<String> unifiedDiff =

0 commit comments

Comments
 (0)