Skip to content

Commit

Permalink
Merge branch 'master' of github.com:hltcoe/annotated-nyt
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Thomas committed Apr 22, 2015
2 parents 71e9506 + 0030234 commit da1a5b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>edu.jhu.hlt</groupId>
<artifactId>annotated-nyt</artifactId>
<version>1.1.1-SNAPSHOT</version>
<version>1.1.1</version>
<packaging>jar</packaging>

<name>annotated-nyt</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ public Integer getGuid() {

public List<String> getOnlineSectionAsList() {
List<String> onlineSectionList = new ArrayList<String>();
Optional<String> online = Optional.ofNullable(this.nytdoc.getSection());
Optional<String> online = Optional.ofNullable(this.nytdoc.getOnlineSection());
online.ifPresent(str -> {
String[] split = str.split(";");
for (String s : split)
onlineSectionList.add(s);
onlineSectionList.add(s.trim());
});

return onlineSectionList;
Expand Down

0 comments on commit da1a5b4

Please sign in to comment.