Skip to content

Commit

Permalink
Fixed a typo on the word "abstract". The abstract is a keyword on the…
Browse files Browse the repository at this point in the history
… java code, somehow the editor auto changed the word.
  • Loading branch information
taojing2002 committed Jun 3, 2019
1 parent 08dc124 commit 8d8d35c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public class DataPackage
private List<Party> creators = null;
private String language = null;
private List<String> keywords = null;
private String absctract = null;
private String abstract_str = null;
private Party publisher = null;


Expand Down Expand Up @@ -293,16 +293,16 @@ public void setKeywords(List<String> keywords) {
* Get the abstract of this eml document
* @return the abstract
*/
public String getAbsctract() {
return absctract;
public String getAbstract() {
return abstract_str;
}

/**
* Set the abstract
* @param absctrac
*/
public void setAbsctract(String absctract) {
this.absctract = absctract;
public void setAbstract(String abstract_str) {
this.abstract_str = abstract_str;
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1887,7 +1887,7 @@ private void parseDatasetAbstract(NodeList datasetAbstractNodeList) {
stringBuffer.append(" " + paraText);
}
String abstractText = stringBuffer.toString();
emlDataPackage.setAbsctract(abstractText);
emlDataPackage.setAbstract(abstractText);
emlDataPackage.checkDatasetAbstract(abstractText);
}
}
Expand Down

0 comments on commit 8d8d35c

Please sign in to comment.