TSK-1145: enabled validateThrows property for JavadocMethod.checkstyle and added missing throws javadoc

This commit is contained in:
Sascha Frevel 2020-03-16 11:41:08 +01:00
parent c9b87ec3b1
commit d574cfa06f
2 changed files with 2 additions and 0 deletions

View File

@ -253,6 +253,7 @@
</module>
<module name="JavadocMethod">
<property name="scope" value="public"/>
<property name="validateThrows" value="true"/>
<property name="allowMissingParamTags" value="true"/>
<property name="allowMissingReturnTag" value="true"/>
<property name="allowedAnnotations" value="Override, Test"/>

View File

@ -106,6 +106,7 @@ public class WorkbasketDefinitionController {
* incorrect.
* @throws WorkbasketAccessItemAlreadyExistException if a WorkbasketAccessItem for the same
* workbasket and access_id already exists.
* @throws ConcurrencyException if workbasket was updated by an other user
*/
@PostMapping(path = Mapping.URL_WORKBASKETDEFIITIONS)
@Transactional(rollbackFor = Exception.class)