squid:UndocumentedApi : False positive when Javadoc empty ?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

squid:UndocumentedApi : False positive when Javadoc empty ?

Alix LOURME

Hi,

 

Perhaps this is a corner case, but squid:UndocumentedApi (java plugin v3.3) doesn't detect any default on this snippet :

---

/**

*

*/

public void test() {

    throw new UnsupportedOperationException();

}

---

 

When there is no Javadoc, the default is detected, but there isn't fundamental difference between these two cases about documentation content.

 

Best Regards.

Alix.

Loading...