I was trying to write a customized checkstyle check for indentation. During the process, I discovered that there are codes for indentation which has already been completed by checkstyle. However, when I copy,paste that code, and try to run that in my eclipse environment. It is unable to compile correctly. It shows me some compilation error such that "The method clearCreatedHandlers() from the type HandlerFactory is not visible" I have no idea how to fix this error. Here is the source that I got my code from
It is really helpful if someone else could copy,paste the codes and try to compile it and let me know how they fix those errors. I have suffered for tons of tries.
Thanks in advance.
Aucun commentaire:
Enregistrer un commentaire