Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

isRootDevice() return always true

2005-07-22
2013-05-02
  • Stefano Lenzi
    Stefano Lenzi
    2005-07-22

    the method org.cybergarage.upnp.Device.isRootDevice() return always true. The fixed version is:

    public boolean isRootDevice(){
        return 
    getRootNode().getNode("device").getNodeValue(UDN).equals(getUDN());
    }