Commit 62b53acc authored by Barry Lind's avatar Barry Lind

Clean up some unused import warnings in the example jdbc code

parent 2fab6168
package example; package example;
import java.io.*;
import java.sql.*; import java.sql.*;
import java.util.*; import java.util.*;
......
...@@ -2,11 +2,10 @@ package example; ...@@ -2,11 +2,10 @@ package example;
import java.io.*; import java.io.*;
import java.sql.*; 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 * This example tests the basic components of the JDBC driver, and shows
* how even the simplest of queries can be implemented. * how even the simplest of queries can be implemented.
......
...@@ -2,7 +2,6 @@ package example; ...@@ -2,7 +2,6 @@ package example;
import java.io.*; import java.io.*;
import java.sql.*; import java.sql.*;
import java.text.*;
/* /*
* This example tests the various date styles that are available to postgresql. * This example tests the various date styles that are available to postgresql.
......
...@@ -2,7 +2,6 @@ package example; ...@@ -2,7 +2,6 @@ package example;
import java.io.*; import java.io.*;
import java.sql.*; import java.sql.*;
import java.text.*;
/* /*
* This example application is not really an example. It actually performs * This example application is not really an example. It actually performs
......
...@@ -2,7 +2,6 @@ package example; ...@@ -2,7 +2,6 @@ package example;
import java.io.*; import java.io.*;
import java.sql.*; import java.sql.*;
import java.text.*;
/* /*
* This example application demonstrates some of the drivers other features * This example application demonstrates some of the drivers other features
......
...@@ -2,7 +2,6 @@ package example; ...@@ -2,7 +2,6 @@ package example;
import java.io.*; import java.io.*;
import java.sql.*; import java.sql.*;
import java.text.*;
// rare in user code, but we use the LargeObject API in this test // rare in user code, but we use the LargeObject API in this test
import org.postgresql.largeobject.*; import org.postgresql.largeobject.*;
...@@ -106,7 +105,7 @@ public class threadsafe ...@@ -106,7 +105,7 @@ public class threadsafe
// will yield as long as either of the children are still running // will yield as long as either of the children are still running
System.out.println("Waiting for threads to run"); System.out.println("Waiting for threads to run");
while (thread1.isAlive() || thread2.isAlive() || thread3.isAlive()) while (thread1.isAlive() || thread2.isAlive() || thread3.isAlive())
thread0.yield(); Thread.yield();
} }
finally finally
{ {
......
...@@ -4,7 +4,6 @@ import org.postgresql.test.TestUtil; ...@@ -4,7 +4,6 @@ import org.postgresql.test.TestUtil;
import java.sql.Connection; import java.sql.Connection;
import java.sql.ResultSet; import java.sql.ResultSet;
import java.sql.Statement; import java.sql.Statement;
import java.sql.SQLException;
import junit.framework.TestCase; import junit.framework.TestCase;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment