Skip to content

Commit

Permalink
Merge pull request #535 from gini/PP-139_Fix-reference-documentation-…
Browse files Browse the repository at this point in the history
…for-cache-setter

Pp 139 fix reference documentation for cache setter
  • Loading branch information
GeraltRiv authored Aug 19, 2024
2 parents 5932791 + 558afce commit 48eb9b0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -572,10 +572,10 @@ class GiniCaptureDefaultNetworkService(
}

/**
* Set the cache implementation to use with Volley. If no cache is set, the default Volley
* cache will be used.
* Set the cache implementation to use with OkHttp caching. If no cache is set, no caching
* will be used.
*
* @param cache a cache instance (specified by the com.android.volley.Cache interface)
* @param cache a cache instance (specified by the [okhttp3.Cache])
*
* @return the [Builder] instance
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,11 @@ abstract class GiniCoreAPIBuilder<DM : DocumentManager<DR, E>, G : GiniCoreAPI<D
}

/**
* Set the cache implementation to use with Volley. If no cache is set, the default Volley cache
* Set the cache implementation to use with OkHttp caching. If no cache is set, no caching
* will be used.
*
* @param cache A cache instance (specified by the com.android.volley.Cache interface).
* @param cache a cache instance (specified by the [okhttp3.Cache])
*
* @return The builder instance to enable chaining.
*/
open fun setCache(cache: Cache): GiniCoreAPIBuilder<DM, G, DR, E> {
Expand Down

0 comments on commit 48eb9b0

Please sign in to comment.