HADOOP-7046. Fix Findbugs warning in Configuration. Contributed by Po Cheung.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1063006 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
37025ec479
commit
a15d473c46
|
@ -451,6 +451,8 @@ Release 0.22.0 - Unreleased
|
|||
|
||||
HADOOP-7089. Fix link resolution logic in hadoop-config.sh. (eli)
|
||||
|
||||
HADOOP-7046. Fix Findbugs warning in Configuration. (Po Cheung via shv)
|
||||
|
||||
Release 0.21.1 - Unreleased
|
||||
|
||||
IMPROVEMENTS
|
||||
|
|
|
@ -1591,7 +1591,6 @@ public class Configuration implements Iterable<Map.Entry<String,String>>,
|
|||
public void writeXml(Writer out) throws IOException {
|
||||
Document doc = asXmlDocument();
|
||||
|
||||
Properties properties = getProps();
|
||||
try {
|
||||
DOMSource source = new DOMSource(doc);
|
||||
StreamResult result = new StreamResult(out);
|
||||
|
|
|
@ -14,5 +14,5 @@
|
|||
# limitations under the License.
|
||||
|
||||
OK_RELEASEAUDIT_WARNINGS=1
|
||||
OK_FINDBUGS_WARNINGS=1
|
||||
OK_FINDBUGS_WARNINGS=0
|
||||
OK_JAVADOC_WARNINGS=6
|
||||
|
|
Loading…
Reference in New Issue