Permalink
Browse files

Add java5 generics syntax support

Example:
public interface TestGenerics<T>{
    public void appendTo(List<T> result,T sample);
}
  • Loading branch information...
1 parent 198929e commit 2e1445b94e76f7fcbc10cefd9d510cb21ca26539 @jindw committed May 3, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/languages/java.js
View
@@ -33,7 +33,7 @@ function(hljs) {
{
className: 'class',
beginKeywords: 'class interface', endsWithParent: true, excludeEnd: true,
- illegal: /[:"<>]/,
+ illegal: /[:"\[\]]/,
contains: [
{
beginKeywords: 'extends implements',

0 comments on commit 2e1445b

Please sign in to comment.