提交 62b53acc 编写于 作者: B Barry Lind

Clean up some unused import warnings in the example jdbc code

上级 2fab6168
package example;
import java.io.*;
import java.sql.*;
import java.util.*;
......
......@@ -2,11 +2,10 @@ package example;
import java.io.*;
import java.sql.*;
import java.text.*;
/*
*
* $Id: basic.java,v 1.13 2002/09/06 21:23:05 momjian Exp $
* $Id: basic.java,v 1.14 2003/09/09 11:24:04 barry Exp $
*
* This example tests the basic components of the JDBC driver, and shows
* how even the simplest of queries can be implemented.
......
......@@ -2,7 +2,6 @@ package example;
import java.io.*;
import java.sql.*;
import java.text.*;
/*
* This example tests the various date styles that are available to postgresql.
......
......@@ -2,7 +2,6 @@ package example;
import java.io.*;
import java.sql.*;
import java.text.*;
/*
* This example application is not really an example. It actually performs
......
......@@ -2,7 +2,6 @@ package example;
import java.io.*;
import java.sql.*;
import java.text.*;
/*
* This example application demonstrates some of the drivers other features
......
......@@ -2,7 +2,6 @@ package example;
import java.io.*;
import java.sql.*;
import java.text.*;
// rare in user code, but we use the LargeObject API in this test
import org.postgresql.largeobject.*;
......@@ -106,7 +105,7 @@ public class threadsafe
// will yield as long as either of the children are still running
System.out.println("Waiting for threads to run");
while (thread1.isAlive() || thread2.isAlive() || thread3.isAlive())
thread0.yield();
Thread.yield();
}
finally
{
......
......@@ -4,7 +4,6 @@ import org.postgresql.test.TestUtil;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.Statement;
import java.sql.SQLException;
import junit.framework.TestCase;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册