From: <kp...@us...> - 2013-08-19 09:14:31
|
Revision: 23133 http://jedit.svn.sourceforge.net/jedit/?rev=23133&view=rev Author: kpouer Date: 2013-08-19 09:14:24 +0000 (Mon, 19 Aug 2013) Log Message: ----------- Removed redundant cast, enhanced initial map size Modified Paths: -------------- jEdit/trunk/org/gjt/sp/jedit/syntax/ModeProvider.java Modified: jEdit/trunk/org/gjt/sp/jedit/syntax/ModeProvider.java =================================================================== --- jEdit/trunk/org/gjt/sp/jedit/syntax/ModeProvider.java 2013-08-18 21:33:51 UTC (rev 23132) +++ jEdit/trunk/org/gjt/sp/jedit/syntax/ModeProvider.java 2013-08-19 09:14:24 UTC (rev 23133) @@ -22,8 +22,6 @@ package org.gjt.sp.jedit.syntax; //{{{ Imports -import java.io.Closeable; - import org.gjt.sp.jedit.Mode; import org.gjt.sp.util.IOUtilities; import org.gjt.sp.util.Log; @@ -53,7 +51,7 @@ { public static ModeProvider instance = new ModeProvider(); - private final LinkedHashMap<String, Mode> modes = new LinkedHashMap<String, Mode>(180); + private final LinkedHashMap<String, Mode> modes = new LinkedHashMap<String, Mode>(220); //{{{ removeAll() method public void removeAll() @@ -235,7 +233,7 @@ } finally { - IOUtilities.closeQuietly((Closeable)grammar); + IOUtilities.closeQuietly(grammar); } } //}}} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |