-
Terminally Deprecated ElementsElementDescriptionThis class does not propagate exceptions consistently and will be removed. Use
FutureStreamJoinerinstead.at the usage site, the compiler/IDE can’t know thatrethrowInterrupt()contains athrow, so it will complain that an exception was neither handled nor rethrown.UseConverters.toRecords(List, Function)instead.UseConverters.toRecords(Set, Function)instead.Don't use java.util.Date.Throwing UnprocessableEntityException doesn't say why the entity is unprocessable and is generally a bad fit as no client ever really has a chance of handling such a response. Instead, consider creating an exception class specific to the respective problem that extendsAbstractUnprocessableEntityException.UseImmutableList.toImmutableList()instead.UseImmutableListMultimap.toImmutableListMultimap(Function, Function)instead. This will require some refactoring as it expects the value mapper to map one value instead of a list.UseImmutableMap.toImmutableMap(Function, Function)instead.UseImmutableSet.toImmutableSet()instead.UseImmutableSetMultimap.toImmutableSetMultimap(Function, Function)instead. This will require some refactoring as it expects the value mapper to map one value instead of a list.use getId() insteadUseOptionals.unwrapRequiredObject(Optional, Class)instead.UseOptionals.unwrapUserMentionedObject(Optional, Class)instead.UseOptionals.unwrapUserRequestedObject(Optional, Class)instead.
-
Deprecated ClassesClassDescriptionThis class does not propagate exceptions consistently and will be removed. Use
FutureStreamJoinerinstead.Use the factory methodFutures.toVoidResult(ListenableFuture)instead. This class will cease to be public at some point.Don't use java.util.Date.For newly saved passwords, usePbkdf2WithHmacSha512Hasherinstead. This hasher is kept to allow continued verification of old passwords.
-
Deprecated ExceptionsExceptionsDescriptionThrowing UnprocessableEntityException doesn't say why the entity is unprocessable and is generally a bad fit as no client ever really has a chance of handling such a response. Instead, consider creating an exception class specific to the respective problem that extends
AbstractUnprocessableEntityException.
-
Deprecated MethodsMethodDescriptionat the usage site, the compiler/IDE can’t know that
rethrowInterrupt()contains athrow, so it will complain that an exception was neither handled nor rethrown.UseConverters.toRecords(List, Function)instead.UseConverters.toRecords(Set, Function)instead.UseImmutableList.toImmutableList()instead.UseImmutableListMultimap.toImmutableListMultimap(Function, Function)instead. This will require some refactoring as it expects the value mapper to map one value instead of a list.UseImmutableMap.toImmutableMap(Function, Function)instead.UseImmutableSet.toImmutableSet()instead.UseImmutableSetMultimap.toImmutableSetMultimap(Function, Function)instead. This will require some refactoring as it expects the value mapper to map one value instead of a list.use getId() insteadUseOptionals.unwrapRequiredObject(Optional, Class)instead.UseOptionals.unwrapUserMentionedObject(Optional, Class)instead.UseOptionals.unwrapUserRequestedObject(Optional, Class)instead.
-
Deprecated ConstructorsConstructorDescriptionUse the factory method
Futures.toVoidResult(ListenableFuture)instead. This class will cease to be public at some point.Deprecated to remind you to implement the corresponding code before releasing the software.Deprecated to remind you to implement the corresponding code before releasing the software.
BufferedStreamAdapter.listenable()andBufferedStreamAdapter.Listenable.adapt(Stream, int, ExecutorService)instead.