Return-Path: X-Original-To: apmail-commons-commits-archive@minotaur.apache.org Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2F80818A5D for ; Tue, 2 Jun 2015 05:00:00 +0000 (UTC) Received: (qmail 76677 invoked by uid 500); 2 Jun 2015 05:00:00 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 76615 invoked by uid 500); 2 Jun 2015 04:59:59 -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 76606 invoked by uid 99); 2 Jun 2015 04:59:59 -0000 Received: from eris.apache.org (HELO hades.apache.org) (140.211.11.105) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Jun 2015 04:59:59 +0000 Received: from hades.apache.org (localhost [127.0.0.1]) by hades.apache.org (ASF Mail Server at hades.apache.org) with ESMTP id A46D3AC026E for ; Tue, 2 Jun 2015 04:59:59 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1683041 - /commons/proper/collections/trunk/src/test/java/org/apache/commons/collections4/multimap/UnmodifiableMultiValuedMapTest.java Date: Tue, 02 Jun 2015 04:59:59 -0000 To: commits@commons.apache.org From: tn@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20150602045959.A46D3AC026E@hades.apache.org> Author: tn Date: Tue Jun 2 04:59:59 2015 New Revision: 1683041 URL: http://svn.apache.org/r1683041 Log: Catch correct exception. Modified: commons/proper/collections/trunk/src/test/java/org/apache/commons/collections4/multimap/UnmodifiableMultiValuedMapTest.java Modified: commons/proper/collections/trunk/src/test/java/org/apache/commons/collections4/multimap/UnmodifiableMultiValuedMapTest.java URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/test/java/org/apache/commons/collections4/multimap/UnmodifiableMultiValuedMapTest.java?rev=1683041&r1=1683040&r2=1683041&view=diff ============================================================================== --- commons/proper/collections/trunk/src/test/java/org/apache/commons/collections4/multimap/UnmodifiableMultiValuedMapTest.java (original) +++ commons/proper/collections/trunk/src/test/java/org/apache/commons/collections4/multimap/UnmodifiableMultiValuedMapTest.java Tue Jun 2 04:59:59 2015 @@ -79,8 +79,9 @@ public class UnmodifiableMultiValuedMapT public void testDecoratorFactoryNullMap() { try { UnmodifiableMultiValuedMap.unmodifiableMultiValuedMap(null); - fail(); - } catch (IllegalArgumentException e) { + fail("map must not be null"); + } catch (NullPointerException e) { + // expected } }