forked from geodmms/xdgnjobs

?? ?
2008-06-09 bd210ee7438fd203c19d3e8080ea12b79fe56159
xdgnjobs/ximple-dgnio/src/main/java/com/ximple/io/dgn7/Lock.java
@@ -109,7 +109,7 @@
                    wait();
                } catch (InterruptedException e)
                {
                    throw(IOException) new IOException().initCause(e);
                    throw (IOException) new IOException().initCause(e);
                }
            }
        }
@@ -117,7 +117,7 @@
        assertTrue("A write lock exists that is owned by another thread", canRead());
        Thread current = Thread.currentThread();
        Owner  owner   = (Owner) owners.get(current);
        Owner owner = (Owner) owners.get(current);
        if (owner != null)
        {
@@ -183,7 +183,7 @@
                wait();
            } catch (InterruptedException e)
            {
                throw(IOException) new IOException().initCause(e);
                throw (IOException) new IOException().initCause(e);
            }
            if (writer == null)
@@ -247,11 +247,11 @@
    private class Owner
    {
        final Thread owner;
        int          timesLocked;
        int timesLocked;
        Owner(Thread owner)
        {
            this.owner  = owner;
            this.owner = owner;
            timesLocked = 1;
        }