Skip to content

Commit

Permalink
Put initialization into static block too
Browse files Browse the repository at this point in the history
  • Loading branch information
qqndrew committed Aug 13, 2023
1 parent 6b0fdfd commit 87a5c6d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
)
public class MedTaggerBackboneTransform extends OneToOneTransform {

private static final InputColumn NOTE_ID_COLUMN_DEF = new InputColumn();
private static final InputColumn NOTE_ID_COLUMN_DEF;

@ConfigurationProperty(
path = "input",
Expand Down Expand Up @@ -84,6 +84,7 @@ public class MedTaggerBackboneTransform extends OneToOneTransform {
private boolean outputJSON;

static {
NOTE_ID_COLUMN_DEF = new InputColumn();
NOTE_ID_COLUMN_DEF.setSourceColumnName("note_id");
NOTE_ID_COLUMN_DEF.setSourceTag("*");
}
Expand Down

0 comments on commit 87a5c6d

Please sign in to comment.