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 F19E4200B11 for ; Mon, 13 Jun 2016 10:02:20 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id F04C9160A3C; Mon, 13 Jun 2016 08:02:20 +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 4301F160A19 for ; Mon, 13 Jun 2016 10:02:20 +0200 (CEST) Received: (qmail 3395 invoked by uid 500); 13 Jun 2016 08:02:19 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 3386 invoked by uid 99); 13 Jun 2016 08:02:19 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Jun 2016 08:02:19 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 0F6171A0A3D for ; Mon, 13 Jun 2016 08:02:19 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.426 X-Spam-Level: X-Spam-Status: No, score=-0.426 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-1.426] autolearn=disabled Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id tirtqvMMThc9 for ; Mon, 13 Jun 2016 08:02:18 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTP id BBFA25F254 for ; Mon, 13 Jun 2016 08:02:17 +0000 (UTC) Received: from svn01-us-west.apache.org (svn.apache.org [10.41.0.6]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id DC13CE00E7 for ; Mon, 13 Jun 2016 08:02:16 +0000 (UTC) Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id D9CD43A0363 for ; Mon, 13 Jun 2016 08:02:16 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1748124 - /commons/proper/bcel/trunk/src/main/java/org/apache/bcel/util/SyntheticRepository.java Date: Mon, 13 Jun 2016 08:02:16 -0000 To: commits@commons.apache.org From: ggregory@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20160613080216.D9CD43A0363@svn01-us-west.apache.org> archived-at: Mon, 13 Jun 2016 08:02:21 -0000 Author: ggregory Date: Mon Jun 13 08:02:16 2016 New Revision: 1748124 URL: http://svn.apache.org/viewvc?rev=1748124&view=rev Log: Rename private vars to remove leading underscore. Modified: commons/proper/bcel/trunk/src/main/java/org/apache/bcel/util/SyntheticRepository.java Modified: commons/proper/bcel/trunk/src/main/java/org/apache/bcel/util/SyntheticRepository.java URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/bcel/util/SyntheticRepository.java?rev=1748124&r1=1748123&r2=1748124&view=diff ============================================================================== --- commons/proper/bcel/trunk/src/main/java/org/apache/bcel/util/SyntheticRepository.java (original) +++ commons/proper/bcel/trunk/src/main/java/org/apache/bcel/util/SyntheticRepository.java Mon Jun 13 08:02:16 2016 @@ -33,7 +33,7 @@ import java.util.Map; public class SyntheticRepository extends MemorySensitiveClassPathRepository { // private static final String DEFAULT_PATH = ClassPath.getClassPath(); - private static final Map _instances = new HashMap<>(); // CLASSPATH X REPOSITORY + private static final Map instances = new HashMap<>(); // CLASSPATH X REPOSITORY private SyntheticRepository(final ClassPath path) { super(path); @@ -44,10 +44,10 @@ public class SyntheticRepository extends } public static SyntheticRepository getInstance(final ClassPath classPath) { - SyntheticRepository rep = _instances.get(classPath); + SyntheticRepository rep = instances.get(classPath); if (rep == null) { rep = new SyntheticRepository(classPath); - _instances.put(classPath, rep); + instances.put(classPath, rep); } return rep; }