From 73ee2d4777e3a0495fc0c22e87c7133f341c9fe5 Mon Sep 17 00:00:00 2001 From: jprocter Date: Fri, 24 Mar 2006 19:01:45 +0000 Subject: [PATCH] commented out stream constructor for vamsasArchive. git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@208 be28352e-c001-0410-b1a7-c7978e42abec --- src/org/vamsas/test/simpleclient/VamsasArchive.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/org/vamsas/test/simpleclient/VamsasArchive.java b/src/org/vamsas/test/simpleclient/VamsasArchive.java index 6793019..2d5fcbf 100644 --- a/src/org/vamsas/test/simpleclient/VamsasArchive.java +++ b/src/org/vamsas/test/simpleclient/VamsasArchive.java @@ -174,14 +174,15 @@ public class VamsasArchive { va.putVamsasDocument(doc); va.closeArchive(); sfile.unLock(); - System.exit(0); log.info("Testing update: "); { Lock lock=sfile.getLock(); if (lock==null) while ((lock=sfile.getLock())==null) log.info("Waiting for lock."); - VamsasArchiveReader vreader = new VamsasArchiveReader(lock); + // VamsasArchiveReader vreader = new VamsasArchiveReader(lock); + VamsasArchiveReader vreader = new VamsasArchiveReader(newf); + SimpleDocument sdoc = new SimpleDocument("testing vamsas update"); VamsasDocument finaldoc = sdoc.getVamsasDocument(vreader); if (finaldoc!=null) -- 1.7.10.2