Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit62b53ac

Browse files
author
Barry Lind
committed
Clean up some unused import warnings in the example jdbc code
1 parent2fab616 commit62b53ac

File tree

7 files changed

+2
-9
lines changed

7 files changed

+2
-9
lines changed

‎src/interfaces/jdbc/example/Unicode.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
packageexample;
22

3-
importjava.io.*;
43
importjava.sql.*;
54
importjava.util.*;
65

‎src/interfaces/jdbc/example/basic.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@
22

33
importjava.io.*;
44
importjava.sql.*;
5-
importjava.text.*;
65

76
/*
87
*
9-
* $Id: basic.java,v 1.13 2002/09/06 21:23:05 momjian Exp $
8+
* $Id: basic.java,v 1.14 2003/09/09 11:24:04 barry Exp $
109
*
1110
* This example tests the basic components of the JDBC driver, and shows
1211
* how even the simplest of queries can be implemented.

‎src/interfaces/jdbc/example/datestyle.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
importjava.io.*;
44
importjava.sql.*;
5-
importjava.text.*;
65

76
/*
87
* This example tests the various date styles that are available to postgresql.

‎src/interfaces/jdbc/example/metadata.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
importjava.io.*;
44
importjava.sql.*;
5-
importjava.text.*;
65

76
/*
87
* This example application is not really an example. It actually performs

‎src/interfaces/jdbc/example/psql.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
importjava.io.*;
44
importjava.sql.*;
5-
importjava.text.*;
65

76
/*
87
* This example application demonstrates some of the drivers other features

‎src/interfaces/jdbc/example/threadsafe.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
importjava.io.*;
44
importjava.sql.*;
5-
importjava.text.*;
65

76
// rare in user code, but we use the LargeObject API in this test
87
importorg.postgresql.largeobject.*;
@@ -106,7 +105,7 @@ public void doexample() throws SQLException
106105
// will yield as long as either of the children are still running
107106
System.out.println("Waiting for threads to run");
108107
while (thread1.isAlive() ||thread2.isAlive() ||thread3.isAlive())
109-
thread0.yield();
108+
Thread.yield();
110109
}
111110
finally
112111
{

‎src/interfaces/jdbc/org/postgresql/test/jdbc2/ResultSetTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
importjava.sql.Connection;
55
importjava.sql.ResultSet;
66
importjava.sql.Statement;
7-
importjava.sql.SQLException;
87

98
importjunit.framework.TestCase;
109

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp