Tue, 13 Aug 2019 21:54:17 +0200
yet another compatibility fix
package de.unixwork.uwproj; /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /** * * @author olaf */ public class Define { private String name; private String value; public Define() { } public Define(String name, String value) { this.name = name; this.value = value; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getValue() { return value; } public void setValue(String value) { this.value = value; } public String toFlags() { if(name == null) { return ""; } else if(value == null) { return "-D"+name; } else { return "-D"+name + "=" + value; } } }