Skip to content

Commit

Permalink
Deprecate GroupedObservable.from
Browse files Browse the repository at this point in the history
It was a bad solution. Use Observable.groupBy with element selector instead

See #1579
  • Loading branch information
benjchristensen committed Aug 14, 2014
1 parent b061406 commit e8263f9
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ public class GroupedObservable<K, T> extends Observable<T> {
* @param o
* the {@link Observable} to convert
* @return a {@code GroupedObservable} representation of {@code o}, with key {@code key}
* @deprecated Use Observable.groupBy with element selector instead.
*/
@Deprecated
public static <K, T> GroupedObservable<K, T> from(K key, final Observable<T> o) {
return new GroupedObservable<K, T>(key, new OnSubscribe<T>() {

Expand Down

0 comments on commit e8263f9

Please sign in to comment.