Skip to content

Commit

Permalink
Merge pull request #236 from rectangle-dbmi/vehicle_retrofit_refactor
Browse files Browse the repository at this point in the history
Fix no selection error message
  • Loading branch information
epicstar committed Nov 9, 2015
2 parents b69d123 + c0e2b2f commit 44324a9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public String getParameters() {
* @return the parameters in string form.
*/
private String commaDelimitParams(List<String> parameters) {
if(parameters == null || parameters.isEmpty()) return null;
if(parameters == null || parameters.isEmpty() || parameters.get(0) == null) return null;
parameters = new ArrayList<>(parameters);
Collections.sort(parameters, new NaturalOrderComparator<>());
StringBuilder paramBuffer = new StringBuilder();
Expand Down

0 comments on commit 44324a9

Please sign in to comment.