Something similar happened to me. The "// $NON-NLS-1$" comment appears to have been swallowed by the string.
I'll remove it. The idea is to split the CVS marker "$Revision: n.mm $" into a prefix and a suffix, so one can extract the n.mm (or nnnnnn in the case of SVN) but it looks like this is hitting an SVN or possibly Subclipse bug. BTW, the // $NON-NLS-1$ comment is intended to tell Eclipse that the string is non-language specific - i.e. it does not have to be translated for localisation purposes. S. On 03/11/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Author: woolfel > Date: Wed Nov 2 19:30:20 2005 > New Revision: 330428 > > URL: http://svn.apache.org/viewcvs?rev=330428&view=rev > Log: > after I updated from SVN, the string appeared to be missing > > the closing double quote and semicolon. fixing it so it > > compiles > > peter lin > > Modified: > > jakarta/jmeter/branches/rel-2-1/src/core/org/apache/jmeter/save/SaveService.java > > Modified: > jakarta/jmeter/branches/rel-2-1/src/core/org/apache/jmeter/save/SaveService.java > URL: > http://svn.apache.org/viewcvs/jakarta/jmeter/branches/rel-2-1/src/core/org/apache/jmeter/save/SaveService.java?rev=330428&r1=330427&r2=330428&view=diff > ============================================================================== > --- > jakarta/jmeter/branches/rel-2-1/src/core/org/apache/jmeter/save/SaveService.java > (original) > +++ > jakarta/jmeter/branches/rel-2-1/src/core/org/apache/jmeter/save/SaveService.java > Wed Nov 2 19:30:20 2005 > @@ -240,7 +240,7 @@ > > // Extract version digits from String of the form #Revision: n.mm # > // (where # is actually $ above) > - private static final String REVPFX = "$Revision$NON-NLS-1$ > + private static final String REVPFX = "$Revision$NON-NLS-1$"; > > private static final String REVSFX = " $"; // $NON-NLS-1$ > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
