From: <kp...@us...> - 2009-08-23 13:06:22
|
Revision: 16040 http://jedit.svn.sourceforge.net/jedit/?rev=16040&view=rev Author: kpouer Date: 2009-08-23 13:06:10 +0000 (Sun, 23 Aug 2009) Log Message: ----------- use of the logger Modified Paths: -------------- plugins/LucenePlugin/trunk/src/gatchan/jedit/lucene/CentralIndex.java Modified: plugins/LucenePlugin/trunk/src/gatchan/jedit/lucene/CentralIndex.java =================================================================== --- plugins/LucenePlugin/trunk/src/gatchan/jedit/lucene/CentralIndex.java 2009-08-23 11:39:25 UTC (rev 16039) +++ plugins/LucenePlugin/trunk/src/gatchan/jedit/lucene/CentralIndex.java 2009-08-23 13:06:10 UTC (rev 16040) @@ -31,6 +31,7 @@ import org.gjt.sp.jedit.jEdit; import org.gjt.sp.jedit.io.VFSManager; import org.gjt.sp.jedit.msg.BufferUpdate; +import org.gjt.sp.util.Log; import java.io.File; import java.io.IOException; @@ -90,7 +91,7 @@ } catch (IOException e) { - e.printStackTrace(); + Log.log(Log.ERROR, this, e); } commit(); EditBus.send(new LuceneIndexUpdate(name, LuceneIndexUpdate.What.DESTROYED)); @@ -121,7 +122,7 @@ } catch (IOException e) { - e.printStackTrace(); + Log.log(Log.ERROR, this, e); } finally { @@ -147,7 +148,7 @@ } catch (IOException e) { - e.printStackTrace(); + Log.log(Log.ERROR, this, e); } } @@ -173,7 +174,7 @@ } catch (IOException e) { - e.printStackTrace(); + Log.log(Log.ERROR, this, e); } finally { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |