Small bug fixes and UI improvements.

This commit is contained in:
Zukero
2017-08-23 18:17:55 +02:00
parent 3fe895a668
commit 0199bcfb4c
3 changed files with 45 additions and 2 deletions

View File

@@ -104,7 +104,10 @@ public class Requirement extends JSONElement {
@Override
public String getDesc() {
return ((negated != null && negated) ? "NOT " : "")+(type == null ? "" : type.toString()+":")+required_obj_id+(required_value == null ? "" : ":"+required_value.toString());
return ((negated != null && negated) ? "NOT " : "")
+(type == null ? "" : type.toString()+":")
+(required_obj_id == null ? "" : required_obj_id+":")
+(required_value == null ? "" : required_value.toString());
}
@Override