8284893: Fix typos in java.base

Reviewed-by: iris, wetmore, lancea, mullan, naoto
This commit is contained in:
Magnus Ihse Bursie 2022-04-19 20:07:57 +00:00
parent 4594696f54
commit fb469fb894
162 changed files with 369 additions and 369 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2021, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -185,9 +185,9 @@ public class CgroupV1Subsystem implements CgroupSubsystem, CgroupV1Metrics {
}
private static long getLongValue(CgroupSubsystemController controller,
String parm) {
String param) {
return CgroupSubsystemController.getLongValue(controller,
parm,
param,
CgroupV1SubsystemController::convertStringToLong,
CgroupSubsystem.LONG_RETVAL_UNLIMITED);
}

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -80,9 +80,9 @@ public class CgroupV1SubsystemController implements CgroupSubsystemController {
CgroupSubsystem.LONG_RETVAL_UNLIMITED /* retval on error */);
}
public static double getDoubleValue(CgroupSubsystemController controller, String parm) {
public static double getDoubleValue(CgroupSubsystemController controller, String param) {
return CgroupSubsystemController.getDoubleValue(controller,
parm,
param,
DOUBLE_RETVAL_UNLIMITED /* retval on error */);
}