File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed
opengrok-indexer/src/main/java/org/opengrok/indexer/history Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -531,10 +531,7 @@ private class RepositoryDateFormat extends DateFormat {
531
531
532
532
@ Override
533
533
public StringBuffer format (Date date , StringBuffer toAppendTo , FieldPosition fieldPosition ) {
534
- for (DateFormat formatter : formatters ) {
535
- return formatter .format (date , toAppendTo , fieldPosition );
536
- }
537
- return toAppendTo .append ("(date null)" );
534
+ throw new UnsupportedOperationException ("not implemented" );
538
535
}
539
536
540
537
@ Override
@@ -568,13 +565,7 @@ public Date parse(String source) throws ParseException {
568
565
569
566
@ Override
570
567
public Date parse (String source , ParsePosition pos ) {
571
- Date d = null ;
572
- for (DateFormat formatter : formatters ) {
573
- if ((d = formatter .parse (source , pos )) != null ) {
574
- return d ;
575
- }
576
- }
577
- return d ;
568
+ throw new UnsupportedOperationException ("not implemented" );
578
569
}
579
570
}
580
571
}
You can’t perform that action at this time.
0 commit comments