File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
opengrok-indexer/src/main/java/org/opengrok/indexer/history Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ public void processStream(InputStream input) throws IOException {
126
126
} else if (s .startsWith (MercurialRepository .USER ) && entry != null ) {
127
127
entry .setAuthor (s .substring (MercurialRepository .USER .length ()).trim ());
128
128
} else if (s .startsWith (MercurialRepository .DATE ) && entry != null ) {
129
- Date date = new Date () ;
129
+ Date date ;
130
130
try {
131
131
date = df .parse (s .substring (MercurialRepository .DATE .length ()).trim ());
132
132
} catch (ParseException pe ) {
Original file line number Diff line number Diff line change @@ -552,7 +552,7 @@ public Date parse(String source) throws ParseException {
552
552
locale ),
553
553
ex1 .getErrorOffset ()
554
554
);
555
- if (head == null || tail == null ) {
555
+ if (head == null ) {
556
556
head = tail = ex1 ;
557
557
} else {
558
558
tail .initCause (ex1 );
You can’t perform that action at this time.
0 commit comments