[
https://jira.jboss.org/browse/JBRULES-2549?page=com.atlassian.jira.plugin...
]
Esteban Aliverti resolved JBRULES-2549.
---------------------------------------
Fix Version/s: 5.1.0.CR1
Resolution: Done
An IllegalArgumentException is now thrown when attempting to set 0 or a negative value to
ResourceChangeScannerImpl.
The default value for "interval" in ResourceChangeScannerConfiguration is now 60
seconds
ResourceChangeScanner should fail when scanning interval is set to a
negative value or 0
----------------------------------------------------------------------------------------
Key: JBRULES-2549
URL:
https://jira.jboss.org/browse/JBRULES-2549
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 5.1.0.M2
Reporter: Esteban Aliverti
Assignee: Esteban Aliverti
Priority: Minor
Fix For: 5.1.0.CR1
When setting a negative poll interval to ResourceChangeScannerImpl, an exception is
thrown when it tries to execute wait().
It would be better if a runtime exception were thrown when setting an invalid interval
value.
An interval value of 0 should be also considered an invalida value (for performance
reasons)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira