forked from google/guava
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Making my repository up-to-date #1
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#goodtime RELNOTES=Add FakeTicker.advance(Duration) and setAutoIncrementStep(Duration). ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=247246196
…ninterruptibly(BlockingQueue, Collection, int, Duration). RELNOTES=add Duration-based Queues drain methods. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=247454175
More details: https://tools.ietf.org/html/rfc8586 RELNOTES=Add CDN-Loop header to library according to RFC8586. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=247529463
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=247658982
RELNOTES=n/a ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=248579020
…c.Internal so it can be used by the concurrent package (and in Guava). #goodtime RELNOTES=n/a ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=248590041
#goodtime RELNOTES=n/a ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=248708274
#goodtime RELNOTES=Add Duration-based overloads to Uninterruptibles. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=248753214
RELNOTES=n/a ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=248753958
#goodtime RELNOTES=Add Duration-based overloads to MoreExecutors. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=248759366
#goodtime RELNOTES=Add Duration-based overloads to FluentFuture. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=248788685
#goodtime RELNOTES=Add Duration-based overloads to Futures. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=248812611
#goodtime RELNOTES=Add Duration-based overloads to AbstractScheduledService. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=248944452
#goodtime RELNOTES=Add Duration-based overloads to Service. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=248945544
#goodtime RELNOTES=Add Duration-based overloads to ServiceManager. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=248946446
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=248947498
#goodtime RELNOTES=Add Duration-based overloads to RateLimiter. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=248965398
#goodtime RELNOTES=Add Duration-based overload to Monitor. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=249042605
Closes #3465 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=249112040
There are many Java libraries licensed under "Apache License, Version 2.0" that do not use its official spelling. This causes issues like https://issues.apache.org/jira/browse/MPIR-382: with every library defining its own spelling, it's difficult in large projects to have a clear view of all licenses in use. This PR changes the license spelling to the official one, as advised by Maven developers. Closes #3471 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=249139087
RELNOTES=n/a ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=249277218
via #3243 RELNOTES=Add MediaType for "application/geo+json". ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=249531547
Fixes #3478. RELNOTES=n/a ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=249642506
Details https://fetch.spec.whatwg.org/#cross-origin-resource-policy-header RELNOTES=Add Cross-Origin-Resource-Policy header to library. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=249720339
Fixes #3481 RELNOTES=n/a ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=249894052
https://docs.oracle.com/javase/8/docs/api/java/util/Map.html#getOrDefault-java.lang.Object-V- RELNOTES=N/A ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=250009325
Closes #3471 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=250289501
Fixes #3482 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=250345834
This surfaced as two errorprone warnings while creating a copy this code: 'bigEndian' is currently unused. Let me know if I inferred the intented semantics of the test correctly? The methods that calls this tests, assertHashByteBufferInvariants(..), seems currently unused in [] -- I assume that's why "assertEquals(ByteOrder.BIG_ENDIAN, littleEndian.order());" didn't trigger any errors. (Also, the fix shouldn't break anything then). ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=250455177
The [] copy is updated whenever Chrome's copy is updated, which is typically every 6 weeks. Star the following to watch Chrome's updates: https://bugs.chromium.org/p/chromium/issues/detail?id=610495 When that bug is not updated, the [] copy is updated 3 weeks before the Estimated Week of Stable: https://www.chromium.org/developers/calendar#TOC-Estimated-Stable-Dates For this update, [] ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=250513952
1. Make empty parameter values serialize to a quoted string. 2. Require parameter values to be ASCII. Fixes #3626 Relnotes: Made `MediaType` serialize empty parameter values to quoted strings. Made `MediaType` reject non-ASCII parameter values. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=272190935
RELNOTES=n/a ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=272289939
[] RELNOTES=Adds constant for the Cross-Origin-Opener-Policy header. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=272415924
Fixes #3210 Fixes #3211 RELNOTES=n/a ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=272435318
Fixes #3580 RELNOTES=n/a ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=272440567
Fixes #3382 RELNOTES=n/a ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=272441426
Fixes #2677 RELNOTES=`net`: Added the `MediaType` constant for MPEG-DASH. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=272444649
…() under App Engine. While there, also support thread renaming under App Engine. Fixes #3598 Relevant to #3606 (also, the CL in which I experimented with #3569 before backing it out) ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=272446666
Fixes #3453 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=272455172
…map with entries in the order in which the indexes were provided in the call to indexes(). Fixes #2989 RELNOTES=`math`: `Quantiles` `compute()` methods which return a `Map` now return a map with entries in the same order in which the indexes were provided. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=272459623
RELNOTES=n/a ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=272478122
Fixes #3633 RELNOTES=n/a ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=272503429
Fixes #3466 RELNOTES=n/a ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=272506067
Fixes #3383 RELNOTES=n/a ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=272511395
… the input is null. This is to hopefully reduce the chance of confusion based on the fact that the methods say that they do not throw an exception "if parsing fails". Fixes #1259 RELNOTES=n/a ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=272520863
Fixes #3559 RELNOTES=n/a ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=272892514
1. Suppress safe racy init in AbstractMultiset and HashBiMap. All the classes that are stored in the newly annotated fields have only final fields (except HashBiMap.Inverse, which inherits AbstractBiMap's keySet and values fields, which are themselves @lazyinit), so they are safe to read racily. 2. Mark some graph "cache" fields as volatile. These fields are an optimization: When the user accesses an entry through iteration (and sometimes through get(...)), the graph stores the entry in a field. That way, if the user then queries it again (such as to look up the value associated with a key during iteration), the graph doesn't have to perform a potentially mildly expensive lookup. But this caching isn't implemented in a thread-safe way. It *ought* to be safe to initialize a graph in one thread, safely publish it, and then read it concurrently from other threads. But because of the racy reads of the cached entry fields, I don't think this is guaranteed to be safe. RELNOTES=`graph`: Fixed data race. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=273585560
Followup to CL 272190935. Fixes #3626 (again :)) ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=273763774
I've left this change out of the Android branch. For starters, it's not necessary there, since we don't support GWT. But normally we'd include it anyway to minimize diffs. However, doing so increases the number of classes retained after running Proguard (thanks, I assume, to the Logger field). There are other ways of getting around this, but for a temporary feature, the diffs seem tolerable. RELNOTES=***Warning to users of GWT-RPC:*** The first Guava release of 2020 will [remove support for GWT-serializing Guava types](https://groups.google.com/d/msg/guava-announce/zHZTFg7YF3o/rQNnwdHeEwAJ). To test ahead of time with GWT-RPC support for Guava types disabled, set the `guava.gwt.emergency_reenable_rpc` system property to `false`. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=273803350
RELNOTES=n/a ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=273806477
RELNOTES=Add MediaType for "application/opensearchdescription+xml" ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=273816540
============ Log warnings for users who send Guava types over GWT-RPC. I've left this change out of the Android branch. For starters, it's not necessary there, since we don't support GWT. But normally we'd include it anyway to minimize diffs. However, doing so increases the number of classes retained after running Proguard (thanks, I assume, to the Logger field). There are other ways of getting around this, but for a temporary feature, the diffs seem tolerable. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=273825377
requirements Fixes #3652 RELNOTES=Removed dependency on `animal-sniffer-annotations`. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=273964192
saturatedToNanos() -> toNanosSaturated() saturatedToMillis() -> toMillisSaturated() #goodtime ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=273995985
RELNOTES=n/a ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=274023658
(Roll forward CL 273803350, which was rolled back in CL 273825377. This time with updates to one-definition whitelist.) [] ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=274191489
Fixes #3653 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=274569910
This adds: - A static method Stats.toStats() that returns a Collector<Number, StatsAccumulator, Stats>. - Stats.of overloads and StatsAccumulator.addAll overloads that take DoubleStream, IntStream, and LongStream. - A StatsAccumulator.addAll overload that takes StatsAccumulator. (In passing, this also improves the tests in a couple of ways. It removes the use of static initializer blocks in StatsTesting, which is contrary to best practice. And it fixes some tolerances on the assertions: the min() and max() ones should use exact equality, and the ones with INTEGER_MANY_VALUES and LONG_MANY_VALUES should scale up the tolerance to match the order of magnitude of the values. This latter change fixes the ErrorProne warnings that, in some cases, the tolerance was actually less than the difference between the expected value and the next nearest double. It just happened that everything was close enough before.) RELNOTES=Add Stream support to Stats and StatsAccumulator. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=274998178
RELNOTES=n/a ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=275108038
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.