Fixed typo getAllAttibutes -> getAllAttRibutes
This commit is contained in:
@@ -72,6 +72,6 @@ public interface SoapElement {
|
||||
*
|
||||
* @return an iterator over all the attribute names
|
||||
*/
|
||||
Iterator getAllAttibutes();
|
||||
Iterator getAllAttributes();
|
||||
|
||||
}
|
||||
|
||||
@@ -101,7 +101,7 @@ class AxiomSoapElement implements SoapElement {
|
||||
}
|
||||
}
|
||||
|
||||
public final Iterator getAllAttibutes() {
|
||||
public final Iterator getAllAttributes() {
|
||||
try {
|
||||
List results = new ArrayList();
|
||||
for (Iterator iterator = getAxiomElement().getAllAttributes(); iterator.hasNext();) {
|
||||
|
||||
@@ -76,7 +76,7 @@ class SaajSoapElement implements SoapElement {
|
||||
}
|
||||
}
|
||||
|
||||
public Iterator getAllAttibutes() {
|
||||
public Iterator getAllAttributes() {
|
||||
return getImplementation().getAllAttibutes(element);
|
||||
}
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@ public abstract class AbstractSoapElementTestCase extends XMLTestCase {
|
||||
String value = "value";
|
||||
soapElement.addAttribute(name, value);
|
||||
assertEquals("Invalid attribute value", value, soapElement.getAttributeValue(name));
|
||||
Iterator allAttributes = soapElement.getAllAttibutes();
|
||||
Iterator allAttributes = soapElement.getAllAttributes();
|
||||
assertTrue("Iterator is empty", allAttributes.hasNext());
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user