Source:
<code>protected ReviewInput createReview() { SecurityContext old = ACL.impersonate(ACL.SYSTEM); try { String message = parameterExpander.getBuildCompletedMessage(memoryImprint, listener); Collection<ReviewLabel> scoredLabels = new ArrayList<ReviewLabel>(); if (memoryImprint.getEvent().isScorable()) { if (config.isRestCodeReview()) { Integer crValue = parameterExpander.getMinimumCodeReviewValue(memoryImprint, true); if (crValue != null && crValue != Integer.MAX_VALUE) { scoredLabels.add(new ReviewLabel( LABEL_CODEREVIEW, crValue)); } } if (config.isRestVerified()) { Integer verValue = parameterExpander.getMinimumVerifiedValue(memoryImprint, true); if (verValue != null && verValue != Integer.MAX_VALUE) { scoredLabels.add(new ReviewLabel( LABEL_VERIFIED, verValue)); } } } Notify notificationLevel = parameterExpander.getHighestNotificationLevel(memoryImprint, true); List<GerritMessageProvider> gerritMessageProviders = GerritMessageProvider.all(); Collection<CommentedFile> commentedFiles = new ArrayList<CommentedFile>(); if (gerritMessageProviders != null) { for (GerritMessageProvider gerritMessageProvider : gerritMessageProviders) { for (BuildMemory.MemoryImprint.Entry e : memoryImprint.getEntries()) { try { commentedFiles.addAll(gerritMessageProvider.getFileComments(e.getBuild())); } catch (Exception ef) { listener.error(ef.getMessage()); } } } } return new ReviewInput(message, scoredLabels, commentedFiles).setNotify(notificationLevel) <START> .setTag("jenkins-gerrit-trigger"); <END> } finally { SecurityContextHolder.setContext(old); } }</code><technical_language>I prefer is a constant instead of a literal</technical_language>

Target:
protected ReviewInput createReview() { SecurityContext old = ACL.impersonate(ACL.SYSTEM); try { String message = parameterExpander.getBuildCompletedMessage(memoryImprint, listener); Collection<ReviewLabel> scoredLabels = new ArrayList<ReviewLabel>(); if (memoryImprint.getEvent().isScorable()) { if (config.isRestCodeReview()) { Integer crValue = parameterExpander.getMinimumCodeReviewValue(memoryImprint, true); if (crValue != null && crValue != Integer.MAX_VALUE) { scoredLabels.add(new ReviewLabel( LABEL_CODEREVIEW, crValue)); } } if (config.isRestVerified()) { Integer verValue = parameterExpander.getMinimumVerifiedValue(memoryImprint, true); if (verValue != null && verValue != Integer.MAX_VALUE) { scoredLabels.add(new ReviewLabel( LABEL_VERIFIED, verValue)); } } } Notify notificationLevel = parameterExpander.getHighestNotificationLevel(memoryImprint, true); List<GerritMessageProvider> gerritMessageProviders = GerritMessageProvider.all(); Collection<CommentedFile> commentedFiles = new ArrayList<CommentedFile>(); if (gerritMessageProviders != null) { for (GerritMessageProvider gerritMessageProvider : gerritMessageProviders) { for (BuildMemory.MemoryImprint.Entry e : memoryImprint.getEntries()) { try { commentedFiles.addAll(gerritMessageProvider.getFileComments(e.getBuild())); } catch (Exception ef) { listener.error(ef.getMessage()); } } } } return new ReviewInput(message, scoredLabels, commentedFiles).setNotify(notificationLevel) .setTag(Constants.TAG_VALUE); } finally { SecurityContextHolder.setContext(old); } }