samples/aserverinfo/test/org/apidesign/aserverinfo/test/CummulativeFactoryTest.java
1.1 --- a/samples/aserverinfo/test/org/apidesign/aserverinfo/test/CummulativeFactoryTest.java Sat Nov 15 08:19:20 2008 +0100
1.2 +++ b/samples/aserverinfo/test/org/apidesign/aserverinfo/test/CummulativeFactoryTest.java Mon Dec 21 16:54:12 2009 +0100
1.3 @@ -1,5 +1,7 @@
1.4 package org.apidesign.aserverinfo.test;
1.5
1.6 +import java.util.logging.Logger;
1.7 +import java.util.logging.Level;
1.8 import java.net.MalformedURLException;
1.9 import java.net.URL;
1.10 import org.apidesign.aserverinfo.cummulativefactory.ServerConnector;
1.11 @@ -10,7 +12,6 @@
1.12 import org.junit.Before;
1.13 import org.junit.Test;
1.14 import static org.junit.Assert.*;
1.15 -import org.openide.util.Exceptions;
1.16
1.17 public class CummulativeFactoryTest {
1.18
1.19 @@ -75,7 +76,7 @@
1.20 try {
1.21 return new URL("http://www.apidesign.org");
1.22 } catch (MalformedURLException ex) {
1.23 - Exceptions.printStackTrace(ex);
1.24 + Logger.getLogger(CummulativeFactoryTest.class.getName()).log(Level.SEVERE, null, ex);
1.25 return null;
1.26 }
1.27 }