A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pmd/pmd/issues/1204 below:

[core] Allow numeric properties in XML to be within an unbounded range · Issue #1204 · pmd/pmd · GitHub

Report thresholds for metrics for example usually only have the constraint that they must be positive. It makes no sense to artificially restrict that, and it obliges us to take an arbitrary decision ("is 2000 enough? should I add a zero?"). We could add some methods mustBeAbove and mustBeBelow to the property builders and implement some logic in the NumericPropertyModule to have unbounded intervals.

<property name="intProp" type="Integer" value="3" min="1" max="20" description="An IntegerProperty."/>

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4