Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add java5 generics syntax support

Example:
public interface TestGenerics<T>{
    public void appendTo(List<T> result,T sample);
}
  • Loading branch information...
commit 2e1445b94e76f7fcbc10cefd9d510cb21ca26539 1 parent 198929e
@jindw authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/languages/java.js
View
2  src/languages/java.js
@@ -33,7 +33,7 @@ function(hljs) {
{
className: 'class',
beginKeywords: 'class interface', endsWithParent: true, excludeEnd: true,
- illegal: /[:"<>]/,
+ illegal: /[:"\[\]]/,
contains: [
{
beginKeywords: 'extends implements',
Please sign in to comment.
Something went wrong with that request. Please try again.