@@ -315,14 +315,6 @@ public Column withType(ColumnType newType) {
315
315
return new Column (_index , _name , newType , _arrayElementSeparator );
316
316
}
317
317
318
- /**
319
- * @deprecated use {@link #withArrayElementSeparator(String)} instead
320
- */
321
- @ Deprecated // in 2.7; remove from 2.8
322
- public Column withElementSeparator (int separator ) {
323
- return withArrayElementSeparator ((separator < 0 ) ? NO_ARRAY_ELEMENT_SEPARATOR : Character .toString ((char ) separator ));
324
- }
325
-
326
318
public Column withArrayElementSeparator (String separator ) {
327
319
String sep = _validArrayElementSeparator (separator );
328
320
if (_arrayElementSeparator .equals (sep )) {
@@ -707,16 +699,6 @@ public Builder setColumnSeparator(char c) {
707
699
return this ;
708
700
}
709
701
710
- /**
711
- * @since 2.5
712
- * @deprecated use {@link #setArrayElementSeparator(String)} instead
713
- */
714
- @ Deprecated // in 2.7; remove from 2.8
715
- public Builder setArrayElementSeparator (char c ) {
716
- _arrayElementSeparator = Character .toString (c );
717
- return this ;
718
- }
719
-
720
702
/**
721
703
* Method for specifying character used to separate array element
722
704
* values.
@@ -729,15 +711,6 @@ public Builder setArrayElementSeparator(String separator) {
729
711
return this ;
730
712
}
731
713
732
- /**
733
- * @since 2.5
734
- * @deprecated use {@link #disableArrayElementSeparator()} instead
735
- */
736
- @ Deprecated // in 2.7; remove from 2.8
737
- public Builder disableElementSeparator (char c ) {
738
- return disableArrayElementSeparator ();
739
- }
740
-
741
714
/**
742
715
* @since 2.7
743
716
*/
@@ -870,19 +843,6 @@ protected void _checkIndex(int index) {
870
843
*/
871
844
protected final String _anyPropertyName ;
872
845
873
- /**
874
- * @deprecated use {@link #CsvSchema(Column[], int, char, int, int, char[], String, char[], String)} instead
875
- */
876
- @ Deprecated // in 2.7; remove from 2.8
877
- public CsvSchema (Column [] columns , int features ,
878
- char columnSeparator , int quoteChar , int escapeChar ,
879
- char [] lineSeparator , int arrayElementSeparator ,
880
- char [] nullValue ) {
881
- this (columns , features , columnSeparator , quoteChar , escapeChar , lineSeparator ,
882
- arrayElementSeparator == -1 ? "" : Character .toString ((char ) arrayElementSeparator ), nullValue ,
883
- DEFAULT_ANY_PROPERTY_NAME );
884
- }
885
-
886
846
/**
887
847
* @since 2.7
888
848
*/
@@ -1161,15 +1121,6 @@ public CsvSchema withoutEscapeChar() {
1161
1121
_nullValue , _columnsByName , _anyPropertyName );
1162
1122
}
1163
1123
1164
- /**
1165
- * @since 2.5
1166
- * @deprecated use {@link #withArrayElementSeparator(String)} instead
1167
- */
1168
- @ Deprecated // in 2.7; remove in 2.8
1169
- public CsvSchema withArrayElementSeparator (char c ) {
1170
- return withArrayElementSeparator ( Character .toString (c ));
1171
- }
1172
-
1173
1124
/**
1174
1125
* @since 2.7
1175
1126
*/
@@ -1317,18 +1268,6 @@ public String getSchemaType() {
1317
1268
public boolean allowsComments () { return (_features & ENCODING_FEATURE_ALLOW_COMMENTS ) != 0 ; }
1318
1269
public boolean strictHeaders () { return (_features & ENCODING_FEATURE_STRICT_HEADERS ) != 0 ; }
1319
1270
1320
- /**
1321
- * @deprecated Use {@link #usesHeader()} instead
1322
- */
1323
- @ Deprecated // since 2.5
1324
- public boolean useHeader () { return (_features & ENCODING_FEATURE_USE_HEADER ) != 0 ; }
1325
-
1326
- /**
1327
- * @deprecated Use {@link #skipsFirstDataRow()} instead
1328
- */
1329
- @ Deprecated // since 2.5
1330
- public boolean skipFirstDataRow () { return (_features & ENCODING_FEATURE_SKIP_FIRST_DATA_ROW ) != 0 ; }
1331
-
1332
1271
public char getColumnSeparator () { return _columnSeparator ; }
1333
1272
public String getArrayElementSeparator () { return _arrayElementSeparator ; }
1334
1273
public int getQuoteChar () { return _quoteChar ; }
0 commit comments