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

Code base errors #36

Closed
toponsky opened this issue Dec 20, 2017 · 2 comments
Closed

Code base errors #36

toponsky opened this issue Dec 20, 2017 · 2 comments

Comments

@toponsky
Copy link

I got successful maven build.

However, this is lots of code errors in the code base. The errors are categories to four types.

  1. Eclipse complains log object does not define.
    e.g. log.info("[{}:{}] MQTT broker connection established!", configuration.getHost(), configuration.getPort());

  2. Eclipse complains final variables not initialized. "The blank final field nodeId may not have been initialized"

  3. Object function setter & getter function undefines. I saw properties but there is not explicitly setter and getter for those properties.

4 Object not constructor. I saw some objects only has properties (some of them define as final), However, this is not constructors for those objects.

Do you I missing some setting here?

@mp-loki
Copy link
Contributor

mp-loki commented Dec 20, 2017

Hi @yimingliu0216 !
You have to install Lombok plugin for Eclipse
Lombok library does all the stuff that you mentioned (@DaTa, @slf4j annotations etc). Please visit Project Lombok for more info.

@mp-loki mp-loki closed this as completed Dec 20, 2017
@toponsky
Copy link
Author

Thanks. It works!

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

No branches or pull requests

2 participants