mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-21 05:50:18 +08:00
Fixed #316
This commit is contained in:
parent
82869f0ec1
commit
0ca5be7e89
@ -71,12 +71,10 @@ public enum Html {
|
|||||||
* @return The parsed HTML String
|
* @return The parsed HTML String
|
||||||
*/
|
*/
|
||||||
public String parse(Serializable... p) {
|
public String parse(Serializable... p) {
|
||||||
Verify.nullCheck(p);
|
|
||||||
|
|
||||||
Map<String, Serializable> replaceMap = new HashMap<>();
|
Map<String, Serializable> replaceMap = new HashMap<>();
|
||||||
|
|
||||||
for (int i = 0; i < p.length; i++) {
|
for (int i = 0; i < p.length; i++) {
|
||||||
replaceMap.put(String.valueOf(i), p[i].toString());
|
replaceMap.put(String.valueOf(i), p[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
StrSubstitutor sub = new StrSubstitutor(replaceMap);
|
StrSubstitutor sub = new StrSubstitutor(replaceMap);
|
||||||
|
Loading…
Reference in New Issue
Block a user