pzdn2009 / syntaxhighlighter

Automatically exported from code.google.com/p/syntaxhighlighter
GNU General Public License v3.0
0 stars 0 forks source link

Java code syntax highlighter produces a <String> at the end #140

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. use the attached code.
2. Im using blogspot with sand dollar template.
3.

What is the expected output? What do you see instead?
I would not have expected "</String>" to appear at the end. 

What version of the product are you using? On what operating system?
compressed 1.5.1

Please provide any additional information below.
http://apachecommonstipsandtricks.blogspot.com/2009/01/transformer-invoker-for-c
ollection-of.html

Original issue reported on code.google.com by psen...@gmail.com on 19 Jan 2009 at 3:09

Attachments:

GoogleCodeExporter commented 8 years ago
If you look at Line number 9 Collection<string> is causing the <string>  at end 
of program.  If you use any java Generics it is happening and this can't be 
fixed as per other issues only work around will be 

Use Collection<String>

All generics are by default becoming small letters. I am sad about this same 
bug and while poking around found that solution.

Original comment by yesanum...@gmail.com on 11 Jan 2011 at 8:35