Program: 116986
Project: 116986
Buggy source:
@SuppressWarnings("String_Node_Str") @SuppressLint("String_Node_Str") public static void setupWebview(GoNativeWebviewInterface webview,Context context){
  if (!(webview instanceof LeanWebView)) {
    Log.e(TAG,"String_Node_Str" + webview.getClass().getName());
    return;
  }
  AppConfig appConfig=AppConfig.getInstance(context);
  LeanWebView wv=(LeanWebView)webview;
  WebSettings webSettings=wv.getSettings();
  if (AppConfig.getInstance(context).allowZoom) {
    webSettings.setBuiltInZoomControls(true);
  }
 else {
    webSettings.setBuiltInZoomControls(false);
  }
  webSettings.setDisplayZoomControls(false);
  webSettings.setLoadWithOverviewMode(true);
  webSettings.setUseWideViewPort(true);
  webSettings.setJavaScriptEnabled(true);
  webSettings.setJavaScriptCanOpenWindowsAutomatically(true);
  if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
    webSettings.setMixedContentMode(WebSettings.MIXED_CONTENT_COMPATIBILITY_MODE);
    CookieManager.getInstance().setAcceptThirdPartyCookies(wv,true);
  }
  webSettings.setDomStorageEnabled(true);
  File cachePath=new File(context.getCacheDir(),MainActivity.webviewCacheSubdir);
  webSettings.setAppCachePath(cachePath.getAbsolutePath());
  webSettings.setAppCacheEnabled(true);
  webSettings.setDatabaseEnabled(true);
  webSettings.setSaveFormData(false);
  webSettings.setSavePassword(false);
  webSettings.setUserAgentString(appConfig.userAgent);
  webSettings.setSupportMultipleWindows(appConfig.enableWindowOpen);
  webSettings.setGeolocationEnabled(appConfig.usesGeolocation);
}

Fixed version (ground truth):
@SuppressWarnings("String_Node_Str") @SuppressLint("String_Node_Str") public static void setupWebview(GoNativeWebviewInterface webview,Context context){
  if (!(webview instanceof LeanWebView)) {
    Log.e(TAG,"String_Node_Str" + webview.getClass().getName());
    return;
  }
  AppConfig appConfig=AppConfig.getInstance(context);
  LeanWebView wv=(LeanWebView)webview;
  WebSettings webSettings=wv.getSettings();
  if (AppConfig.getInstance(context).allowZoom) {
    webSettings.setBuiltInZoomControls(true);
  }
 else {
    webSettings.setBuiltInZoomControls(false);
  }
  webSettings.setDisplayZoomControls(false);
  webSettings.setLoadWithOverviewMode(true);
  webSettings.setUseWideViewPort(true);
  webSettings.setJavaScriptEnabled(true);
  webSettings.setJavaScriptCanOpenWindowsAutomatically(true);
  webSettings.setMinimumFontSize(1);
  webSettings.setMinimumLogicalFontSize(1);
  if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
    webSettings.setMixedContentMode(WebSettings.MIXED_CONTENT_COMPATIBILITY_MODE);
    CookieManager.getInstance().setAcceptThirdPartyCookies(wv,true);
  }
  webSettings.setDomStorageEnabled(true);
  File cachePath=new File(context.getCacheDir(),MainActivity.webviewCacheSubdir);
  webSettings.setAppCachePath(cachePath.getAbsolutePath());
  webSettings.setAppCacheEnabled(true);
  webSettings.setDatabaseEnabled(true);
  webSettings.setSaveFormData(false);
  webSettings.setSavePassword(false);
  webSettings.setUserAgentString(appConfig.userAgent);
  webSettings.setSupportMultipleWindows(appConfig.enableWindowOpen);
  webSettings.setGeolocationEnabled(appConfig.usesGeolocation);
}