otis        2003/01/04 08:41:36

  Modified:    src/java/org/apache/lucene/document DateField.java
  Log:
  - Reverted to revision 1.2 ... this matches the comments in the code anyway :).
    Should fix bug http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14485
  
  Revision  Changes    Path
  1.5       +1 -1      
jakarta-lucene/src/java/org/apache/lucene/document/DateField.java
  
  Index: DateField.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-lucene/src/java/org/apache/lucene/document/DateField.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- DateField.java    25 Jun 2002 00:05:31 -0000      1.4
  +++ DateField.java    4 Jan 2003 16:41:36 -0000       1.5
  @@ -109,7 +109,7 @@
       if (s.length() < DATE_LEN) {
         StringBuffer sb = new StringBuffer(s);
         while (sb.length() < DATE_LEN)
  -        sb.insert(0, ' ');
  +        sb.insert(0, 0);
         s = sb.toString();
       }
   
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to