Github user moshebla commented on a diff in the pull request:

    https://github.com/apache/lucene-solr/pull/430#discussion_r207906914
  
    --- Diff: solr/solrj/src/java/org/apache/solr/common/util/XML.java ---
    @@ -208,7 +179,13 @@ public static void escape(String str, Writer out, 
String[] escapes) throws IOExc
         }
       }
     
    +  @FunctionalInterface
       public interface Writable {
    -    void write(Writer w) throws IOException ;
    +    void write(Writer w) throws IOException;
    +  }
    +
    +  @FunctionalInterface
    +  public interface Escapable<T, U> {
    --- End diff --
    
    Perhaps since this is a utility some user will have a use case to escape 
their own attributes, like we did with the data in the child document. So I 
added this.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to