File tree Expand file tree Collapse file tree
src/test/java/ch/jalu/configme/resource Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ private RootPropertyHolder() {
145145
146146 @ Override
147147 public void registerComments (@ NotNull CommentsConfiguration conf ) {
148- conf .setComment ( "" , "Define the command here." , "\n " , "Fill out all values." );
148+ conf .setHeaderComments ( "Define the command here." , "\n " , "Fill out all values." );
149149 }
150150 }
151151
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ private RootPropertyHolderSingleRootProperty() {
8585
8686 @ Override
8787 public void registerComments (@ NotNull CommentsConfiguration conf ) {
88- conf .setComment ( "" , "Header comment line 1" , "Header comment line 2" );
88+ conf .setHeaderComments ( "Header comment line 1" , "Header comment line 2" );
8989 conf .setFooterComments ("Footer comment line 1" , "Footer comment line 2" );
9090 }
9191 }
@@ -103,7 +103,7 @@ private RootPropertyHolderWithFooter() {
103103
104104 @ Override
105105 public void registerComments (@ NotNull CommentsConfiguration conf ) {
106- conf .setComment ( "" , "Header comment line 1" , "Header comment line 2" );
106+ conf .setHeaderComments ( "Header comment line 1" , "Header comment line 2" );
107107 conf .setFooterComments ("Footer comment line 1" , "Footer comment line 2" );
108108 }
109109 }
You can’t perform that action at this time.
0 commit comments