Return-Path: X-Original-To: apmail-streams-dev-archive@minotaur.apache.org Delivered-To: apmail-streams-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 07AF311DE1 for ; Mon, 12 May 2014 18:06:04 +0000 (UTC) Received: (qmail 52653 invoked by uid 500); 12 May 2014 18:06:03 -0000 Delivered-To: apmail-streams-dev-archive@streams.apache.org Received: (qmail 52607 invoked by uid 500); 12 May 2014 18:06:03 -0000 Mailing-List: contact dev-help@streams.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@streams.incubator.apache.org Delivered-To: mailing list dev@streams.incubator.apache.org Received: (qmail 52599 invoked by uid 99); 12 May 2014 18:06:03 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 May 2014 18:06:03 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 12 May 2014 18:06:04 +0000 Received: (qmail 61218 invoked by uid 99); 12 May 2014 17:58:19 -0000 Received: from Unknown (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 May 2014 17:58:19 +0000 Date: Mon, 12 May 2014 17:58:19 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: dev@streams.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (STREAMS-75) Refactor contrib/streams-processor-urls MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/STREAMS-75?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13995331#comment-13995331 ] ASF GitHub Bot commented on STREAMS-75: --------------------------------------- Github user smashew commented on a diff in the pull request: https://github.com/apache/incubator-streams/pull/13#discussion_r12543630 --- Diff: streams-contrib/streams-processor-urls/src/main/java/org/apache/streams/urls/LinkResolver.java --- @@ -14,31 +14,43 @@ import java.net.URLDecoder; import java.util.*; -/** - * References: - * Some helpful references to help - * Purpose URL - * ------------- ---------------------------------------------------------------- - * [Status Codes] http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html - * [Test Cases] http://greenbytes.de/tech/tc/httpredirects/ - * [t.co behavior] https://dev.twitter.com/docs/tco-redirection-behavior - */ - -public class LinkResolver implements Serializable -{ +public class LinkResolver implements Serializable { + + /** --- End diff -- I don't know that it is JavaDoc worthy. More helpful to the developer of the class and it's internals. It helps to explain the nuances of redirects as it relates to different domains. Something that the caller shouldn't need to be aware of from a 'doc' perspective. > Refactor contrib/streams-processor-urls > --------------------------------------- > > Key: STREAMS-75 > URL: https://issues.apache.org/jira/browse/STREAMS-75 > Project: Streams > Issue Type: Bug > Reporter: Matthew Hager > Original Estimate: 4h > Remaining Estimate: 4h > > refactor this class for readability and usability. -- This message was sent by Atlassian JIRA (v6.2#6252)