Support Java 9 and 10 for CUBA #910

Fix FindBugs for JMX
This commit is contained in:
Andrey Subbotin 2018-06-01 10:28:32 +04:00
parent 230f24a69a
commit 0b1fcdd598

View File

@ -200,7 +200,7 @@ public class AnnotationMBeanInfoAssembler extends AbstractReflectiveMBeanInfoAss
return metric.getDescription();
}
return null;
return "";
}
/**
@ -226,7 +226,7 @@ public class AnnotationMBeanInfoAssembler extends AbstractReflectiveMBeanInfoAss
if (mo != null && StringUtils.hasText(mo.getDescription())) {
return mo.getDescription();
}
return null; // no operation description by default
return ""; // no operation description by default
}
/**