hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stack <st...@duboce.net>
Subject Re: svn commit: r627589 - /hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/hql/formatter/HtmlTableFormatter.java
Date Wed, 13 Feb 2008 20:46:18 GMT
You didn't add to CHANGES.txt?
St.Ack

bryanduxbury@apache.org wrote:
> Author: bryanduxbury
> Date: Wed Feb 13 12:42:02 2008
> New Revision: 627589
>
> URL: http://svn.apache.org/viewvc?rev=627589&view=rev
> Log:
> 438 XMLOutputter state should be initialized.
>
> Modified:
>     hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/hql/formatter/HtmlTableFormatter.java
>
> Modified: hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/hql/formatter/HtmlTableFormatter.java
> URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/hql/formatter/HtmlTableFormatter.java?rev=627589&r1=627588&r2=627589&view=diff
> ==============================================================================
> --- hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/hql/formatter/HtmlTableFormatter.java
(original)
> +++ hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/hql/formatter/HtmlTableFormatter.java
Wed Feb 13 12:42:02 2008
> @@ -114,12 +114,15 @@
>     * no header, no footer, etc.
>     * @throws IOException 
>     */
> +  @SuppressWarnings("static-access")
>    public void header(String[] titles) throws IOException {
>      if (titles == null) {
>        // print nothing.
>        setNoFormatting(true);
>        return;
>      }
> +    
> +    this.outputter.setState(this.outputter.BEFORE_XML_DECLARATION, null);
>      // Can't add a 'border=1' attribute because its included on the end in
>      
>      this.outputter.startTag("table");
>
>
>   


Mime
View raw message