mirror of
https://github.com/twitter/the-algorithm.git
synced 2025-01-07 01:48:16 +01:00
f51d763c5e
- Removed the import of com.twitter.graph_feature_service.thriftscala.Server.GetIntersection and com.twitter.graph_feature_service.thriftscala.Server.GetPresetIntersection since they are not being used. - Removed the import of com.twitter.graph_feature_service.server.handlers.ServerGetIntersectionHandler.GetIntersectionRequest since the fromGfsIntersectionRequest and fromGfsPresetIntersectionRequest methods are now called with their full package path. - Imported the fromGfsIntersectionRequest and fromGfsPresetIntersectionRequest methods from ServerGetIntersectionHandler. - Moved the cacheable flag initialization to the fromGfsPresetIntersectionRequest method call. - Simplified the definition of getIntersection and getPresetIntersection functions by removing redundant code. - Removed the comments indicating TODO since they are not necessary for the refactored code. |
||
---|---|---|
.. | ||
scala/com/twitter/graph_feature_service | ||
scalding/com/twitter/graph_feature_service/scalding | ||
thrift/com/twitter/graph_feature_service |