diff options
author | Mike Mazur | 2009-01-28 01:55:45 +0000 |
---|---|---|
committer | Mike Mazur | 2009-01-28 01:55:45 +0000 |
commit | 7aa216d574897005c6d54e02e3e968e42d52f502 (patch) | |
tree | 8404c3bc02ca45895a89f7907a34c4cb04854d39 /OpenSim/Framework | |
parent | delete some commented out junk code notes (diff) | |
download | opensim-SC-7aa216d574897005c6d54e02e3e968e42d52f502.zip opensim-SC-7aa216d574897005c6d54e02e3e968e42d52f502.tar.gz opensim-SC-7aa216d574897005c6d54e02e3e968e42d52f502.tar.bz2 opensim-SC-7aa216d574897005c6d54e02e3e968e42d52f502.tar.xz |
Slight cleanup of docs, removing trailing whitespace.
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/PluginLoader.cs | 12 |
1 files changed, 6 insertions, 6 deletions
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 | |||
182 | T plugin = (T)node.CreateInstance(); | 182 | T plugin = (T)node.CreateInstance(); |
183 | loadedPlugins.Add(plugin); | 183 | loadedPlugins.Add(plugin); |
184 | } | 184 | } |
185 | 185 | ||
186 | // We do Initialise() in a second loop after CreateInstance | 186 | // We do Initialise() in a second loop after CreateInstance |
187 | // So that modules who need init before others can do it | 187 | // So that modules who need init before others can do it |
188 | // Example: Script Engine Component System needs to load its components before RegionLoader starts | 188 | // Example: Script Engine Component System needs to load its components before RegionLoader starts |
@@ -349,7 +349,7 @@ namespace OpenSim.Framework | |||
349 | } | 349 | } |
350 | 350 | ||
351 | /// <summary> | 351 | /// <summary> |
352 | /// Filters out which plugin to load based on its the plugin name or names given. Plugin names are contained in | 352 | /// Filters out which plugin to load based on its the plugin name or names given. Plugin names are contained in |
353 | /// their addin.xml | 353 | /// their addin.xml |
354 | /// </summary> | 354 | /// </summary> |
355 | public class PluginProviderFilter : IPluginFilter | 355 | public class PluginProviderFilter : IPluginFilter |
@@ -365,7 +365,7 @@ namespace OpenSim.Framework | |||
365 | public PluginProviderFilter(string p) | 365 | public PluginProviderFilter(string p) |
366 | { | 366 | { |
367 | m_filters = p.Split(','); | 367 | m_filters = p.Split(','); |
368 | 368 | ||
369 | for (int i = 0; i < m_filters.Length; i++) | 369 | for (int i = 0; i < m_filters.Length; i++) |
370 | { | 370 | { |
371 | m_filters[i] = m_filters[i].Trim(); | 371 | m_filters[i] = m_filters[i].Trim(); |
@@ -379,14 +379,14 @@ namespace OpenSim.Framework | |||
379 | /// <returns>true if the plugin's name matched one of the filters, false otherwise.</returns> | 379 | /// <returns>true if the plugin's name matched one of the filters, false otherwise.</returns> |
380 | public bool Apply (PluginExtensionNode plugin) | 380 | public bool Apply (PluginExtensionNode plugin) |
381 | { | 381 | { |
382 | for (int i = 0; i < m_filters.Length; i++) | 382 | for (int i = 0; i < m_filters.Length; i++) |
383 | { | 383 | { |
384 | if (m_filters[i] == plugin.Provider) | 384 | if (m_filters[i] == plugin.Provider) |
385 | { | 385 | { |
386 | return true; | 386 | return true; |
387 | } | 387 | } |
388 | } | 388 | } |
389 | 389 | ||
390 | return false; | 390 | return false; |
391 | } | 391 | } |
392 | } | 392 | } |