Permalink
Commits on Jul 16, 2018
  1. Change HostAndPort equals() and hashCode() to stop depending on wheth…

    slix authored and ronshapiro committed Jul 13, 2018
    …er brackets were included
    
    Now they depend only on host and port.
    
    Useful for storing IPv6 addresses in Set and Map
    
    RELNOTES=`net.HostAndPort`: Changed equals() and hashCode() to stop depending on whether brackets were included. Now they depend only on host and port.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=204509648
Commits on Jul 13, 2018
  1. Internally, use PatternCompiler from Doubles.tryParse.

    cpovirk authored and ronshapiro committed Jul 12, 2018
    (Redo of CL 202132002, which was partially rolled back in CL 202139691.)
    
    This time including tests to cover the RE2J approach.
    To avoid the errors of last time, I had to remove the possessive quantifiers under RE2J and replace \p{XDigit} with [0-9a-fA-F] (which is equivalent; see the Pattern Javadoc).
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=204301262
  2. Add @nullable to AbstractSequentialIterator's computeNext() method re…

    ilevit authored and ronshapiro committed Jul 9, 2018
    …turn value so that [] doesn't complain
    
    RELNOTES=n/a
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=203775669
  3. Update Public Suffix data.

    erikvanderpoel authored and ronshapiro committed Jul 6, 2018
    This 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
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=203488570
  4. Adds constants for Sec-Metadata header.

    juerg authored and ronshapiro committed Jul 4, 2018
    https://github.com/mikewest/sec-metadata
    
    RELNOTES=Adds constants for Sec-Metadata header.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=203268410
