Fixed a source incompatibility with dom4j 2.x
Emmanuel Bourg
5 years ago
0 | 0 |
findbugs (3.1.0~preview2-2) UNRELEASED; urgency=medium
|
1 | 1 |
|
2 | 2 |
* Team upload.
|
|
3 |
* Fixed a source incompatibility with dom4j 2.x
|
3 | 4 |
* Switch to debhelper level 10
|
4 | 5 |
* Standards-Version updated to 4.1.1
|
5 | 6 |
|
|
0 |
Description: Fixes the compatibility with dom4j 2.x
|
|
1 |
Author: Emmanuel Bourg <ebourg@apache.org>
|
|
2 |
Forwarded: no
|
|
3 |
--- a/src/java/edu/umd/cs/findbugs/xml/XMLUtil.java
|
|
4 |
+++ b/src/java/edu/umd/cs/findbugs/xml/XMLUtil.java
|
|
5 |
@@ -30,7 +30,7 @@
|
|
6 |
|
|
7 |
@SuppressWarnings("unchecked")
|
|
8 |
public static <T> List<T> selectNodes(Node node, String arg0) {
|
|
9 |
- return node.selectNodes(arg0);
|
|
10 |
+ return (List) node.selectNodes(arg0);
|
|
11 |
}
|
|
12 |
|
|
13 |
}
|
12 | 12 |
0013-dont-fetch-external-libraries.patch
|
13 | 13 |
0014-asm-compatibility.patch
|
14 | 14 |
0015-reproducibility.patch
|
|
15 |
0016-dom4j2-compatibility.patch
|