dspencer    2005/01/07 14:34:24

  Modified:    
contributions/highlighter/src/java/org/apache/lucene/search/highlight
                        GradientFormatter.java
  Log:
  Make highlightForeground and highlightBackground so that this can be extended 
in another package, esp in the case where only highlightTerm() is changed.
  
  Revision  Changes    Path
  1.4       +2 -2      
jakarta-lucene-sandbox/contributions/highlighter/src/java/org/apache/lucene/search/highlight/GradientFormatter.java
  
  Index: GradientFormatter.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-lucene-sandbox/contributions/highlighter/src/java/org/apache/lucene/search/highlight/GradientFormatter.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- GradientFormatter.java    7 Jan 2005 21:44:39 -0000       1.3
  +++ GradientFormatter.java    7 Jan 2005 22:34:24 -0000       1.4
  @@ -29,13 +29,13 @@
   
       int fgRMax, fgGMax, fgBMax;
   
  -    boolean highlightForeground;
  +    protected boolean highlightForeground;
   
       int bgRMin, bgGMin, bgBMin;
   
       int bgRMax, bgGMax, bgBMax;
   
  -    boolean highlightBackground;
  +    protected boolean highlightBackground;
   
       /**
        * Sets the color range for the IDF scores
  
  
  

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

Reply via email to