Fargus811 / Competition

0 stars 0 forks source link

Command.java #21

Closed VladOsipov closed 4 years ago

VladOsipov commented 4 years ago

I've just noticed that there are a lot of cases where int getParamInstruction(); method is implemented as

    public String[] getParamInstruction() {
        return new String[0];
    }

It looks like default implementation. So what about using default method in the interface?

Fargus811 commented 4 years ago

Done.