Skip to content

Commit

Permalink
Code review
Browse files Browse the repository at this point in the history
  • Loading branch information
minidragon88 committed Nov 13, 2019
1 parent ea2df58 commit a117336
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ configurations {
provided
}

version = "0.2.9"
version = "0.2.9.alpha.01"

sourceCompatibility = 1.8
targetCompatibility = 1.8
Expand Down
12 changes: 6 additions & 6 deletions src/main/java/org/embulk/input/jira/util/JiraUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,12 @@ private static Timestamp getTimestampValue(final PluginTask task, final Column c
{
final List<ColumnConfig> columnConfigs = task.getColumns().getColumns();
String pattern = DEFAULT_TIMESTAMP_PATTERN;
for (final ColumnConfig config : columnConfigs) {
final ConfigSource columnConfig = config.getConfigSource();
if (config.getName().equals(column.getName())
&& columnConfig != null
&& columnConfig.has("format")) {
pattern = columnConfig.get(String.class, "format");
for (final ColumnConfig columnConfig : columnConfigs) {
final ConfigSource columnConfigSource = columnConfig.getConfigSource();
if (columnConfig.getName().equals(column.getName())
&& columnConfigSource != null
&& columnConfigSource.has("format")) {
pattern = columnConfigSource.get(String.class, "format");
break;
}
}
Expand Down

0 comments on commit a117336

Please sign in to comment.