spacing around identifiers

In a recent submission, I had a line similar to the following:private static int getNumber( int num, String str ) and received the following nitpick: "spacing around all identifiers (including between identifier and punctuation)" Is it correct to put a space between the identifier and the comma, like:private static int getNumber( int num , String str ) ???