Skip to content

Commit

Permalink
Merge pull request #4 from oucs0130/master
Browse files Browse the repository at this point in the history
Bugfix to String equals
  • Loading branch information
scottbw committed Aug 23, 2012
2 parents 7a4c408 + 38728a3 commit 22a3984
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/xcri/presentation/Venue.java
Expand Up @@ -70,7 +70,7 @@ public Element toXml() {
public void fromXml(Element element) throws InvalidElementException {
super.fromXml(element);

if (this.getValue()!=""){
if (!this.getValue().trim().isEmpty()){
throw new InvalidElementException("venue: If a <venue> element contains any text content, Aggregators MUST treat the <venue> element as being in error.");
}

Expand Down

0 comments on commit 22a3984

Please sign in to comment.