Program: 112314
Project: 112314
Buggy source:
@SuppressWarnings("String_Node_Str") @Override protected void initialize() throws ServletException {
  super.initialize();
  myAppCtx=ContextLoaderListener.getCurrentWebApplicationContext();
  String implDesc=getInitParameter("String_Node_Str");
  String fhirVersionParam=getInitParameter("String_Node_Str");
  if (StringUtils.isBlank(fhirVersionParam)) {
    fhirVersionParam="String_Node_Str";
  }
  List<IResourceProvider> beans;
  JpaSystemProvider systemProvider;
  IFhirSystemDao systemDao;
  ETagSupportEnum etagSupport;
  String baseUrlProperty;
switch (fhirVersionParam.trim().toUpperCase()) {
case "String_Node_Str":
case "String_Node_Str":
{
      setFhirContext(FhirContext.forDstu1());
      beans=myAppCtx.getBean("String_Node_Str",List.class);
      systemProvider=myAppCtx.getBean("String_Node_Str",JpaSystemProvider.class);
      systemDao=myAppCtx.getBean("String_Node_Str",IFhirSystemDao.class);
      etagSupport=ETagSupportEnum.DISABLED;
      JpaConformanceProviderDstu1 confProvider=new JpaConformanceProviderDstu1(this,systemDao);
      confProvider.setImplementationDescription(implDesc);
      setServerConformanceProvider(confProvider);
      baseUrlProperty="String_Node_Str";
      break;
    }
case "String_Node_Str":
{
    setFhirContext(FhirContext.forDev());
    beans=myAppCtx.getBean("String_Node_Str",List.class);
    systemProvider=myAppCtx.getBean("String_Node_Str",JpaSystemProvider.class);
    systemDao=myAppCtx.getBean("String_Node_Str",IFhirSystemDao.class);
    etagSupport=ETagSupportEnum.ENABLED;
    JpaConformanceProviderDev confProvider=new JpaConformanceProviderDev(this,systemDao);
    confProvider.setImplementationDescription(implDesc);
    setServerConformanceProvider(confProvider);
    baseUrlProperty="String_Node_Str";
    break;
  }
default :
throw new ServletException("String_Node_Str" + fhirVersionParam);
}
setETagSupport(etagSupport);
FhirContext ctx=getFhirContext();
ctx.setNarrativeGenerator(new DefaultThymeleafNarrativeGenerator());
for (IResourceProvider nextResourceProvider : beans) {
ourLog.info("String_Node_Str",nextResourceProvider.getResourceType().getSimpleName());
}
setResourceProviders(beans);
setPlainProviders(systemProvider);
FhirContext ctx=getFhirContext();
ctx.setNarrativeGenerator(new DefaultThymeleafNarrativeGenerator());
setUseBrowserFriendlyContentTypes(true);
String baseUrl=System.getProperty(baseUrlProperty);
if (StringUtils.isBlank(baseUrl)) {
baseUrl=System.getProperty("String_Node_Str");
if (StringUtils.isBlank(baseUrl)) {
throw new ServletException("String_Node_Str" + baseUrlProperty);
}
}
setServerAddressStrategy(new HardcodedServerAddressStrategy(baseUrl));
setPagingProvider(new FifoMemoryPagingProvider(10));
LoggingInterceptor loggingInterceptor=new LoggingInterceptor();
loggingInterceptor.setLoggerName("String_Node_Str");
loggingInterceptor.setMessageFormat("String_Node_Str");
this.registerInterceptor(loggingInterceptor);
}

Fixed version (ground truth):
@SuppressWarnings("String_Node_Str") @Override protected void initialize() throws ServletException {
  super.initialize();
  myAppCtx=ContextLoaderListener.getCurrentWebApplicationContext();
  String implDesc=getInitParameter("String_Node_Str");
  String fhirVersionParam=getInitParameter("String_Node_Str");
  if (StringUtils.isBlank(fhirVersionParam)) {
    fhirVersionParam="String_Node_Str";
  }
  List<IResourceProvider> beans;
  JpaSystemProvider systemProvider;
  IFhirSystemDao systemDao;
  ETagSupportEnum etagSupport;
  String baseUrlProperty;
switch (fhirVersionParam.trim().toUpperCase()) {
case "String_Node_Str":
case "String_Node_Str":
{
      setFhirContext(FhirContext.forDstu1());
      beans=myAppCtx.getBean("String_Node_Str",List.class);
      systemProvider=myAppCtx.getBean("String_Node_Str",JpaSystemProvider.class);
      systemDao=myAppCtx.getBean("String_Node_Str",IFhirSystemDao.class);
      etagSupport=ETagSupportEnum.DISABLED;
      JpaConformanceProviderDstu1 confProvider=new JpaConformanceProviderDstu1(this,systemDao);
      confProvider.setImplementationDescription(implDesc);
      setServerConformanceProvider(confProvider);
      baseUrlProperty="String_Node_Str";
      break;
    }
case "String_Node_Str":
{
    setFhirContext(FhirContext.forDev());
    beans=myAppCtx.getBean("String_Node_Str",List.class);
    systemProvider=myAppCtx.getBean("String_Node_Str",JpaSystemProvider.class);
    systemDao=myAppCtx.getBean("String_Node_Str",IFhirSystemDao.class);
    etagSupport=ETagSupportEnum.ENABLED;
    JpaConformanceProviderDev confProvider=new JpaConformanceProviderDev(this,systemDao);
    confProvider.setImplementationDescription(implDesc);
    setServerConformanceProvider(confProvider);
    baseUrlProperty="String_Node_Str";
    break;
  }
default :
throw new ServletException("String_Node_Str" + fhirVersionParam);
}
setETagSupport(etagSupport);
FhirContext ctx=getFhirContext();
ctx.setNarrativeGenerator(new DefaultThymeleafNarrativeGenerator());
for (IResourceProvider nextResourceProvider : beans) {
ourLog.info("String_Node_Str",nextResourceProvider.getResourceType().getSimpleName());
}
setResourceProviders(beans);
setPlainProviders(systemProvider);
setUseBrowserFriendlyContentTypes(true);
String baseUrl=System.getProperty(baseUrlProperty);
if (StringUtils.isBlank(baseUrl)) {
baseUrl=System.getProperty("String_Node_Str");
if (StringUtils.isBlank(baseUrl)) {
throw new ServletException("String_Node_Str" + baseUrlProperty);
}
}
setServerAddressStrategy(new HardcodedServerAddressStrategy(baseUrl));
setPagingProvider(new FifoMemoryPagingProvider(10));
LoggingInterceptor loggingInterceptor=new LoggingInterceptor();
loggingInterceptor.setLoggerName("String_Node_Str");
loggingInterceptor.setMessageFormat("String_Node_Str");
this.registerInterceptor(loggingInterceptor);
}