Tue, 13 Aug 2019 21:54:17 +0200
yet another compatibility fix
/* * 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. */ package de.unixwork.uwproj; import org.w3c.dom.Element; /** * * @author olaf */ public class PkgConfigPackage { private String name; private String atleast; private String maxVersion; public static PkgConfigPackage parse(Element e) throws Exception { PkgConfigPackage p = new PkgConfigPackage(); String name = Xml.getContent(e); if(name != null) { p.setName(name); } else { throw new Exception("pkgconfig element: value required"); } return p; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getAtleast() { return atleast; } public void setAtleast(String atleast) { this.atleast = atleast; } public String getMaxVersion() { return maxVersion; } public void setMaxVersion(String maxVersion) { this.maxVersion = maxVersion; } public String getPkgConfigParam() { return name; } }