From 62b53accd496e90df24cf54ab3cf235bc2c9fb38 Mon Sep 17 00:00:00 2001 From: Barry Lind Date: Tue, 9 Sep 2003 11:24:04 +0000 Subject: Clean up some unused import warnings in the example jdbc code --- src/interfaces/jdbc/example/threadsafe.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/interfaces/jdbc/example/threadsafe.java') 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 { -- cgit v1.2.3