Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Wrong way to use Governator's @configuration annotation
public class MyClass {
@Configuration("path.prefix") // this is wrong!
private static final String PATH_PREFIX = null;
private String fileName;
public MyClass(String fileName) {
this.fileName = PATH_PREFIX + fileName;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.