Source:
<code>public void initParam(ScannerParam param) { int targets = param.getTargetParamsInjectable(); this.getChkInjectableQueryString().setSelected((targets & ScannerParam.TARGET_QUERYSTRING) != 0); this.getChkAddQueryParam().setSelected(param.isAddQueryParam()); this.getChkAddQueryParam().setEnabled(getChkInjectableQueryString().isEnabled() && getChkInjectableQueryString().isSelected()); this.getChkInjectableUrlPath().setSelected((targets & ScannerParam.TARGET_URLPATH) != 0); this.getChkInjectablePostData().setSelected((targets & ScannerParam.TARGET_POSTDATA) != 0); this.getChkInjectableHeaders().setSelected((targets & ScannerParam.TARGET_HTTPHEADERS) != 0); this.getChkInjectableHeadersAllRequests().setSelected(param.isScanHeadersAllRequests()); this.getChkInjectableHeadersAllRequests().setEnabled(getChkInjectableHeaders().isEnabled() && getChkInjectableHeaders().isSelected()); this.getChkInjectableCookie().setSelected((targets & ScannerParam.TARGET_COOKIE) != 0); int rpcEnabled = param.getTargetParamsEnabledRPC(); this.getChkRPCMultipart().setSelected((rpcEnabled & ScannerParam.RPC_MULTIPART) != 0); this.getChkRPCXML().setSelected((rpcEnabled & ScannerParam.RPC_XML) != 0); this.getChkRPCJSON().setSelected((rpcEnabled & ScannerParam.RPC_JSON) != 0); this.getChkRPCGWT().setSelected((rpcEnabled & ScannerParam.RPC_GWT) != 0); this.getChkRPCoData().setSelected((rpcEnabled & ScannerParam.RPC_ODATA) != 0); this.getChkRPCDWR().setSelected((rpcEnabled & ScannerParam.RPC_DWR) != 0); this.getChkRPCCustom().setSelected((rpcEnabled & ScannerParam.RPC_CUSTOM) != 0); this.getExcludedParameterModel().setTokens(param.getExcludedParamList()); <START> this.txtValueFilterExpression.setText(""); <END> }</code><technical_language>initialised ScannerParam. - undoable edits discarded setting value</technical_language>

Target:
public void initParam(ScannerParam param) { int targets = param.getTargetParamsInjectable(); this.getChkInjectableQueryString().setSelected((targets & ScannerParam.TARGET_QUERYSTRING) != 0); this.getChkAddQueryParam().setSelected(param.isAddQueryParam()); this.getChkAddQueryParam().setEnabled(getChkInjectableQueryString().isEnabled() && getChkInjectableQueryString().isSelected()); this.getChkInjectableUrlPath().setSelected((targets & ScannerParam.TARGET_URLPATH) != 0); this.getChkInjectablePostData().setSelected((targets & ScannerParam.TARGET_POSTDATA) != 0); this.getChkInjectableHeaders().setSelected((targets & ScannerParam.TARGET_HTTPHEADERS) != 0); this.getChkInjectableHeadersAllRequests().setSelected(param.isScanHeadersAllRequests()); this.getChkInjectableHeadersAllRequests().setEnabled(getChkInjectableHeaders().isEnabled() && getChkInjectableHeaders().isSelected()); this.getChkInjectableCookie().setSelected((targets & ScannerParam.TARGET_COOKIE) != 0); int rpcEnabled = param.getTargetParamsEnabledRPC(); this.getChkRPCMultipart().setSelected((rpcEnabled & ScannerParam.RPC_MULTIPART) != 0); this.getChkRPCXML().setSelected((rpcEnabled & ScannerParam.RPC_XML) != 0); this.getChkRPCJSON().setSelected((rpcEnabled & ScannerParam.RPC_JSON) != 0); this.getChkRPCGWT().setSelected((rpcEnabled & ScannerParam.RPC_GWT) != 0); this.getChkRPCoData().setSelected((rpcEnabled & ScannerParam.RPC_ODATA) != 0); this.getChkRPCDWR().setSelected((rpcEnabled & ScannerParam.RPC_DWR) != 0); this.getChkRPCCustom().setSelected((rpcEnabled & ScannerParam.RPC_CUSTOM) != 0); this.getExcludedParameterModel().setTokens(param.getExcludedParamList()); this.txtValueFilterExpression.setText(param.getWhitelistingValueExpression()); this.txtValueFilterExpression.discardAllEdits(); }