开发者

Eclipse: suppressing warnings for missing Javadoc tag on RemoteException

开发者 https://www.devze.com 2023-02-25 11:24 出处:网络
I have Eclipse set up to yield warnings about missing Javadoc tags. However, I would like to suppress warnings for missing @throws RemoteException tags for my RMI interfaces, as these are implied by e

I have Eclipse set up to yield warnings about missing Javadoc tags. However, I would like to suppress warnings for missing @throws RemoteException tags for my RMI interfaces, as these are implied by extends Remote in my interface declaration.

Is the开发者_运维技巧re a way to do this via @SuppressWarnings (I'm not that familiar with the syntax) or some other setting?


@SuppressWarnings("javadoc") is the answer, but it does not work in eclipse 3.6. It is fixed for eclipse 3.7.

see here: Eclipse - @SuppressWarnings("javadoc") does not work

and here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=179566


Eclipse - @SuppressWarnings("javadoc") does not work

This seems to discuss the issue you're running into. I just checked the bug listed in the answers, it looks like this is going to be added in Eclipse 3.7.

0

精彩评论

暂无评论...
验证码 换一张
取 消