mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-17 21:25:58 +02:00
Bug 559514 - Cleanup codebase
Move away of deprecated Double constructor. Change-Id: I19195f8f90c56cbaaa30429741307e7038bb407e Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
This commit is contained in:
parent
5f4396d0ed
commit
9db5b623e0
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ public abstract class AbstractRemoteCommand<T> {
|
||||||
if (fWorkPercentFactor < 0) {
|
if (fWorkPercentFactor < 0) {
|
||||||
taskName.append(MessageFormat.format(Messages.AbstractRemoteCommand_format1, new Object[] { workToDate, size }));
|
taskName.append(MessageFormat.format(Messages.AbstractRemoteCommand_format1, new Object[] { workToDate, size }));
|
||||||
} else {
|
} else {
|
||||||
Double workPercent = new Double(fWorkPercentFactor * fWorkToDate);
|
Double workPercent = Double.valueOf(fWorkPercentFactor * fWorkToDate);
|
||||||
taskName.append(MessageFormat.format(Messages.AbstractRemoteCommand_format2,
|
taskName.append(MessageFormat.format(Messages.AbstractRemoteCommand_format2,
|
||||||
new Object[] { workToDate, size, fMaxWork, fMaxWorkSize, workPercent }));
|
new Object[] { workToDate, size, fMaxWork, fMaxWorkSize, workPercent }));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue