Skip to content

Commit

Permalink
properly annotating fields instead of their getters
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryGeorgist committed Jul 5, 2023
1 parent b4ce9dd commit 6efea2e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@ publishing {
}

group 'mil.army.usace.hec'
version '0.0.49'
version '0.0.50'
}
8 changes: 5 additions & 3 deletions src/main/java/usace/cc/plugin/Action.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,20 @@
import com.fasterxml.jackson.annotation.JsonProperty;

public class Action {
@JsonProperty
private String name;
@JsonProperty
private String desc;
private Map<String,DataSource> params;
@JsonProperty
private Map<String,DataSource> params;
public String getName(){
return name;
}
@JsonProperty

public String getDescription(){
return desc;
}
@JsonProperty

public Map<String,DataSource> getParameters(){
return params;
}
Expand Down

0 comments on commit 6efea2e

Please sign in to comment.