Functions and operators should use toString in EntitiesFragment

This commit is contained in:
serso
2016-01-31 10:23:57 +01:00
parent 6d7e75d94b
commit 1fe67e9183
5 changed files with 37 additions and 35 deletions

View File

@@ -148,4 +148,10 @@ public class FunctionsFragment extends BaseEntitiesFragment<Function> {
protected String getDescription(@NonNull Function function) {
return registry.getDescription(function.getName());
}
@NonNull
@Override
protected String getName(@Nonnull Function function) {
return function.toString();
}
}