Warnings when loading rules files

actually I’m using OH4. Since ever (OH2) I have a problem with “warnings” when loading rules files. I receive messages like
“Unnecessary cast from DecimalType to DecimalType” without any line number reference or any other hint.
Is there an easy way to find the line with the problem?

Sure, find all lines with as DecimalType and check whether it’s needed or not. :slight_smile:

By the way: openHAB3 (at least the late versions, 3.3 and 3.4) is fine with OpenJDK17, too :slight_smile:

Hi - thank for your answer.
Would be nice to have line numbers in warnings.