It is my bad. I code both in Java and Groovy. And I missed to change the example code before adding it to the article. However, I've updated it to Java already.
Thanks for pointing it out.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
It is my bad. I code both in Java and Groovy. And I missed to change the example code before adding it to the article. However, I've updated it to Java already.
Thanks for pointing it out.