Menu

JDecsiontableLib version 1.2.1 released

Today I released version 1.2.1 of de.mgmechanics.JDecsiontableLib. These are the improvements in brief:

checkFailed flag was not reset automatically for nodes
" 1) BUGFIX: Decisiontable.checkNoNodeWithDontcareOnly() did not reset checkFailed flag automatically before doing the check. This affected also Decisiontable.checkNumberOfRules() and Decisiontable.runAllChecks() because they call Decisiontable.checkNoNodeWithDontcareOnly()." Version 1.2.0 is - as an exception - still available in folder "Legacy" because some methode were deprecated in version 1.2.1.

You may reset the flag by calling Decisiontable.resetNodeCheckFailedFlag() for all nodes but I recommend to use the current version of JDecsiontableLib.

You may skip setting the checkFailed flags for nodes and rules
Next important change is that you may skip setting the checkFailed flags for nodes and rules when executing any check. This releases you from calling the Decisiontable.reset* methods in the client after each check where you not want to see rows / columns coloured. For this there is a variant of each check methods (which is able to set the checkFailed flag) with parameter "boolean setCheckFailedFlag". The variants of this methods without such parameter behave as in earlier versions. Of course your client code is not broken!

Some methode were deprecated in version 1.2.1
To make things easier to understand for beginners I renamed some methods related to set set and reset the checkFailed flag for rules. The existing methods are deprecated now and just call the new methods as described in the javadoc. But they all there tested to call the new methods as expected! Thus you may see some warnings because of use of deprecated methods when compiling your client code or running the JUnit tests for this library. I changed the pom.xml for this project so that it shows such warnings.

Test coverage
The test coverage is 99.00% by having 110 JUnit tests. All remaining uncovered code should such code which is unreachable i.e. private constructors. This means that deprecated classes are also tested. This may result in "using of deprecated methods" warning when running theses tests.

Providing a jar with all dependencies
As with this version there is also a jar file containing all dependencies (= jar files of other libraries used in this library) delivered. It is named (i.e. for version 1.2.1) "JDecisiontableLib-1.2.1-jar-with-dependencies.jar" in distinction to the jar file without dependencies "JDecisiontableLib-1.2.1.jar".

Please read README.txt for all details.

Posted by Michael Groß 2012-12-09

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.