> -----Original Message----- > From: Robert Leland [mailto:rleland@;apache.org] > Sent: Thursday, October 17, 2002 10:17 AM > To: Struts Developers List > Subject: RE: cvs commit: jakarta-struts/src/share/org/apache/struts/util > PropertyMessageResources.java > > > > I didn’t mean inherited in the sense of the Java Language. > > Ok, I understand now. > At the same time, please take the time to look at this code: > > boolean addIt = false; > while (true) { > if (message != null) { > if (addIt) > messages.put(originalKey, message); > return (message); > } > addIt = true; <-------------Set to true. > if (underscore < 0) > break; > } > If a break happens, addIt has already been set to true,
That is true, but it is needed with each iteration in order to satisfy the logic. Could you please add those line back in? > and is not needed. > > -Rob > James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org -- To unsubscribe, e-mail: <mailto:struts-dev-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org>