Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 9CDF7200B8E for ; Mon, 26 Sep 2016 23:09:08 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9BA04160ACA; Mon, 26 Sep 2016 21:09:08 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id BD4E1160AC8 for ; Mon, 26 Sep 2016 23:09:07 +0200 (CEST) Received: (qmail 6857 invoked by uid 500); 26 Sep 2016 21:09:06 -0000 Mailing-List: contact dev-help@jmeter.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jmeter.apache.org Delivered-To: mailing list dev@jmeter.apache.org Received: (qmail 6836 invoked by uid 99); 26 Sep 2016 21:09:06 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Sep 2016 21:09:06 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 3665B1A5365 for ; Mon, 26 Sep 2016 21:09:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.148 X-Spam-Level: ** X-Spam-Status: No, score=2.148 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 9jLRA0kjbAxP for ; Mon, 26 Sep 2016 21:09:02 +0000 (UTC) Received: from mail-io0-f181.google.com (mail-io0-f181.google.com [209.85.223.181]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 038465FBB4 for ; Mon, 26 Sep 2016 21:09:02 +0000 (UTC) Received: by mail-io0-f181.google.com with SMTP id r145so196053329ior.0 for ; Mon, 26 Sep 2016 14:09:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=ew6xlp8S7AdyOqUsWCWggZLuQHuziEqFCEsJ3CVpNlc=; b=QuK8hhGPVUFKmtTq5F6QA1/DLL+Jwu5hA1t4pS90IzzgzuXuZ7AdKt9ThVVB6bmLYg EqZ0Rc/PHvQ388hBPrwX53Ljl3gwc29BL8IJ9h0v1YUH7qpV4RMIldhAzWSFptShadA2 rUj331/I3lnqNE7vlT2+6BKclFR3b0Qw+LZRKph701eFqmnJagWrQ7bJv+vaTs3/F68M ExKDIsjlBClFrDYvCKbiBRJ6H7kH5k4cZ2zr4Y89R6vi7y1HuE3zqMPLXjSfTTHo5wqi F7l7Vkb4pXW4l0GwS5zdv6aonBC2uEsg1XlPlM1EdQKSvvaaaECaLvR80Nm202DjGqOu EgoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=ew6xlp8S7AdyOqUsWCWggZLuQHuziEqFCEsJ3CVpNlc=; b=Qus5zqe48/usxDo88iC3r77iYZoBoca0J2xkl/V/bNhb+rbkrtFUwl93496Jn+5QS8 EZVE110qtJIhIPl3gTxe9jZ9SUC4Sp3w0RaMOWLJRzhr9XSpL9K0kqpPlE/CcCVLBLRD PJYqiRARFthuLmRMaO/o4/Wqv+Swb+OUEOmyWDHzzryvJpNVIpqRnen+150RXBOFH/Kf 26bLVKa2EGSGZ537kjmM3wO1aCkhbblqpzV4Jqw4htwx/8Eq7oFaldn+2JPO4XDAne5j 3tpFyVwKMWP4pXzqDrLn2D9tEz79PpIH7xAyW01GUFewqyoHCM7S49oaCqQeSbM6To4A 3oAg== X-Gm-Message-State: AE9vXwOHCZorvPsNZ7NjOVJW4lll6AwKGWf8PEC+C8jJjceNZRoeXo172EHShwwVi3qwkE0PlLfXcyF45dWk7A== X-Received: by 10.107.59.199 with SMTP id i190mr24644508ioa.18.1474924140536; Mon, 26 Sep 2016 14:09:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.15.86 with HTTP; Mon, 26 Sep 2016 14:08:39 -0700 (PDT) In-Reply-To: References: <20160914201804.145363A09EA@svn01-us-west.apache.org> <84995f12-0608-0d44-14ec-08b1ba344d52@internetallee.de> From: Antonio Gomes Rodrigues Date: Mon, 26 Sep 2016 23:08:39 +0200 Message-ID: Subject: Re: svn commit: r1760749 - /jmeter/trunk/src/components/org/apache/jmeter/visualizers/RenderAsHTMLFormated.java To: dev@jmeter.apache.org Content-Type: multipart/alternative; boundary=001a114f7e3477a904053d6f89a5 archived-at: Mon, 26 Sep 2016 21:09:08 -0000 --001a114f7e3477a904053d6f89a5 Content-Type: text/plain; charset=UTF-8 Thanks Done Antonio 2016-09-25 14:25 GMT+02:00 sebb : > On 24 September 2016 at 23:03, Antonio Gomes Rodrigues > wrote: > > Hi Sebb, > > > > Thank to the review > > > > How can I fix all the SVN log message I have already made without the > right > > message? > > I usually use Eclipse to do this: > > Select File > Team/Show History > Select commit > Right-Click: set commit properties. > > Otherwise see for example: > > http://stackoverflow.com/questions/304383/how-do-i- > edit-a-log-message-that-i-already-committed-in-subversion > > > Antonio > > > > 2016-09-23 23:25 GMT+02:00 sebb : > > > >> On 15 September 2016 at 18:26, Felix Schumacher > >> wrote: > >> > Am 14.09.2016 um 22:18 schrieb agomes@apache.org: > >> >> > >> >> Author: agomes > >> >> Date: Wed Sep 14 20:18:03 2016 > >> >> New Revision: 1760749 > >> >> > >> >> URL: http://svn.apache.org/viewvc?rev=1760749&view=rev > >> >> Log: > >> >> Add RenderAsHTMLFormated.java file > >> > > >> > I think we should correct ...[Ff]ormated to ...[Ff]ormatted and > normally > >> we > >> > add the header from the commit messages to the corresponding bugzilla > >> > entries. > >> > >> Also please add the Bugzilla id to the SVN log message. > >> > >> > Regards, > >> > Felix > >> > > >> > > >> >> > >> >> Added: > >> >> > >> >> jmeter/trunk/src/components/org/apache/jmeter/visualizers/ > >> RenderAsHTMLFormated.java > >> >> > >> >> Added: > >> >> jmeter/trunk/src/components/org/apache/jmeter/visualizers/ > >> RenderAsHTMLFormated.java > >> >> URL: > >> >> http://svn.apache.org/viewvc/jmeter/trunk/src/components/ > >> org/apache/jmeter/visualizers/RenderAsHTMLFormated.java?rev= > >> 1760749&view=auto > >> >> > >> >> ============================================================ > >> ================== > >> >> --- > >> >> jmeter/trunk/src/components/org/apache/jmeter/visualizers/ > >> RenderAsHTMLFormated.java > >> >> (added) > >> >> +++ > >> >> jmeter/trunk/src/components/org/apache/jmeter/visualizers/ > >> RenderAsHTMLFormated.java > >> >> Wed Sep 14 20:18:03 2016 > >> >> @@ -0,0 +1,51 @@ > >> >> +/* > >> >> + * Licensed to the Apache Software Foundation (ASF) under one or > more > >> >> + * contributor license agreements. See the NOTICE file distributed > >> with > >> >> + * this work for additional information regarding copyright > ownership. > >> >> + * The ASF licenses this file to You under the Apache License, > Version > >> >> 2.0 > >> >> + * (the "License"); you may not use this file except in compliance > with > >> >> + * the License. You may obtain a copy of the License at > >> >> + * > >> >> + * http://www.apache.org/licenses/LICENSE-2.0 > >> >> + * > >> >> + * Unless required by applicable law or agreed to in writing, > software > >> >> + * distributed under the License is distributed on an "AS IS" > BASIS, > >> >> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express > or > >> >> + * implied. > >> >> + * > >> >> + * See the License for the specific language governing permissions > and > >> >> + * limitations under the License. > >> >> + */ > >> >> + > >> >> +package org.apache.jmeter.visualizers; > >> >> + > >> >> +import org.apache.jmeter.samplers.SampleResult; > >> >> +import org.apache.jmeter.util.JMeterUtils; > >> >> +import org.jsoup.Jsoup; > >> >> + > >> >> +public class RenderAsHTMLFormated extends SamplerResultTab > implements > >> >> ResultRenderer { > >> >> + > >> >> + /** {@inheritDoc} */ > >> >> + @Override > >> >> + public void renderResult(SampleResult sampleResult) { > >> >> + String response = > >> >> ViewResultsFullVisualizer.getResponseAsString(sampleResult); > >> >> + showHTMLFormatedResponse(response); > >> >> + } > >> >> + > >> >> + private void showHTMLFormatedResponse(String response) { > >> >> + results.setContentType("text/plain"); // $NON-NLS-1$ > >> >> + results.setText(response == null ? "" : > >> >> Jsoup.parse(response).html()); // $NON-NLS-1$ > >> >> + results.setCaretPosition(0); > >> >> + resultsScrollPane.setViewportView(results); > >> >> + // Bug 55111 - Refresh JEditor pane size depending on the > >> >> presence or absence of scrollbars > >> >> + > >> >> resultsScrollPane.setPreferredSize(resultsScrollPane. > getMinimumSize()); > >> >> + results.revalidate(); > >> >> + } > >> >> + > >> >> + /** {@inheritDoc} */ > >> >> + @Override > >> >> + public String toString() { > >> >> + return > >> >> JMeterUtils.getResString("view_results_render_html_formated"); // > >> >> $NON-NLS-1$ > >> >> + } > >> >> + > >> >> +} > >> >> > >> >> > >> > > >> > --001a114f7e3477a904053d6f89a5--