diff options
author | Barry Lind <barry@xythos.com> | 2003-09-09 11:24:04 +0000 |
---|---|---|
committer | Barry Lind <barry@xythos.com> | 2003-09-09 11:24:04 +0000 |
commit | 62b53accd496e90df24cf54ab3cf235bc2c9fb38 (patch) | |
tree | 1f40dc6b336ff5599631edea121f6bea24f47052 /src/interfaces/jdbc/example/threadsafe.java | |
parent | 2fab61686600304c52acedb1911c6c6aeaf160d6 (diff) | |
download | postgresql-62b53accd496e90df24cf54ab3cf235bc2c9fb38.tar.gz postgresql-62b53accd496e90df24cf54ab3cf235bc2c9fb38.zip |
Clean up some unused import warnings in the example jdbc code
Diffstat (limited to 'src/interfaces/jdbc/example/threadsafe.java')
-rw-r--r-- | src/interfaces/jdbc/example/threadsafe.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/interfaces/jdbc/example/threadsafe.java b/src/interfaces/jdbc/example/threadsafe.java index c35570a4c2a..cb6c0d03f2f 100644 --- a/src/interfaces/jdbc/example/threadsafe.java +++ b/src/interfaces/jdbc/example/threadsafe.java @@ -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 { |