On Sat, 2002-06-22 at 14:47, Stephen Haberman wrote:
> > patch applied.
> 
> Very cool. The synchronized addition looks good.
> 
> One minor thing, the 2nd managers.get can be put inside the if (m ==
> null) bit so that it's only done when needed and avoids looking it up
> twice if the manager is successfully found the first time.
> 
> Index: Torque.java
> ===================================================================
> RCS file:
> /home/cvspublic/jakarta-turbine-torque/src/java/org/apache/torque/Torque
> .java,v
> retrieving revision 1.62
> diff -r1.62 Torque.java
> 634d633
> <         }
> 636,637c635,637
> <         // Try again now that the default manager should be in the map
> <         m = (AbstractBaseManager) managers.get(name);
> ---
> >             // Try again now that the default manager should be in the
> map
> >             m = (AbstractBaseManager) managers.get(name);
> >         }
> 
> (Btw, is putting short patches like the one above in email okay? I had
> thought line wrapping was an issue so had gotten in the habit of sending
> in txt files).

also applied. thanks.  If you cannot prevent the line wrapping it is
better to submit as an attachment, but for short single file patches I
often just patch the file manually so its not that big a deal to me. 
But in general it is best to avoid line wrapping in the patches.

Also please start using the diff -u format.  It makes it much easier to
evaluate patches.  It can also help the patch apply cleanly, if the file
is modified in the meantime.

john mcnally

> 
> Thanks,
> Stephen
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to