make Plugin an abstract class to improve binary compatibility

This commit is contained in:
Herr Ritschwumm
2016-02-13 02:51:08 +01:00
parent 0fae2dac35
commit ff3205b6c7

View File

@@ -8,9 +8,9 @@ import gitbucket.core.util.Version
/** /**
* Trait for define plugin interface. * Trait for define plugin interface.
* To provide plugin, put Plugin class which mixed in this trait into the package root. * To provide a plugin, put a Plugin class which extends this class into the package root.
*/ */
trait Plugin { abstract class Plugin {
val pluginId: String val pluginId: String
val pluginName: String val pluginName: String