Source:
<code>protected void addToCapitalAssetsMatchingLineType(List<CapitalAssetInformation> matchingAssets, CapitalAssetInformation capitalAsset, GeneralLedgerEntry entry) { List<CapitalAssetAccountsGroupDetails> groupAccountLines = capitalAsset.getCapitalAssetAccountsGroupDetails(); for (CapitalAssetAccountsGroupDetails groupAccountLine : groupAccountLines) { if (groupAccountLine.getDocumentNumber().equals(entry.getDocumentNumber()) && groupAccountLine.getChartOfAccountsCode().equals(entry.getChartOfAccountsCode()) && groupAccountLine.getAccountNumber().equals(entry.getAccountNumber()) && groupAccountLine.getFinancialObjectCode().equals(entry.getFinancialObjectCode())) { boolean isGroupLineSource = StringUtils.equals(groupAccountLine.getFinancialDocumentLineTypeCode(), KFSConstants.SOURCE_ACCT_LINE_TYPE_CODE); boolean isGroupLineTarget = StringUtils.equals(groupAccountLine.getFinancialDocumentLineTypeCode(), KFSConstants.TARGET_ACCT_LINE_TYPE_CODE); boolean isGLEntryCredit = StringUtils.equals(entry.getTransactionDebitCreditCode(), KFSConstants.GL_CREDIT_CODE); boolean isGLEntryDebit = StringUtils.equals(entry.getTransactionDebitCreditCode(), KFSConstants.GL_DEBIT_CODE); boolean isErrorCorrection = groupAccountLine.getAmount().isNegative(); logAddToCapitalAssetsMatchingLineTypeDetails(isGroupLineSource, isGroupLineTarget, isGLEntryCredit, isGLEntryDebit, isErrorCorrection); if ((isGroupLineSource && isGLEntryCredit) || (isGroupLineTarget && isGLEntryDebit) || (isErrorCorrection && isGroupLineSource && isGLEntryDebit) || <START> (isErrorCorrection && isGroupLineTarget && isGLEntryCredit)){ <END> matchingAssets.add(capitalAsset); break; } } } }</code><technical_language>Missing space parentheses curly brace</technical_language>

Target:
protected void addToCapitalAssetsMatchingLineType(List<CapitalAssetInformation> matchingAssets, CapitalAssetInformation capitalAsset, GeneralLedgerEntry entry) { List<CapitalAssetAccountsGroupDetails> groupAccountLines = capitalAsset.getCapitalAssetAccountsGroupDetails(); for (CapitalAssetAccountsGroupDetails groupAccountLine : groupAccountLines) { if (groupAccountLine.getDocumentNumber().equals(entry.getDocumentNumber()) && groupAccountLine.getChartOfAccountsCode().equals(entry.getChartOfAccountsCode()) && groupAccountLine.getAccountNumber().equals(entry.getAccountNumber()) && groupAccountLine.getFinancialObjectCode().equals(entry.getFinancialObjectCode())) { boolean isGroupLineSource = StringUtils.equals(groupAccountLine.getFinancialDocumentLineTypeCode(), KFSConstants.SOURCE_ACCT_LINE_TYPE_CODE); boolean isGroupLineTarget = StringUtils.equals(groupAccountLine.getFinancialDocumentLineTypeCode(), KFSConstants.TARGET_ACCT_LINE_TYPE_CODE); boolean isGLEntryCredit = StringUtils.equals(entry.getTransactionDebitCreditCode(), KFSConstants.GL_CREDIT_CODE); boolean isGLEntryDebit = StringUtils.equals(entry.getTransactionDebitCreditCode(), KFSConstants.GL_DEBIT_CODE); boolean isErrorCorrection = groupAccountLine.getAmount().isNegative(); logAddToCapitalAssetsMatchingLineTypeDetails(isGroupLineSource, isGroupLineTarget, isGLEntryCredit, isGLEntryDebit, isErrorCorrection, groupAccountLine, entry); if ((isGroupLineSource && isGLEntryCredit) || (isGroupLineTarget && isGLEntryDebit) || (isErrorCorrection && isGroupLineSource && isGLEntryDebit) || (isErrorCorrection && isGroupLineTarget && isGLEntryCredit)) { matchingAssets.add(capitalAsset); break; } } } }