Skip to content

Commit 6efea2e

Browse files
committed
properly annotating fields instead of their getters
1 parent b4ce9dd commit 6efea2e

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,5 @@ publishing {
5151
}
5252

5353
group 'mil.army.usace.hec'
54-
version '0.0.49'
54+
version '0.0.50'
5555
}

src/main/java/usace/cc/plugin/Action.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,20 @@
55
import com.fasterxml.jackson.annotation.JsonProperty;
66

77
public class Action {
8+
@JsonProperty
89
private String name;
10+
@JsonProperty
911
private String desc;
10-
private Map<String,DataSource> params;
1112
@JsonProperty
13+
private Map<String,DataSource> params;
1214
public String getName(){
1315
return name;
1416
}
15-
@JsonProperty
17+
1618
public String getDescription(){
1719
return desc;
1820
}
19-
@JsonProperty
21+
2022
public Map<String,DataSource> getParameters(){
2123
return params;
2224
}

0 commit comments

Comments
 (0)