8284191: Replace usages of 'a the' in hotspot and java.base

Reviewed-by: lancea, wetmore, naoto, iris, kevinw, xuelei
This commit is contained in:
Alexey Ivanov 2022-05-24 11:25:13 +00:00
parent 9473c383c6
commit e0d361cea9
162 changed files with 292 additions and 303 deletions

View file

@ -742,7 +742,7 @@ public final class ModuleLayer {
}
/**
* Creates a LayerInstantiationException with the a message formatted from
* Creates a LayerInstantiationException with the message formatted from
* the given format string and arguments.
*/
private static LayerInstantiationException fail(String fmt, Object ... args) {

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1995, 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
@ -73,7 +73,7 @@ public abstract class VirtualMachineError extends Error {
}
/**
* Constructs an a {@code VirtualMachineError} with the specified
* Constructs a {@code VirtualMachineError} with the specified
* cause and a detail message of {@code (cause==null ? null :
* cause.toString())} (which typically contains the class and
* detail message of {@code cause}).

View file

@ -2319,7 +2319,7 @@ public final class Locale implements Cloneable, Serializable {
/**
* Format a list using given pattern strings.
* If either of the patterns is null, then a the list is
* If either of the patterns is null, then the list is
* formatted by concatenation with the delimiter ','.
* @param stringList the list of strings to be formatted.
* and formatting them into a list.