|
From: David C. <dc...@us...> - 2005-11-20 13:15:53
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/builder In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21742/src/org/rubypeople/rdt/internal/core/builder Modified Files: MassIndexUpdater.java IndexUpdater.java IoUtils.java Log Message: Flush a project symbols from the SymbolIndex when closed or deleted. Index: IndexUpdater.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/builder/IndexUpdater.java,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** IndexUpdater.java 13 Nov 2005 13:05:12 -0000 1.9 --- IndexUpdater.java 20 Nov 2005 13:15:45 -0000 1.10 *************** *** 109,112 **** return name + path.getName(); } - } --- 109,111 ---- Index: IoUtils.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/builder/IoUtils.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** IoUtils.java 16 Oct 2005 17:29:21 -0000 1.3 --- IoUtils.java 20 Nov 2005 13:15:45 -0000 1.4 *************** *** 30,34 **** public static void closeQuietly(InputStream contents) { try { ! contents.close(); } catch (IOException e) { RubyCore.log(e); --- 30,35 ---- public static void closeQuietly(InputStream contents) { try { ! if (contents != null) ! contents.close(); } catch (IOException e) { RubyCore.log(e); Index: MassIndexUpdater.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/builder/MassIndexUpdater.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** MassIndexUpdater.java 20 Nov 2005 02:23:11 -0000 1.6 --- MassIndexUpdater.java 20 Nov 2005 13:15:45 -0000 1.7 *************** *** 90,92 **** --- 90,93 ---- return 0; } + } |