8191632: Typos in comments due to duplicating words

Reviewed-by: alanb
This commit is contained in:
Ivan Gerasimov 2017-11-20 18:46:52 -08:00
parent 91549ed5ce
commit ac14c02059
16 changed files with 19 additions and 19 deletions

View file

@ -766,7 +766,7 @@ public final class ModuleLayer {
/**
* Returns an ordered stream of layers. The first element is is this layer,
* Returns an ordered stream of layers. The first element is this layer,
* the remaining elements are the parent layers in DFS order.
*
* @implNote For now, the assumption is that the number of elements will

View file

@ -293,7 +293,7 @@ public final class StackTraceElement implements java.io.Serializable {
* <li>
* "{@code acme@2.1/org.acme.Lib.test(Lib.java:80)}"
* - The class of the execution point is defined in {@code acme} module
* loaded by by a built-in class loader such as the application class loader.
* loaded by a built-in class loader such as the application class loader.
* </li>
* <li>
* "{@code MyClass.mash(MyClass.java:9)}"

View file

@ -1593,7 +1593,7 @@ public class ModuleDescriptor
/**
* Adds a dependence on a module with the given (and possibly empty)
* set of modifiers. The dependence includes the version of the
* module that that was recorded at compile-time.
* module that was recorded at compile-time.
*
* @param ms
* The set of modifiers

View file

@ -217,7 +217,7 @@ final class Resolver {
Resolver bind() {
// Scan the finders for all available service provider modules. As
// java.base uses services then then module finders will be scanned
// java.base uses services then the module finders will be scanned
// anyway.
Map<String, Set<ModuleReference>> availableProviders = new HashMap<>();
for (ModuleReference mref : findAll()) {

View file

@ -2741,7 +2741,7 @@ public class BigInteger extends Number implements Comparable<BigInteger> {
return z;
}
// These methods are intended to be be replaced by virtual machine
// These methods are intended to be replaced by virtual machine
// intrinsics.
@HotSpotIntrinsicCandidate
private static int[] implMontgomeryMultiply(int[] a, int[] b, int[] n, int len,