Skip to content
Snippets Groups Projects
Commit c10b275c authored by Tobias Pietzsch's avatar Tobias Pietzsch
Browse files

Remove guava imports

parent 7e8c15d1
No related branches found
No related tags found
No related merge requests found
......@@ -7,9 +7,6 @@ import java.util.concurrent.Callable;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ExecutionException;
import com.google.common.util.concurrent.ExecutionError;
import com.google.common.util.concurrent.UncheckedExecutionException;
public class SoftRefCache< K, V > implements Cache< K, V >
{
final ConcurrentHashMap< K, Entry > map = new ConcurrentHashMap<>();
......@@ -109,18 +106,10 @@ public class SoftRefCache< K, V > implements Cache< K, V >
Thread.currentThread().interrupt();
throw new ExecutionException( e );
}
catch ( final RuntimeException e )
{
throw new UncheckedExecutionException( e );
}
catch ( final Exception e )
{
throw new ExecutionException( e );
}
catch ( final Error e )
{
throw new ExecutionError( e );
}
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment