com.jimischopp.checkstyle.test
Class TestResourceUsage

java.lang.Object
  extended by com.jimischopp.checkstyle.test.TestResourceUsage

public class TestResourceUsage
extends java.lang.Object


Constructor Summary
TestResourceUsage()
           
 
Method Summary
static java.sql.Connection getConnection()
           
static void getSomeMeth(java.sql.Connection conn)
           
static void useResource()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestResourceUsage

public TestResourceUsage()
Method Detail

getConnection

public static java.sql.Connection getConnection()

getSomeMeth

public static void getSomeMeth(java.sql.Connection conn)

useResource

public static void useResource()
                        throws java.sql.SQLException
Throws:
java.sql.SQLException