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 DF391200B8A for ; Sun, 25 Sep 2016 00:03:39 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id DDB86160ADF; Sat, 24 Sep 2016 22:03:39 +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 EE2C4160AD1 for ; Sun, 25 Sep 2016 00:03:38 +0200 (CEST) Received: (qmail 18372 invoked by uid 500); 24 Sep 2016 22:03:37 -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 18355 invoked by uid 99); 24 Sep 2016 22:03:37 -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; Sat, 24 Sep 2016 22:03:37 +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 0D1E61A0467 for ; Sat, 24 Sep 2016 22:03:37 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.429 X-Spam-Level: * X-Spam-Status: No, score=1.429 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_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id VkbywyDpYPIU for ; Sat, 24 Sep 2016 22:03:34 +0000 (UTC) Received: from mail-it0-f47.google.com (mail-it0-f47.google.com [209.85.214.47]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 60D275F36A for ; Sat, 24 Sep 2016 22:03:34 +0000 (UTC) Received: by mail-it0-f47.google.com with SMTP id r192so44365980ita.0 for ; Sat, 24 Sep 2016 15:03:34 -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=qiYMl4rr+SiWhtfE0iV40S6Rz3y2CSd8qy+KkAOxieM=; b=sF/pKuAdXuFMow9hIEXn0XKBS4iyTiUOxKYSdAAT14zDBkUhygaGUD5csSdGbMluFc 99gCnB53JO++ljBuxi5jQ6DLUVJa5PjI6p1kdyAXn6nhywTDJRCkjjIFoszl0ANW8dGx uWj/Rj2qn0XUBqkRM5YA1rE7h5K/KWmiEz6uPKlH8YGQNr67uV8T7kLQBuvt7FMxf6cB UithwJtGBacLWAFFn1JXfQUyTcXsjy5K8Zj4gTRzWeoCZFGLbBXVH66T+kE9HKyE3wfM ZRPWw1Wmi+3AGdj0NhWdOrBgJGlKUBtO+NlgyLU9gvTLftwYetgOWeQPnBHovwkIUX80 ftrQ== 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=qiYMl4rr+SiWhtfE0iV40S6Rz3y2CSd8qy+KkAOxieM=; b=FooFIJNRwZoImosvLtRcsU7nBvj1KBsnF8hkVvon8YOvFOrjzvvwmTCkuWMrqihM7Z gtQUXyVY36AerF+DQPt0JBWc8Bt7QavtNAiNGe+Cl6jD71ixFi/WAedssyib1sJqKCtD 444UFOtzjUCNsbuAyU3MtQvKkTDBTR4v4lPUkBEpbJ4A9/DgPxYSJOWwVSk9Z3MxLqyr HZRjRJU7g0+bUJuh6MfYyh3Wn5mTFp1aD+1kWk9CSEWGPSR7a2h9Jck/6Roh18Ld/4D6 0ez+/SPe/fEcILYbec1i64xdZua5xk8oFO0NEwJgbSrDGAd5Y0bfwPoHtqedd++02TfE xMMA== X-Gm-Message-State: AA6/9Rl21IvLS3ChhAhLdT7aUntPk+ucmWtC/DaipYaxgH4SIGmD5S2GP0KeNtudqmpIsmAP1tEKRy6+L3yI7Q== X-Received: by 10.36.73.19 with SMTP id z19mr10945846ita.36.1474754613585; Sat, 24 Sep 2016 15:03:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.15.86 with HTTP; Sat, 24 Sep 2016 15:03:13 -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: Sun, 25 Sep 2016 00:03:13 +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=001a11c14bc8dfb153053d48109d archived-at: Sat, 24 Sep 2016 22:03:40 -0000 --001a11c14bc8dfb153053d48109d Content-Type: text/plain; charset=UTF-8 Hi Sebb, Thank to the review How can I fix all the SVN log message I have already made without the right message? 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$ > >> + } > >> + > >> +} > >> > >> > > > --001a11c14bc8dfb153053d48109d--