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 998A3200B62 for ; Fri, 12 Aug 2016 21:50:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 98267160AB0; Fri, 12 Aug 2016 19:50:22 +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 D6BD5160A85 for ; Fri, 12 Aug 2016 21:50:21 +0200 (CEST) Received: (qmail 8658 invoked by uid 500); 12 Aug 2016 19:50:20 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 8648 invoked by uid 99); 12 Aug 2016 19:50:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Aug 2016 19:50:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 6EEEB2C0003 for ; Fri, 12 Aug 2016 19:50:20 +0000 (UTC) Date: Fri, 12 Aug 2016 19:50:20 +0000 (UTC) From: "Jon Dorando (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (SOLR-9412) Update Macro Expander for replacement logic MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 12 Aug 2016 19:50:22 -0000 Jon Dorando created SOLR-9412: --------------------------------- Summary: Update Macro Expander for replacement logic Key: SOLR-9412 URL: https://issues.apache.org/jira/browse/SOLR-9412 Project: Solr Issue Type: Improvement Security Level: Public (Default Security Level. Issues are Public) Reporter: Jon Dorando Priority: Minor MacroExpander class was updated to allow to return null when replacement parameters are missing. Right now it defaults to a blank space and it isn't easily verifiable that a parameter was missing. Additionally, unit tests were added for this case and the original use cases of Macro Expander. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org