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 7B5E2200D5B for ; Tue, 7 Nov 2017 18:50:30 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 7A3AD160BEB; Tue, 7 Nov 2017 17:50:30 +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 9A2EC160C02 for ; Tue, 7 Nov 2017 18:50:29 +0100 (CET) Received: (qmail 44016 invoked by uid 500); 7 Nov 2017 17:50:28 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 43697 invoked by uid 99); 7 Nov 2017 17:50:28 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Nov 2017 17:50:28 +0000 From: GitBox To: notifications@accumulo.apache.org Subject: [GitHub] keith-turner commented on a change in pull request #319: ACCUMULO-4737 Clean up cipher algorithm configuration Message-ID: <151007702812.29255.18297550110701034157.gitbox@gitbox.apache.org> archived-at: Tue, 07 Nov 2017 17:50:30 -0000 keith-turner commented on a change in pull request #319: ACCUMULO-4737 Clean up cipher algorithm configuration URL: https://github.com/apache/accumulo/pull/319#discussion_r149447988 ########## File path: core/src/main/java/org/apache/accumulo/core/security/crypto/CryptoModuleFactory.java ########## @@ -239,14 +239,6 @@ public CryptoModuleParameters initializeCipher(CryptoModuleParameters params) { } - public static String[] parseCipherTransform(String cipherTransform) { - if (cipherTransform == null) { - return new String[3]; - } - - return cipherTransform.split("/"); Review comment: This parsing was bad, it did no validation. It seems like this changes removes all custom parsing and uses java standard libs to do the parsing, is this correct? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: users@infra.apache.org With regards, Apache Git Services