Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
Rupal Mahajan committed Oct 28, 2020
1 parent 779d1d1 commit d5d85c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class CassandraDataLoader implements DataLoader {
@Override
public void loadData(DataFormat data) throws Exception {
if (!(data instanceof CassandraDataFormat)) {
throw new IllegalArgumentException("wrong data format for cassandra");
throw new IllegalArgumentException("Wrong data format for Cassandra.");
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class ElasticsearchDataLoader implements DataLoader {
@Override
public void loadData(final DataFormat data) throws Exception {
if (!(data instanceof ElasticsearchDataFormat)) {
throw new IllegalArgumentException("wrong data format for elasticsearch");
throw new IllegalArgumentException("Wrong data format for Elasticsearch.");
}
String commands = "cd " + ((ElasticsearchDataFormat) data).getDataPath();

Expand Down

0 comments on commit d5d85c0

Please sign in to comment.