Brendan Matthew Roberts pisze:
> --- a/src-generated/net/thousandparsec/netlib/tp03/AddCategory.java
> +++ b/src-generated/net/thousandparsec/netlib/tp03/AddCategory.java
> @@ -51,11 +51,7 @@ public class AddCategory extends Category
>  
>       public String toString()
>       {
> -             StringBuilder buf=new StringBuilder();
> -             buf.append("{AddCategory");
> -             buf.append("; super:").append(super.toString());
> -             buf.append("}");
> -             return buf.toString();
> +                return "(AddCategory; super:" +super.toString()+")";
>       }
>  
>  }

I admire all this laborious replacing, but that wasn't necessary, I'm
afraid... First, these files are automatically generated, so it would be
much faster to modify the generator (and that's true for all types of
changes), and second, it's enough here to simply replace StringBuilder with
StringBuffer (I assume StringBuffer is in midp).
-- 
KS
"To an engineer, everyone looks like a chimp" - Dilbert

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
tp-devel mailing list
[email protected]
http://www.thousandparsec.net/tp/mailman.php/listinfo/tp-devel

Reply via email to