Commit 963a6eb
[Xamarin.Android.Tools.ApiXmlAdjuster] Cleanup (#82)
Rename `reader` variable to `writer`, to match actual use/semantics.
Avoid recurring `<package>` element occurrence: when reading multiple
API XML files which contain the same `//package/@name` value, there
would be multiple `<package/>` elements in the resulting document.
It was almost harmless, but it could result in XPath
query differences.1 parent a1d3ecc commit 963a6eb
File tree
2 files changed
+7
-4
lines changed- src/Xamarin.Android.Tools.ApiXmlAdjuster
2 files changed
+7
-4
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
35 | 39 | | |
36 | | - | |
37 | 40 | | |
38 | 41 | | |
39 | 42 | | |
| |||
0 commit comments