8309416: Misstatement in semantics of methods in javax.lang.model.ElementFilter
Reviewed-by: prappo
This commit is contained in:
parent
73352b68c4
commit
2b38343e4d
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2005, 2022, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2005, 2023, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -45,13 +45,13 @@ import javax.lang.model.element.ModuleElement.UsesDirective;
|
|||||||
/**
|
/**
|
||||||
* Filters for selecting just the elements of interest from a
|
* Filters for selecting just the elements of interest from a
|
||||||
* collection of elements. The returned sets and lists are new
|
* collection of elements. The returned sets and lists are new
|
||||||
* collections and do use the argument as a backing store. The
|
* collections that do <em>not</em> use the argument collection as a backing store. The
|
||||||
* methods in this class do not make any attempts to guard against
|
* methods in this class do not make any attempts to guard against
|
||||||
* concurrent modifications of the arguments. The returned sets and
|
* concurrent modifications of the arguments. The returned sets and
|
||||||
* lists are mutable but unsafe for concurrent access. A returned set
|
* lists are mutable and unsafe for concurrent access. A returned set
|
||||||
* has the same iteration order as the argument set to a method.
|
* from a method has the same iteration order as the argument set to the method.
|
||||||
*
|
*
|
||||||
* <p>If iterables and sets containing {@code null} are passed as
|
* <p>If iterables or sets containing {@code null} are passed as
|
||||||
* arguments to methods in this class, a {@code NullPointerException}
|
* arguments to methods in this class, a {@code NullPointerException}
|
||||||
* will be thrown.
|
* will be thrown.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user