File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
android/guava/src/com/google/common/util/concurrent
guava/src/com/google/common/util/concurrent Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -192,8 +192,9 @@ public Iterable<L> bulkGet(Iterable<? extends Object> keys) {
192192 * @param stripes the minimum number of stripes (locks) required
193193 * @param supplier a {@code Supplier<L>} object to obtain locks from
194194 * @return a new {@code Striped<L>}
195+ * @since NEXT
195196 */
196- static <L > Striped <L > custom (int stripes , Supplier <L > supplier ) {
197+ public static <L > Striped <L > custom (int stripes , Supplier <L > supplier ) {
197198 return new CompactStriped <>(stripes , supplier );
198199 }
199200
Original file line number Diff line number Diff line change @@ -192,8 +192,9 @@ public Iterable<L> bulkGet(Iterable<? extends Object> keys) {
192192 * @param stripes the minimum number of stripes (locks) required
193193 * @param supplier a {@code Supplier<L>} object to obtain locks from
194194 * @return a new {@code Striped<L>}
195+ * @since NEXT
195196 */
196- static <L > Striped <L > custom (int stripes , Supplier <L > supplier ) {
197+ public static <L > Striped <L > custom (int stripes , Supplier <L > supplier ) {
197198 return new CompactStriped <>(stripes , supplier );
198199 }
199200
You can’t perform that action at this time.
0 commit comments