Skip to content
This repository has been archived by the owner on Jul 28, 2022. It is now read-only.

Commit

Permalink
call lineSeparator()
Browse files Browse the repository at this point in the history
  • Loading branch information
venusdrogon committed Jun 18, 2017
1 parent 4fc072b commit 340996f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
*/
package com.feilong.taglib.display.option;

import static java.lang.System.lineSeparator;
import static org.apache.commons.lang3.StringUtils.EMPTY;
import static org.apache.commons.lang3.SystemUtils.LINE_SEPARATOR;

import java.util.Map;

Expand Down Expand Up @@ -56,7 +56,7 @@ public String build(OptionParam optionParam){

for (Map.Entry<String, String> entry : map.entrySet()){
String option = buildOption(entry.getKey(), entry.getValue(), optionParam.getSelectedKey());
sb.append(option).append(LINE_SEPARATOR);
sb.append(option).append(lineSeparator());
}
return sb.toString();
}
Expand Down

0 comments on commit 340996f

Please sign in to comment.