Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wiki errors #13

Closed
arthurr0 opened this issue Jan 21, 2021 · 3 comments
Closed

Wiki errors #13

arthurr0 opened this issue Jan 21, 2021 · 3 comments
Labels
documentation Improvements or additions to documentation

Comments

@arthurr0
Copy link

arthurr0 commented Jan 21, 2021

I bug in the wiki.

Error: SnakeYamlConfigurationFactory.create (configClass, ConfigurationOptions.defaults (), yamlOptions)
Fix: new SnakeYamlConfigurationFactory (configClass, ConfigurationOptions.defaults (), yamlOptions)

@A248
Copy link
Owner

A248 commented Jan 21, 2021

Thanks for noticing. The first one I will fix - that's actually because the create method has been added to an (unreleased) new version. I guess I updated the documentation too quickly!

As for # 2 - reloadConfigData is correct. That method comes from the superclass, ConfigurationHelper. I may change the example to use composition over inheritance, but for now, it uses inheritance.

@A248 A248 added the documentation Improvements or additions to documentation label Jan 21, 2021
@A248
Copy link
Owner

A248 commented Jan 21, 2021

Fixed now, let me know if you find anything else

@A248 A248 closed this as completed Jan 21, 2021
@A248
Copy link
Owner

A248 commented Jan 21, 2021

I should mention - ConfigurationHelper is from version 1.2.0-SNAPSHOT, which isn't on Maven Central. You'll need to use our snapshots repository for it:

https://oss.sonatype.org/content/repositories/snapshots/

(ConfigurationHelper is, as the name implies, purely a boilerplate-reducing helper class. You can recreate it yourself if necessary or if you want to change the behavior.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants