Merge pull request #113 from mciezadlo/patch-1

Added Category.assertLog(boolean, String)
This commit is contained in:
Matt Bishop 2015-04-24 14:01:42 -07:00
commit 94a6b8cc1c
1 changed files with 5 additions and 0 deletions

View File

@ -350,5 +350,10 @@ public class Category {
public boolean getAdditivity() {
return false;
}
public void assertLog(boolean assertion, String msg) {
if(!assertion)
error(msg);
}
}