- spelling corrected
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@42 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
This commit is contained in:
@@ -37,7 +37,7 @@ public class RegisterDict {
|
|||||||
|
|
||||||
private static final String REGISTER = "register";
|
private static final String REGISTER = "register";
|
||||||
|
|
||||||
private static final String DESCRIPTON = "description";
|
private static final String DESCRIPTION = "description";
|
||||||
|
|
||||||
private static final String REG_ATTR_NAME = "name";
|
private static final String REG_ATTR_NAME = "name";
|
||||||
|
|
||||||
@@ -270,7 +270,7 @@ public class RegisterDict {
|
|||||||
NodeList list = register.getChildNodes();
|
NodeList list = register.getChildNodes();
|
||||||
String description = "";
|
String description = "";
|
||||||
for (int i = 0; i < list.getLength(); i++) {
|
for (int i = 0; i < list.getLength(); i++) {
|
||||||
if (list.item(i).getNodeName().equals(DESCRIPTON)) {
|
if (list.item(i).getNodeName().equals(DESCRIPTION)) {
|
||||||
description = list.item(i).getTextContent();
|
description = list.item(i).getTextContent();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user