Return-Path: Delivered-To: apmail-directory-commits-archive@www.apache.org Received: (qmail 7853 invoked from network); 2 Mar 2009 22:01:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Mar 2009 22:01:37 -0000 Received: (qmail 52498 invoked by uid 500); 2 Mar 2009 22:01:37 -0000 Delivered-To: apmail-directory-commits-archive@directory.apache.org Received: (qmail 52426 invoked by uid 500); 2 Mar 2009 22:01:37 -0000 Mailing-List: contact commits-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@directory.apache.org Delivered-To: mailing list commits@directory.apache.org Received: (qmail 52417 invoked by uid 99); 2 Mar 2009 22:01:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Mar 2009 14:01:37 -0800 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; Mon, 02 Mar 2009 22:01:36 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 0A3CC2388870; Mon, 2 Mar 2009 22:01:16 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r749450 - /directory/sandbox/szoerner/groovyldap/src/main/java/org/apache/directory/groovyldap/util/Util.java Date: Mon, 02 Mar 2009 22:01:15 -0000 To: commits@directory.apache.org From: szoerner@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090302220116.0A3CC2388870@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: szoerner Date: Mon Mar 2 22:01:15 2009 New Revision: 749450 URL: http://svn.apache.org/viewvc?rev=749450&view=rev Log: Formatting, Warnings removed Modified: directory/sandbox/szoerner/groovyldap/src/main/java/org/apache/directory/groovyldap/util/Util.java Modified: directory/sandbox/szoerner/groovyldap/src/main/java/org/apache/directory/groovyldap/util/Util.java URL: http://svn.apache.org/viewvc/directory/sandbox/szoerner/groovyldap/src/main/java/org/apache/directory/groovyldap/util/Util.java?rev=749450&r1=749449&r2=749450&view=diff ============================================================================== --- directory/sandbox/szoerner/groovyldap/src/main/java/org/apache/directory/groovyldap/util/Util.java (original) +++ directory/sandbox/szoerner/groovyldap/src/main/java/org/apache/directory/groovyldap/util/Util.java Mon Mar 2 22:01:15 2009 @@ -29,22 +29,24 @@ /** * Utility methods. * - * @author Apache Directory Project + * @author Apache Directory + * Project * @version $Rev$, $Date$ */ public class Util { private Util() { - } - /** - * Creates an attribute from the given parameters. If value is a collection, a multi-valued attribute will be created. + /** + * Creates an attribute from the given parameters. If value is a collection, + * a multi-valued attribute will be created. * - * @param name Name of the attribute - * @param value + * @param name + * Name of the attribute + * @param value * @return a JNDI attribute object */ public static Attribute createAttribute( String name, Object value ) @@ -52,7 +54,7 @@ Attribute attr = new BasicAttribute( name ); if ( value instanceof Collection ) { - Collection values = ( Collection ) value; + Collection values = ( Collection ) value; for ( Object val : values ) { attr.add( val );