question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Reduce Google Guava usage

See original GitHub issue

Guava is a commonly used library that can cause dependency conflicts. Reduce the usage of Google Guava in lettuce 4.2 so lettuce can hopefully get rid of it one day:

  • Lists and Maps and immutable collections/maps
  • Cache and Cache Builder
  • AbstractInvocationHandler
  • Preconditions

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
mp911decommented, Apr 8, 2016

I’m not avoiding immutable collections/maps but I version conflicts because of Guava. Guava is used nearly everywhere and here and there in a driver or common framework (Cassandra Driver, Vaadin, Jackson, and 11526 other public artifacts according to VersionEye). Some API’s are changing/removed within Guava so upgrading to a higher version carries always the risk of breaking things. I’m also not fan of relocating (shading) 2MB of Guava for “just” a bunch of helpers.

0reactions
mp911decommented, May 5, 2016

Implemented. The remaining parts use LoadingCache and HostAndPort on the public API.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why is there no reduce in Guava library? - Stack Overflow
I want to use functional programming in my Android app and as Java8 is not available I decided to use Guava Library. But...
Read more >
Guava Cache - Baeldung
In this tutorial, we'll focus on the Guava Cache implementation, including basic usage, eviction policies, refreshing the cache, and some ...
Read more >
Guava Tutorial - Tutorialspoint
Guava is an open source, Java-based library developed by Google. It facilitates best coding practices and helps reduce coding errors.
Read more >
Decluttering Google Guava : r/java - Reddit
The main issue is - removing stuff is cool, but it does not solve any particular problem. If anything, it will create work...
Read more >
Guava Library in Java - GeeksforGeeks
By replacing the existing library classes with those from guava, you can reduce the amount of code you need to maintain. It is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found