Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C9A9F18EDE for ; Thu, 2 Jul 2015 13:07:05 +0000 (UTC) Received: (qmail 85413 invoked by uid 500); 2 Jul 2015 13:07:05 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 85373 invoked by uid 500); 2 Jul 2015 13:07:05 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 85191 invoked by uid 99); 2 Jul 2015 13:07:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jul 2015 13:07:04 +0000 Date: Thu, 2 Jul 2015 13:07:04 +0000 (UTC) From: "Sergey Beryozkin (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CXF-6483) Sort ConfigurableImpl Matchers by a number of literal characters MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Sergey Beryozkin created CXF-6483: ------------------------------------- Summary: Sort ConfigurableImpl Matchers by a number of literal characters Key: CXF-6483 URL: https://issues.apache.org/jira/browse/CXF-6483 Project: CXF Issue Type: Improvement Components: Core Reporter: Sergey Beryozkin Assignee: Sergey Beryozkin Priority: Minor Fix For: 3.0.6, 2.7.17, 3.1.2 A configuration containing multiple HttpConduits with overlapping regular expressions can be made more useful with a basic sorting of ConfigurablleImpl matchers based on the number of literal characters a regular expression contains. In most practical situations it should make it more predictable, even though on some rare cases a longer expression may be less specific. -- This message was sent by Atlassian JIRA (v6.3.4#6332)