Skip to content

Commit

Permalink
Fix for #736
Browse files Browse the repository at this point in the history
  • Loading branch information
jfarcand committed Nov 19, 2012
1 parent e03b0a1 commit 13cfebf
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,10 +184,10 @@ private AtmosphereConfig parse(AtmosphereConfig config, Document document) {
Node n2 = n.getChildNodes().item(k);

if (n2.getNodeName().equals("param-name")) {
param = n2.getNodeValue();
param = n2.getFirstChild().getNodeValue();
} else if (n2.getNodeName().equals("param-value")) {
if (n2 != null) {
value = n2.getNodeValue();
value = n2.getFirstChild().getNodeValue();;

This comment has been minimized.

Copy link
@staabm

staabm Nov 19, 2012

Contributor

Small typo here,..2 semicolon

}
}

Expand All @@ -205,10 +205,10 @@ private AtmosphereConfig parse(AtmosphereConfig config, Document document) {
Node n2 = n.getChildNodes().item(k);

if (n2.getNodeName().equals("param-name")) {
param = n2.getNodeValue();
param = n2.getFirstChild().getNodeValue();
} else if (n2.getNodeName().equals("param-value")) {
if (n2 != null) {
value = n2.getNodeValue();
value = n2.getFirstChild().getNodeValue();
}
}

Expand Down

0 comments on commit 13cfebf

Please sign in to comment.