refactor(ServiceLanguage): change parse method to static for improved accessibility
Signed-off-by: 孙振宇 <>
This commit is contained in:
parent
d5127b342b
commit
82adc49e86
@ -12,7 +12,7 @@ enum ServiceLanguage {
|
||||
this.language = language
|
||||
}
|
||||
|
||||
ServiceLanguage parse(String language) {
|
||||
static ServiceLanguage parse(String language) {
|
||||
switch (language) {
|
||||
case 'Python':
|
||||
return PYTHON
|
||||
|
||||
Loading…
Reference in New Issue
Block a user