Replace flag.getValue().toString() with flag.toString()

This commit is contained in:
Alexander Söderberg 2020-02-18 19:36:22 +01:00
parent 3fce2cae1a
commit 207bd9839e

View File

@ -871,7 +871,7 @@ import java.util.concurrent.atomic.AtomicInteger;
flag_string.append(',');
}
flag_string.append(flag.getName()).append(':').append(
flag.getValue().toString().replaceAll(":", "¯")
flag.toString().replaceAll(":", "¯")
.replaceAll(",", "´"));
k++;
}
@ -909,7 +909,7 @@ import java.util.concurrent.atomic.AtomicInteger;
flag_string.append(',');
}
flag_string.append(flag.getName()).append(':').append(
flag.getValue().toString().replaceAll(":", "¯")
flag.toString().replaceAll(":", "¯")
.replaceAll(",", "´"));
k++;
}
@ -3124,7 +3124,7 @@ import java.util.concurrent.atomic.AtomicInteger;
flag_string.append(',');
}
flag_string.append(flag.getName()).append(':')
.append(flag.getValue().toString().replaceAll(":", "¯").replaceAll(",", "´"));
.append(flag.toString().replaceAll(":", "¯").replaceAll(",", "´"));
i++;
}
return flag_string.toString();