-
Same issue for characters such as é, €, œ, ..., converted as XML entities.
2010-01-07 14:19:07 UTC by sylfra
-
Usage of sample code:
$java UseStringBufferForStringAppendsTest "foo: 1, 2, 3, 4, 6"
Left: foo
Right:
1
2
3
4
6
--- end of list.
2010-01-05 23:02:03 UTC by shoover
-
Using PMD 4.2.5, we have encountered a case where PMD seems to be issuing a false positive for UseStringBufferForStringAppends. The case is where we are assigning the result of a method call on a String in a String[] back to the String[]. Something like:
String[] tokens = input.split(COLON_SEPARATOR);
...
tokens = tokens[1].split(COMMA_SEPARATOR); //...
2010-01-05 22:59:28 UTC by shoover
-
@ rgustav, thanks for your suggestion, it helped with a better error message with a path to the file that has the lexical error. So I removed the file and the detection process went successfully. I do appreciate your suggestion.
2010-01-05 21:54:31 UTC by amakyjo
-
Try using the version on trunk, it should give better error messages from the C++ tokenizer. http://hudson.xlv-labs.com/job/PMD-snapshot/
I'd appreciate knowing if it helps.
2010-01-04 18:56:19 UTC by rgustav
-
Hi guys I do need info on how to resolve the cpd TokenMgr Error: Lexical Error Message while trying to detect duplicate codes on Alfresco project using PMD-CPD. Any suggestion will be highly appcreciated
regards.
2010-01-04 18:39:19 UTC by amakyjo7
-
I attached the patch for the trunk.
2010-01-04 09:54:35 UTC by ndox
-
Hi Nicolas,
Thanks for your patch, I applied it on the branche, however, I failed to apply it on the trunk, it seems that the CloseResource on the trunk. Would mind check this out ?
You may be able to quickly adapt your fix to the trunk...
Thanks !
2009-12-28 16:33:10 UTC by rpelisse
-
Assign this away from me, I don't think my knowledge will allow me to fix this easily...
2009-12-28 15:28:47 UTC by rpelisse
-
rpelisse committed revision 7049 to the PMD SVN repository, changing 4 files.
2009-12-28 15:00:35 UTC by rpelisse