diff dwtx/jface/text/templates/persistence/TemplateStore.d @ 136:6dcb0baaa031

Regex removal of throws decls, some instanceof
author Frank Benoit <benoit@tionex.de>
date Sun, 24 Aug 2008 02:20:40 +0200
parents 65801ad2b265
children b6bad70d540a
line wrap: on
line diff
--- a/dwtx/jface/text/templates/persistence/TemplateStore.d	Sun Aug 24 01:52:31 2008 +0200
+++ b/dwtx/jface/text/templates/persistence/TemplateStore.d	Sun Aug 24 02:20:40 2008 +0200
@@ -110,7 +110,7 @@
      *
      * @throws IOException if loading fails.
      */
-    public void load() throws IOException {
+    public void load()  {
         fTemplates.clear();
         loadContributedTemplates();
         loadCustomTemplates();
@@ -178,7 +178,7 @@
      *
      * @throws IOException if loading fails
      */
-    protected void loadContributedTemplates() throws IOException {
+    protected void loadContributedTemplates()  {
     }
 
     /**
@@ -205,7 +205,7 @@
      *
      * @throws IOException if the templates cannot be written
      */
-    public void save() throws IOException {
+    public void save()  {
         ArrayList custom= new ArrayList();
         for (Iterator it= fTemplates.iterator(); it.hasNext();) {
             TemplatePersistenceData data= cast(TemplatePersistenceData) it.next();
@@ -408,7 +408,7 @@
         return null;
     }
 
-    private void loadCustomTemplates() throws IOException {
+    private void loadCustomTemplates()  {
         String pref= fPreferenceStore.getString(fKey);
         if (pref !is null && pref.trim().length() > 0) {
             Reader input= new StringReader(pref);