From 7aa216d574897005c6d54e02e3e968e42d52f502 Mon Sep 17 00:00:00 2001 From: Mike Mazur Date: Wed, 28 Jan 2009 01:55:45 +0000 Subject: Slight cleanup of docs, removing trailing whitespace. --- OpenSim/Framework/PluginLoader.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'OpenSim/Framework') diff --git a/OpenSim/Framework/PluginLoader.cs b/OpenSim/Framework/PluginLoader.cs index baf9c57..15e0b9f 100644 --- a/OpenSim/Framework/PluginLoader.cs +++ b/OpenSim/Framework/PluginLoader.cs @@ -182,7 +182,7 @@ namespace OpenSim.Framework T plugin = (T)node.CreateInstance(); loadedPlugins.Add(plugin); } - + // We do Initialise() in a second loop after CreateInstance // So that modules who need init before others can do it // Example: Script Engine Component System needs to load its components before RegionLoader starts @@ -349,7 +349,7 @@ namespace OpenSim.Framework } /// - /// Filters out which plugin to load based on its the plugin name or names given. Plugin names are contained in + /// Filters out which plugin to load based on its the plugin name or names given. Plugin names are contained in /// their addin.xml /// public class PluginProviderFilter : IPluginFilter @@ -365,7 +365,7 @@ namespace OpenSim.Framework public PluginProviderFilter(string p) { m_filters = p.Split(','); - + for (int i = 0; i < m_filters.Length; i++) { m_filters[i] = m_filters[i].Trim(); @@ -379,14 +379,14 @@ namespace OpenSim.Framework /// true if the plugin's name matched one of the filters, false otherwise. public bool Apply (PluginExtensionNode plugin) { - for (int i = 0; i < m_filters.Length; i++) + for (int i = 0; i < m_filters.Length; i++) { - if (m_filters[i] == plugin.Provider) + if (m_filters[i] == plugin.Provider) { return true; } } - + return false; } } -- cgit v1.1