import java.net.URL;
import java.util.concurrent.TimeUnit;
import javax.annotation.Nullable;
public abstract class AbstractServiceDiscoverer implements ServiceDiscoverer {
private static final Logger LOG = LoggerFactory.getLogger(AbstractServiceDiscoverer.class);
<BUG>protected String namespaceId;

protected String applicationId;

public AbstractServiceDiscoverer(Id.Program programId) {

this.namespaceId = programId.getNamespaceId();
this.applicationId = programId.getApplicationId();
}</BUG>
@Override

import java.net.URL;
import java.util.concurrent.TimeUnit;
import javax.annotation.Nullable;
public abstract class AbstractServiceDiscoverer implements ServiceDiscoverer {
private static final Logger LOG = LoggerFactory.getLogger(AbstractServiceDiscoverer.class);
private final String namespaceId;
private final String applicationId;
public AbstractServiceDiscoverer(ProgramId programId) {
this.namespaceId = programId.getNamespace();
this.applicationId = programId.getApplication();
}
@Override
