spadgos / sublime-jsdocs

Simplifies writing DocBlock comments in Javascript, PHP, CoffeeScript, Actionscript, C & C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Java generics with more then one parameter parsing bug

michacom opened this issue · comments

Given function:

public <V> V[] convertTo(Map<?,V> source, V[] destination) {
    return source.values().toArray(destination);
}

Expected result:

/**
 * [convertTo description]
 * @param  source      [description]
 * @param  destination [description]
 * @return             [description]
 */

Actual result:

/**
 * [convertTo description]
 * @param  Map<?,source,destination [description]
 * @return                          [description]
 */

But in C++ this works fine.

Sorry, but I'm completely lost with all these "branching", "requests Pull" ....
😞

I found a neater way to fix it: 2a81cb4

Have a read of Github's docs if you'd like to know more about the general workflow. They have a lot of really good articles. https://help.github.com/articles/using-pull-requests/