Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 85546 invoked from network); 21 Jan 2010 14:18:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Jan 2010 14:18:04 -0000 Received: (qmail 40819 invoked by uid 500); 21 Jan 2010 14:18:03 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 40776 invoked by uid 500); 21 Jan 2010 14:18:03 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 40767 invoked by uid 99); 21 Jan 2010 14:18:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jan 2010 14:18:03 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jan 2010 14:18:02 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 94FD923888E2; Thu, 21 Jan 2010 14:17:42 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r901716 - /harmony/enhanced/classlib/branches/java6/modules/luni/src/main/java/java/util/Properties.java Date: Thu, 21 Jan 2010 14:17:42 -0000 To: commits@harmony.apache.org From: hindessm@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100121141742.94FD923888E2@eris.apache.org> Author: hindessm Date: Thu Jan 21 14:17:42 2010 New Revision: 901716 URL: http://svn.apache.org/viewvc?rev=901716&view=rev Log: Fixing javadoc and rename variable of consistency. Modified: harmony/enhanced/classlib/branches/java6/modules/luni/src/main/java/java/util/Properties.java Modified: harmony/enhanced/classlib/branches/java6/modules/luni/src/main/java/java/util/Properties.java URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/branches/java6/modules/luni/src/main/java/java/util/Properties.java?rev=901716&r1=901715&r2=901716&view=diff ============================================================================== --- harmony/enhanced/classlib/branches/java6/modules/luni/src/main/java/java/util/Properties.java (original) +++ harmony/enhanced/classlib/branches/java6/modules/luni/src/main/java/java/util/Properties.java Thu Jan 21 14:17:42 2010 @@ -591,7 +591,7 @@ * @exception ClassCastException * when the key or value of a mapping is not a String */ - public synchronized void store(OutputStream out, String comments) + public synchronized void store(OutputStream out, String comment) throws IOException { if (lineSeparator == null) { lineSeparator = AccessController @@ -600,9 +600,9 @@ StringBuilder buffer = new StringBuilder(200); OutputStreamWriter writer = new OutputStreamWriter(out, "ISO8859_1"); //$NON-NLS-1$ - if (comments != null) { + if (comment != null) { writer.write("#"); //$NON-NLS-1$ - writer.write(comments); + writer.write(comment); writer.write(lineSeparator); } writer.write("#"); //$NON-NLS-1$ @@ -628,21 +628,21 @@ * * @param writer * the writer - * @param comments + * @param comment * the comment * @throws IOException * if any I/O exception occurs * @since 1.6 */ - public synchronized void store(Writer writer, String comments) throws IOException { + public synchronized void store(Writer writer, String comment) throws IOException { if (lineSeparator == null) { lineSeparator = AccessController .doPrivileged(new PriviAction("line.separator")); //$NON-NLS-1$ } StringBuilder buffer = new StringBuilder(200); - if (comments != null) { + if (comment != null) { writer.write("#"); //$NON-NLS-1$ - writer.write(comments); + writer.write(comment); writer.write(lineSeparator); } writer.write("#"); //$NON-NLS-1$