public Class dependsUponViolationTracking() {
return ViolationTrackingDecorator.class;
}
@SuppressWarnings({"rawtypes"})
public void decorate(Resource resource, DecoratorContext context) {
<BUG>if (!ResourceUtils.isFile(resource)) {
</BUG>
return;
}
ReviewQuery openReviewQuery = ReviewQuery.create().setResourceId(resource.getId()).addStatus(ReviewDto.STATUS_OPEN)

public Class dependsUponViolationTracking() {
return ViolationTrackingDecorator.class;
}
@SuppressWarnings({"rawtypes"})
public void decorate(Resource resource, DecoratorContext context) {
if (!ResourceUtils.isPersistable(resource)) {
return;
}
ReviewQuery openReviewQuery = ReviewQuery.create().setResourceId(resource.getId()).addStatus(ReviewDto.STATUS_OPEN)
