Github user arina-ielchiieva commented on a diff in the pull request:
https://github.com/apache/drill/pull/660#discussion_r91322821
--- Diff:
exec/java-exec/src/main/java/org/apache/drill/exec/compile/TemplateClassDefinition.java
---
@@ -63,6 +78,14 @@ public SignatureHolder getSignature(){
@Override
public String toString() {
- return "TemplateClassDefinition [template=" + template + ",
signature=" + signature + "]";
+ StringBuilder buf = new StringBuilder( );
+ buf.append( "TemplateClassDefinition [interface=" );
+ buf.append( (iface == null) ? "null" : iface.getName() );
+ buf.append( ", template=" );
+ buf.append( (template == null) ? "null" : template.getName() );
+ buf.append( ", signature=\n" );
--- End diff --
May be it's better to start new line with variable name rather then with
its value?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---