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 7C80FFB2D for ; Mon, 13 May 2013 09:31:34 +0000 (UTC) Received: (qmail 53798 invoked by uid 500); 13 May 2013 09:31:34 -0000 Delivered-To: apmail-oltu-commits-archive@oltu.apache.org Received: (qmail 53767 invoked by uid 500); 13 May 2013 09:31:33 -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 53749 invoked by uid 99); 13 May 2013 09:31:33 -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 09:31:33 +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 09:31:28 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 45DB923888FD; Mon, 13 May 2013 09:31:08 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1481749 - /oltu/whiteboard/simonetripodi/oltu-commons/src/main/stylesheet/commons.xsl Date: Mon, 13 May 2013 09:31:08 -0000 To: commits@oltu.apache.org From: simonetripodi@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130513093108.45DB923888FD@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: simonetripodi Date: Mon May 13 09:31:07 2013 New Revision: 1481749 URL: http://svn.apache.org/r1481749 Log: handled mandatory parameters when Builder#build() is invoked 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=1481749&r1=1481748&r2=1481749&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 09:31:07 2013 @@ -109,7 +109,8 @@ public final class build() { - return new (, auxParameters); + + return new ( , auxParameters ); } } @@ -231,6 +232,14 @@ public final class + + if ( == null ) + { + throw new IllegalStateException( "Parameter '' [] is mandatory." ); + } + + + ,