Skip to content

Commit 9449551

Browse files
committed
Deprecate Alignment enum
Resolves #3778
1 parent 08d7f56 commit 9449551

File tree

1 file changed

+5
-1
lines changed
  • spring-batch-infrastructure/src/main/java/org/springframework/batch/item/file/transform

1 file changed

+5
-1
lines changed

spring-batch-infrastructure/src/main/java/org/springframework/batch/item/file/transform/Alignment.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2006-2007 the original author or authors.
2+
* Copyright 2006-2020 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -19,8 +19,12 @@
1919

2020
/**
2121
* @author Dave Syer
22+
* @author Mahmoud Ben Hassine
2223
*
24+
* @deprecated Use {@link FormatterLineAggregator#setFormat(java.lang.String)}
25+
* for alignment (See examples in {@code FormatterLineAggregatorTests})
2326
*/
27+
@Deprecated
2428
public enum Alignment {
2529
CENTER("CENTER", "center"),
2630
RIGHT("RIGHT", "right"),

0 commit comments

Comments
 (0)