Commit dfc1ce0
authored
Update
* Update `OSGiManifestIT` not to depend on order.
It appears that sometimes the clauses being checked for appear in the
other order, possibly because of a `HashMap` or the like somewhere in
the guts of OSGi. I haven't seen this on GitHub, but I do see it when
running locally with Google's JDK, which has more hash randomization.
* Fix use of assignment expression.
* Remove the parser, which was overkill.
It's enough just to swap the two clauses of a line when they are not in
the expected order.
Also, unrelatedly, update `protobuf-maven-plugin`.
* Update comments and undo an unnecessary split.OSGiManifestIT not to depend on order. (#2965)1 parent d437954 commit dfc1ce0
File tree
2 files changed
+7
-2
lines changed- gson/src/test/java/com/google/gson/integration
- proto
2 files changed
+7
-2
lines changedLines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
134 | 139 | | |
135 | 140 | | |
136 | 141 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
0 commit comments