Source:
<code>public SlackNotifier(final String baseUrl, final String teamDomain, final String authToken, final boolean botUser, final String room, final String tokenCredentialId, final String sendAs, final boolean startNotification, final boolean notifyAborted, final boolean notifyFailure, final boolean notifyNotBuilt, final boolean notifySuccess, final boolean notifyUnstable, final boolean notifyRegression, final boolean notifyBackToNormal, final boolean notifyRepeatedFailure, final boolean includeTestSummary, final boolean includeFailedTests, MatrixTriggerMode matrixTriggerMode, CommitInfoChoice commitInfoChoice, boolean includeCustomMessage, String customMessage, String customMessageSuccess, String customMessageAborted, String customMessageNotBuilt, String customMessageUnstable, String customMessageFailure) { <START> new SlackNotifier.SlackNotifierBuilder() <END> .withBaseUrl(baseUrl) .withTeamDomain(teamDomain) .withAuthToken(authToken) .withBotUser(botUser) .withRoom(room) .withTokenCredentialId(tokenCredentialId) .withSendAs(sendAs) .withIconEmoji("") .withUsername("") .withStartNotification(startNotification) .withNotifyAborted(notifyAborted) .withNotifyFailure(notifyFailure) .withNotifyNotBuilt(notifyNotBuilt) .withNotifySuccess(notifySuccess) .withNotifyUnstable(notifyUnstable) .withNotifyRegression(notifyRegression) .withNotifyBackToNormal(notifyBackToNormal) .withNotifyRepeatedFailure(notifyRepeatedFailure) .withIncludeTestSummary(includeTestSummary) .withIncludeFailedTests(includeFailedTests) .withMatrixTriggerMode(matrixTriggerMode) .withCommitInfoChoice(commitInfoChoice) .withIncludeCustomMessage(includeCustomMessage) .withCustomMessage(customMessage) .withCustomMessageSuccess(customMessageSuccess) .withCustomMessageAborted(customMessageAborted) .withCustomMessageNotBuilt(customMessageNotBuilt) .withCustomMessageUnstable(customMessageUnstable) .withCustomMessageFailure(customMessageFailure) .build(); }</code><technical_language>this is spotbugs issue, building a new object assigning</technical_language>

Target:
public SlackNotifier(final String baseUrl, final String teamDomain, final String authToken, final boolean botUser, final String room, final String tokenCredentialId, final String sendAs, final boolean startNotification, final boolean notifyAborted, final boolean notifyFailure, final boolean notifyNotBuilt, final boolean notifySuccess, final boolean notifyUnstable, final boolean notifyRegression, final boolean notifyBackToNormal, final boolean notifyRepeatedFailure, final boolean includeTestSummary, final boolean includeFailedTests, MatrixTriggerMode matrixTriggerMode, CommitInfoChoice commitInfoChoice, boolean includeCustomMessage, String customMessage, String customMessageSuccess, String customMessageAborted, String customMessageNotBuilt, String customMessageUnstable, String customMessageFailure) { this(new SlackNotifierBuilder() .withBaseUrl(baseUrl) .withTeamDomain(teamDomain) .withAuthToken(authToken) .withBotUser(botUser) .withRoom(room) .withTokenCredentialId(tokenCredentialId) .withSendAs(sendAs) .withStartNotification(startNotification) .withNotifyAborted(notifyAborted) .withNotifyFailure(notifyFailure) .withNotifyNotBuilt(notifyNotBuilt) .withNotifySuccess(notifySuccess) .withNotifyUnstable(notifyUnstable) .withNotifyRegression(notifyRegression) .withNotifyBackToNormal(notifyBackToNormal) .withNotifyRepeatedFailure(notifyRepeatedFailure) .withIncludeTestSummary(includeTestSummary) .withIncludeFailedTests(includeFailedTests) .withMatrixTriggerMode(matrixTriggerMode) .withCommitInfoChoice(commitInfoChoice) .withIncludeCustomMessage(includeCustomMessage) .withCustomMessage(customMessage) .withCustomMessageSuccess(customMessageSuccess) .withCustomMessageAborted(customMessageAborted) .withCustomMessageNotBuilt(customMessageNotBuilt) .withCustomMessageUnstable(customMessageUnstable) .withCustomMessageFailure(customMessageFailure) ); }