diff --git a/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/file/transform/Alignment.java b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/file/transform/Alignment.java index cb54f40f1..55a7c3455 100644 --- a/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/file/transform/Alignment.java +++ b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/file/transform/Alignment.java @@ -1,5 +1,5 @@ /* - * Copyright 2006-2007 the original author or authors. + * Copyright 2006-2020 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. @@ -19,8 +19,12 @@ import org.springframework.util.Assert; /** * @author Dave Syer + * @author Mahmoud Ben Hassine * + * @deprecated Use {@link FormatterLineAggregator#setFormat(java.lang.String)} + * for alignment (See examples in {@code FormatterLineAggregatorTests}) */ +@Deprecated public enum Alignment { CENTER("CENTER", "center"), RIGHT("RIGHT", "right"),