Discussion:
[sonar-user] squid:UndocumentedApi : False positive when Javadoc empty ?
ALIX LOURME
10 years ago
Permalink
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...