Skip to content

Commit

Permalink
[Improve] Add deprecated annotation for ReadonlyConfig::toConfig (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Hisoka-X authored Mar 6, 2024
1 parent 78cb0de commit f477634
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,10 @@ public <T> T get(Option<T> option) {
/**
* Transform to Config todo: This method should be removed after we remove Config
*
* @deprecated Please use ReadonlyConfig directly
* @return Config
*/
@Deprecated
public Config toConfig() {
return ConfigFactory.parseMap(confData);
}
Expand Down

0 comments on commit f477634

Please sign in to comment.