Commit 37e50895 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Removed always true IF statement.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@8542 b35dd754-fafc-0310-a699-88a17e54d16e
parent f0daf674
package org.jivesoftware.util;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Iterator;
import java.util.List;
import java.util.StringTokenizer;
import org.dom4j.Element;
import org.dom4j.Node;
import java.util.*;
/**
* <p>We use a simple
* naming convention of meta-data key names: data is stored
......@@ -91,9 +88,6 @@ public class ElementUtil {
* @return true if the specified property is included in the XML hierarchy.
*/
public static boolean includesProperty(Element element, String name) {
String value = null;
if (value == null) {
String[] propName = parsePropertyName(name);
// Grab the attribute if there is one
......@@ -128,8 +122,6 @@ public class ElementUtil {
return false;
}
}
return true;
}
/**
* Return all values who's path matches the given property name as a String array,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment