From bc25eff34c49c0df7fdefb8ed3e800ad984922f8 Mon Sep 17 00:00:00 2001 From: Gary Russell Date: Mon, 5 Mar 2018 11:17:48 -0500 Subject: [PATCH] Polishing --- .../integration/dispatcher/AbstractDispatcher.java | 4 ++-- .../integration/support/utils/IntegrationUtils.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-integration-core/src/main/java/org/springframework/integration/dispatcher/AbstractDispatcher.java b/spring-integration-core/src/main/java/org/springframework/integration/dispatcher/AbstractDispatcher.java index 7f909f4b88..51a516ac6f 100644 --- a/spring-integration-core/src/main/java/org/springframework/integration/dispatcher/AbstractDispatcher.java +++ b/spring-integration-core/src/main/java/org/springframework/integration/dispatcher/AbstractDispatcher.java @@ -133,11 +133,11 @@ public abstract class AbstractDispatcher implements MessageDispatcher { * It also does not wrap other {@link RuntimeException}s. * TODO: Remove this in favor of * {@code #wrapInDeliveryExceptionIfNecessary(Message, Supplier, Exception)} in 5.1. - * @deprecated in favor of - * {@code IntegrationUtils#wrapInDeliveryExceptionIfNecessary(Message, Supplier, Exception)} * @param message the message. * @param e the exception. * @return the wrapper, if necessary, or the original exception. + * @deprecated in favor of + * {@code IntegrationUtils#wrapInDeliveryExceptionIfNecessary(Message, Supplier, Exception)} */ @Deprecated protected RuntimeException wrapExceptionIfNecessary(Message message, Exception e) { diff --git a/spring-integration-core/src/main/java/org/springframework/integration/support/utils/IntegrationUtils.java b/spring-integration-core/src/main/java/org/springframework/integration/support/utils/IntegrationUtils.java index 5ee34e626d..12fbeb3ff6 100644 --- a/spring-integration-core/src/main/java/org/springframework/integration/support/utils/IntegrationUtils.java +++ b/spring-integration-core/src/main/java/org/springframework/integration/support/utils/IntegrationUtils.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2016 the original author or authors. + * Copyright 2014-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.