Return-Path: X-Original-To: apmail-oltu-commits-archive@www.apache.org Delivered-To: apmail-oltu-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AE5E4FBE0 for ; Mon, 13 May 2013 10:04:39 +0000 (UTC) Received: (qmail 38948 invoked by uid 500); 13 May 2013 10:04:39 -0000 Delivered-To: apmail-oltu-commits-archive@oltu.apache.org Received: (qmail 38903 invoked by uid 500); 13 May 2013 10:04:38 -0000 Mailing-List: contact commits-help@oltu.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@oltu.apache.org Delivered-To: mailing list commits@oltu.apache.org Received: (qmail 38879 invoked by uid 99); 13 May 2013 10:04:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 May 2013 10:04:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.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, 13 May 2013 10:04:36 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 4DD8123888D2; Mon, 13 May 2013 10:04:16 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1481770 - /oltu/whiteboard/simonetripodi/oltu-commons/src/main/stylesheet/commons.xsl Date: Mon, 13 May 2013 10:04:16 -0000 To: commits@oltu.apache.org From: simonetripodi@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130513100416.4DD8123888D2@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: simonetripodi Date: Mon May 13 10:04:15 2013 New Revision: 1481770 URL: http://svn.apache.org/r1481770 Log: check input argument for mandatory parameters Modified: oltu/whiteboard/simonetripodi/oltu-commons/src/main/stylesheet/commons.xsl Modified: oltu/whiteboard/simonetripodi/oltu-commons/src/main/stylesheet/commons.xsl URL: http://svn.apache.org/viewvc/oltu/whiteboard/simonetripodi/oltu-commons/src/main/stylesheet/commons.xsl?rev=1481770&r1=1481769&r2=1481770&view=diff ============================================================================== --- oltu/whiteboard/simonetripodi/oltu-commons/src/main/stylesheet/commons.xsl (original) +++ oltu/whiteboard/simonetripodi/oltu-commons/src/main/stylesheet/commons.xsl Mon May 13 10:04:15 2013 @@ -242,8 +242,12 @@ public final class the {@code } parameter. * @return this builder instance. */ - public Builder set( ) + public Builder set( final ) { + if ( == null ) + { + throw new IllegalArgumentException( "Parameter '' [] can not be null." ); + } this. = ; return this; }