Skip to content

Commit ea92bb2

Browse files
committed
NumberFormat/DecimalFormat 2/2
1 parent cfa423f commit ea92bb2

File tree

3 files changed

+254
-230
lines changed

3 files changed

+254
-230
lines changed

sources/net.sf.j2s.java.core/src/java/text/DontCareFieldPosition.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828

2929
package java.text;
3030

31+
import java.text.Format.Field;
32+
3133
/**
3234
* DontCareFieldPosition defines no-op FieldDelegate. Its
3335
* singleton is used for the format methods that don't take a
@@ -46,6 +48,12 @@ public void formatted(Format.Field attr, Object value, int start,
4648
public void formatted(int fieldID, Format.Field attr, Object value,
4749
int start, int end, StringBuffer buffer) {
4850
}
51+
@Override
52+
public void formatted(Field attr, Object value, int start, int end, String[] buffer) {
53+
}
54+
@Override
55+
public void formatted(int fieldID, Field attr, Object value, int start, int end, String[] buffer) {
56+
}
4957
};
5058

5159
private DontCareFieldPosition() {

0 commit comments

Comments
 (0)