You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-batch-infrastructure/src/main/java/org/springframework/batch/item/file/transform/DefaultFieldSet.java
+49-13
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2006-2023 the original author or authors.
2
+
* Copyright 2006-2024 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -45,17 +45,13 @@ public class DefaultFieldSet implements FieldSet {
Copy file name to clipboardExpand all lines: spring-batch-infrastructure/src/main/java/org/springframework/batch/item/file/transform/DefaultFieldSetFactory.java
+22-15
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2009-2023 the original author or authors.
2
+
* Copyright 2009-2024 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -18,6 +18,8 @@
18
18
importjava.text.DateFormat;
19
19
importjava.text.NumberFormat;
20
20
21
+
importorg.springframework.lang.Nullable;
22
+
21
23
/**
22
24
* Default implementation of {@link FieldSetFactory} with no special knowledge of the
23
25
* {@link FieldSet} required. Returns a {@link DefaultFieldSet} from both factory methods.
@@ -32,6 +34,23 @@ public class DefaultFieldSetFactory implements FieldSetFactory {
32
34
33
35
privateNumberFormatnumberFormat;
34
36
37
+
/**
38
+
* Default constructor.
39
+
*/
40
+
publicDefaultFieldSetFactory() {
41
+
}
42
+
43
+
/**
44
+
* Convenience constructor
45
+
* @param dateFormat the {@link DateFormat} to use for parsing dates
46
+
* @param numberFormat the {@link NumberFormat} to use for parsing numbers
0 commit comments