Adds the plugin to the list of known plugins. @param plugin the plugin to add to the list of known plugins.
(Plugin plugin)
| 1016 | * the plugin to add to the list of known plugins. |
| 1017 | */ |
| 1018 | public static void addKnownPlugin(Plugin plugin) { |
| 1019 | if(knownPlugins.contains(plugin)) return; |
| 1020 | if (PluginUpdateManager.getDefaultPlugins().contains(plugin)) return; |
| 1021 | knownPlugins.add(plugin); |
| 1022 | } |
| 1023 | |
| 1024 | /** |
| 1025 | * Makes sure the provided URL ends with "/" (CREOLE URLs always point to |
no test coverage detected