if ("param".equals(tag.getName()) && tag.getDataElements().length < 2) {
if (problems == null) problems = new ArrayList<ProblemDescriptor>(2);
final PsiDocTagValue valueElement = tag.getValueElement();
if (valueElement != null) {
problems.add(createDescriptor(psiMethod.getNameIdentifier(),
<BUG>InspectionsBundle.message("inspection.javadoc.method.problem.descriptor2", "<code>@param " + valueElement.getText() + "</code>")));
</BUG>
}
}
}

if ("param".equals(tag.getName()) && tag.getDataElements().length < 2) {
if (problems == null) problems = new ArrayList<ProblemDescriptor>(2);
final PsiDocTagValue valueElement = tag.getValueElement();
if (valueElement != null) {
problems.add(createDescriptor(psiMethod.getNameIdentifier(),
InspectionsBundle.message("inspection.javadoc.method.problem.missing.tag.description", "<code>@param " + valueElement.getText() + "</code>")));
}
}
}