Commits on Jul 10, 2018
  1. Change Files.map(File, MapMode) to get the size of the file from the …

    cgdecker committed Jun 28, 2018
    …channel just before mapping rather than before opening the file.
    
    See #3190.
    
    RELNOTES=n/a
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=202535742
  2. Avoid using inotify, which is causing problem under JDK10.

    cpovirk authored and cgdecker committed Jun 28, 2018
    RELNOTES=n/a
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=202521600
  3. Remove @WeakOuter from ImmutableMultiset.ElementSet. @WeakOuter is us…

    antonio-cortes-perez authored and cgdecker committed Jun 28, 2018
    …eful for inner classes but not for static nested classes.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=202500806
  4. Remove incorrect Javadoc in Multimaps.

    stkelley authored and cgdecker committed Jun 27, 2018
    Fixes #3141 and #3140
    
    RELNOTES=n/a
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=202364744
  5. Implement Lists.cartesianProduct.indexOf efficiently.

    hadrienk authored and cgdecker committed Jun 26, 2018
    Fixes #2544/
    
    RELNOTES=n/a
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=202202752
  6. add 'oraclejdk10' to Travis build matrix

    sullis authored and cgdecker committed Jun 26, 2018
    Fixes #3186
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=202166033
  7. Make Guava tests pass under Java 10.

    cpovirk authored and cgdecker committed Jun 26, 2018
    Relevant to #3186
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=202163744
  8. Partial automated g4 rollback of changelist 202132002.

    cpovirk authored and cgdecker committed Jun 26, 2018
    *** Reason for rollback ***
    
    The regex in Doubles uses ++, which isn't supported by RE2.
    
    *** Original change description ***
    
    Internally, use PatternCompiler from Doubles.tryParse.
    
    Also, remove equals() and hashCode() from CommonPattern implementations. The implementations delegate to the underlying Pattern classes, which use identity equality. If we want "real" equality, we should check the equality of pattern() and flags(). Why bother now? Because our automated equals() tests expect equals(), if present, to behave in a sane way once they discover the CommonPattern.compile() factory method (which they now do, since i...
    
    ***
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=202139691
  9. Internally, use PatternCompiler from Doubles.tryParse.

    cpovirk authored and cgdecker committed Jun 26, 2018
    Also, remove equals() and hashCode() from CommonPattern implementations. The implementations delegate to the underlying Pattern classes, which use identity equality. If we want "real" equality, we should check the equality of pattern() and flags(). Why bother now? Because our automated equals() tests expect equals(), if present, to behave in a sane way once they discover the CommonPattern.compile() factory method (which they now do, since it's now located on CommonPattern itself).
    
    RELNOTES=n/a
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=202132002
  10. Add MediaType for "application/hal+json".

    kluever authored and cgdecker committed Jun 25, 2018
    Fixes #3184
    
    RELNOTES=`net`: Added `MediaType` for "application/hal+json".
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=201955521
Commits on Jun 28, 2018
  1. Omit some unnecessary parens

    cushon authored and cgdecker committed Jun 22, 2018
    RELNOTES=N/A
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=201703715
  2. Remove GWT emulation of UndeclaredThrowableException.

    cpovirk authored and cgdecker committed Jun 19, 2018
    We no longer need it now that Futures.transform() no longer has a special case for it.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=201217932
  3. Bump Checker Framework annotations version to 2.5.2.

    cpovirk authored and cgdecker committed Jun 19, 2018
    Fixes google/truth#467 for Truth and perhaps similar problems for other projects that use Guava.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=201097814
  4. Removed special-casing UndeclaredThrowableException in Futures.transf…

    jlavallee authored and cgdecker committed Jun 18, 2018
    …orm()
    
    RELNOTES=`util.concurrent`: Removed special-casing `UndeclaredThrowableException` in `Futures.transform()`.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=201046764
  5. Update Guava to use Truth 0.41.

    cpovirk authored and cgdecker committed Jun 16, 2018
    RELNOTES=n/a
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=200852297
  6. Test setValue(null) (both success and failure cases).

    nikhilbarar authored and cgdecker committed Jun 13, 2018
    Fixes #2467, #3176
    
    RELNOTES=n/a
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=200386576
Commits on Jun 12, 2018
  1. Fix nonpublic identifiers and documentation that use "whitelist" or "…

    netdpb authored and ronshapiro committed Jun 8, 2018
    …blacklist" to use less problematic terms.
    
    RELNOTES=n/a
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=199834981
Commits on Jun 4, 2018
  1. Fix mangled Javadocs.

    dimo414 authored and ronshapiro committed Jun 1, 2018
    RELNOTES=n/a
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=198884357
  2. Add a direct dependency from guava-gwt to checker-qual.

    cpovirk authored and ronshapiro committed Jun 1, 2018
    The GWT sources (specifically, GwtSerializationDependencies) use @nullable directly, so we shouldn't rely on relying on it indirectly through guava-jre.
    
    However, what actually prompted this is a strange behavior in Compile-Testing, which Truth uses. This CL should help, though it might not be a fully solution.
    google/compile-testing#149
    
    RELNOTES=n/a
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=198882337
Commits on May 31, 2018
  1. Fix b/80241237 to correctly *not* change segment weight, nor report a…

    lowasser authored and ronshapiro committed May 30, 2018
    …n eviction, when a compute() call does not change the present value.
    
    RELNOTES=Fix a bug where Cache.asMap.compute* methods could cause nonsensical weights to be stored, breaking cache eviction.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=198618238
  2. Create an htmlescapers target for people who want to avoid the bulk o…

    cpovirk authored and ronshapiro committed May 30, 2018
    …f i18n identifiers and ICU4J.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=198553510
  3. Suppress exceptions raised from argument's toString methods during le…

    dimo414 authored and ronshapiro committed May 29, 2018
    …nient formatting - take 2.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=198468540
  4. In open-source Guava, completely skip trying to discover pluggable Pa…

    cpovirk authored and ronshapiro committed May 29, 2018
    …tternCompiler implementations.
    
    It's never been possible to create such implementations externally, anyway, and users are now seeing problems running the useless discovery code under the module system.
    
    Fixes #3147
    
    RELNOTES=`base`: Fixed the `ServiceConfigurationError` that some users encountered when using Guava as a JPMS module.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=198449885
  5. fix a grammar mistake

    AYWWWWW authored and ronshapiro committed May 29, 2018
    Fixes #3161
    
    RELNOTES=n/a
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=198404709
Commits on May 29, 2018
  1. Automated rollback of 9e6e1d0

    lowasser authored and cpovirk committed May 25, 2018
    *** Reason for rollback ***
    
    Appears to tickle a J2CL bug.
    
    *** Original change description ***
    
    Fix #3156 by implementing a proper CollectSpliterators.flatMapTo{Int,Long,Double}.
    
    ***
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=198112871
  2. Fix #3156 by implementing a proper CollectSpliterators.flatMapTo{Int…

    lowasser authored and cpovirk committed May 25, 2018
    …,Long,Double}.
    
    RELNOTES=n/a
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=198102330
  3. Some changes to the Guava README.

    cgdecker authored and cpovirk committed May 25, 2018
    Move most information about the latest release to the release badge at the top, which now links to the GitHub release page for the latest release and automatically displays the latest release version number.
    
    Note: I probably would have removed explicit references to the latest version number entirely (meaning no changes to it need to be made when a new release is created) except for the fact that the release process currently relies on there being *some* change made when prepare_release is run so that the release script knows what commit to create the release from. There are ways we could deal with that, but I didn't want to deal with that yet.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=198086774
  4. Add duration info to checkArugment() call in Suppliers.memoizeWithExp…

    kluever authored and cpovirk committed May 25, 2018
    …iration()
    
    RELNOTES=Add duration info to checkArugment() call in Suppliers.memoizeWithExpiration()
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=198051129
Commits on May 25, 2018
  1. Use api instead of compile for Android

    jereksel authored and ronshapiro committed May 24, 2018
    Fixes #3154
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=197947742
Commits on May 23, 2018
  1. Prepare for release 25.1.

    cgdecker authored and cpovirk committed May 23, 2018
    RELNOTES=n/a
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=197733080