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.