Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
rctauber committed Aug 3, 2020
1 parent 0d8f651 commit dcfcc1a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Expand Up @@ -8,7 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]

### Fixed
- Handle empty [`template`] property charactersitics in [#717]
- Handle empty [`template`] property charactersitics in [#719]

## [1.7.0] - 2020-07-31

Expand Down Expand Up @@ -194,7 +194,7 @@ First official release of ROBOT!
[`report`]: http://robot.obolibrary.org/report
[`template`]: http://robot.obolibrary.org/template

[#717]: https://github.com/ontodev/robot/pull/716
[#719]: https://github.com/ontodev/robot/pull/716
[#715]: https://github.com/ontodev/robot/pull/715
[#710]: https://github.com/ontodev/robot/pull/710
[#709]: https://github.com/ontodev/robot/issues/709
Expand Down
3 changes: 2 additions & 1 deletion robot-core/src/main/java/org/obolibrary/robot/Template.java
Expand Up @@ -2190,7 +2190,8 @@ private List<String> getCharacteristics(List<String> row) {
String characteristicString = row.get(characteristicColumn).trim();
if (characteristicString.equalsIgnoreCase("")) {
return new ArrayList<>();
} else if (characteristicSplit != null && characteristicString.contains(characteristicSplit)) {
} else if (characteristicSplit != null
&& characteristicString.contains(characteristicSplit)) {
return Arrays.asList(characteristicString.split(Pattern.quote(characteristicSplit)));
} else {
return Collections.singletonList(characteristicString.trim());
Expand Down

0 comments on commit dcfcc1a

Please sign in to comment.