diff -r 0753acb192c7 -r 9c1a298e51a9 samples/aserverinfo/test/org/apidesign/aserverinfo/test/CummulativeFactoryTest.java --- a/samples/aserverinfo/test/org/apidesign/aserverinfo/test/CummulativeFactoryTest.java Sat Nov 15 08:19:20 2008 +0100 +++ b/samples/aserverinfo/test/org/apidesign/aserverinfo/test/CummulativeFactoryTest.java Mon Dec 21 16:54:12 2009 +0100 @@ -1,5 +1,7 @@ package org.apidesign.aserverinfo.test; +import java.util.logging.Logger; +import java.util.logging.Level; import java.net.MalformedURLException; import java.net.URL; import org.apidesign.aserverinfo.cummulativefactory.ServerConnector; @@ -10,7 +12,6 @@ import org.junit.Before; import org.junit.Test; import static org.junit.Assert.*; -import org.openide.util.Exceptions; public class CummulativeFactoryTest { @@ -75,7 +76,7 @@ try { return new URL("http://www.apidesign.org"); } catch (MalformedURLException ex) { - Exceptions.printStackTrace(ex); + Logger.getLogger(CummulativeFactoryTest.class.getName()).log(Level.SEVERE, null, ex); return null; } }