Logging.getLogger(DefaultAssetTechSpec.class.getName()).error("----------------------------------------------->>>Asset ID is null for Asset = "+asset.getName());
Logging.getLogger(DefaultAssetTechSpec.class.getName()).error("Asset ID is null for Asset = "+asset.getName());
    public static DefaultAssetTechSpec findAssetByID(AssetID assetID) {                DefaultAssetTechSpec asset = null;        Iterator iter = allAssets.iterator();        while (iter.hasNext()) {            asset = (DefaultAssetTechSpec)iter.next();            if (asset.getAssetID() == null) {                Logging.getLogger(DefaultAssetTechSpec.class.getName()).error("----------------------------------------------->>>Asset ID is null for Asset = "+asset.getName());                continue;            }            if (asset.getAssetID().equals(assetID)) {                return asset;            }        }        return null; //not found    }