Return-Path: X-Original-To: apmail-jackrabbit-oak-dev-archive@minotaur.apache.org Delivered-To: apmail-jackrabbit-oak-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 8633EC32B for ; Fri, 25 May 2012 09:33:30 +0000 (UTC) Received: (qmail 49220 invoked by uid 500); 25 May 2012 09:33:30 -0000 Delivered-To: apmail-jackrabbit-oak-dev-archive@jackrabbit.apache.org Received: (qmail 46815 invoked by uid 500); 25 May 2012 09:33:26 -0000 Mailing-List: contact oak-dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: oak-dev@jackrabbit.apache.org Delivered-To: mailing list oak-dev@jackrabbit.apache.org Received: (qmail 46409 invoked by uid 99); 25 May 2012 09:33:23 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 May 2012 09:33:23 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 5EA4B141F4C for ; Fri, 25 May 2012 09:33:23 +0000 (UTC) Date: Fri, 25 May 2012 09:33:23 +0000 (UTC) From: =?utf-8?Q?Michael_D=C3=BCrig_=28JIRA=29?= To: oak-dev@jackrabbit.apache.org Message-ID: <968143049.1120.1337938403389.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1539219396.49439.1336659229104.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (OAK-96) PathUtils should use assertions to enable validation instead of system property MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/OAK-96?page=3Dcom.atlassian.ji= ra.plugin.system.issuetabpanels:all-tabpanel ] Michael D=C3=BCrig resolved OAK-96. ------------------------------ Resolution: Fixed Fix Version/s: 0.3 Fixed at revision 1342342 =20 > PathUtils should use assertions to enable validation instead of system pr= operty > -------------------------------------------------------------------------= ------ > > Key: OAK-96 > URL: https://issues.apache.org/jira/browse/OAK-96 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: commons > Reporter: Michael D=C3=BCrig > Assignee: Michael D=C3=BCrig > Fix For: 0.3 > > > Currently PathUtils does potentially expensive validity checks on the arg= uments passed to its methods. The checks can be disabled by setting a syste= m property. > We should rather use Java's assertion mechanism to control these checks. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira