summaryrefslogtreecommitdiff
path: root/nlpsolver
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-05-03 09:59:08 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-05-03 12:33:33 +0200
commited33d1d4928dc9886eaace62d3c62ea4305efdac (patch)
treeb34432f348cca9a99ca4b3849c6354d0d3eb761c /nlpsolver
parentff673ce838a5538b1432daf9007c047f6455a5ba (diff)
clean up some Java warnings
Change-Id: Id54e8fd6803c3a6c0d924338d1781679ed0b1bfd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115025 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'nlpsolver')
-rw-r--r--nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/PropertyInfo.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/PropertyInfo.java b/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/PropertyInfo.java
index f1a7a4714f05..dc5663213458 100644
--- a/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/PropertyInfo.java
+++ b/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/PropertyInfo.java
@@ -49,6 +49,7 @@ public class PropertyInfo<PropType> {
return m_description;
}
+ @SuppressWarnings("unchecked")
public void setValue(Object value) throws IllegalArgumentException {
if (m_property.Type == Type.LONG) {
if (!(value instanceof Integer))