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:
Konstantin Shvachko 2011-01-24 21:58:18 +00:00
parent 37025ec479
commit a15d473c46
3 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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);

View File

@ -14,5 +14,5 @@
# limitations under the License.
OK_RELEASEAUDIT_WARNINGS=1
OK_FINDBUGS_WARNINGS=1
OK_FINDBUGS_WARNINGS=0
OK_JAVADOC_WARNINGS=6