File tree Expand file tree Collapse file tree
util-app/src/main/scala/com/twitter/app
util-core/src/main/scala/com/twitter/util Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,7 +7,10 @@ Note that ``PHAB_ID=#`` and ``RB_ID=#`` correspond to associated messages in com
77Unreleased
88
99API Changes:
10-
10+
11+ * util-core: Removed `c.t.u.NonFatal`, use `scala.util.control.NonFatal`
12+ instead. ``PHAB_ID=D181918``
13+
1114 * util-class-preloader: This library has been removed since it deprecated. We
1215 no longer recommend that people do this. ``PHAB_ID=D174250``
1316
Original file line number Diff line number Diff line change 11package com .twitter .app
22
33import com .twitter .conversions .time ._
4- import com .twitter .util .{ NonFatal => _ , _ }
4+ import com .twitter .util ._
55import java .lang .reflect .InvocationTargetException
66import java .util .concurrent .ConcurrentLinkedQueue
77import java .util .concurrent .atomic .AtomicReference
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import scala.collection.JavaConverters._
77import scala .collection .mutable .Buffer
88import scala .language .higherKinds
99import scala .reflect .ClassTag
10+ import scala .util .control .NonFatal
1011
1112/**
1213 * An Activity is a handle to a concurrently running process, producing
Original file line number Diff line number Diff line change 11package com .twitter .util
22
3+ import scala .util .control .NonFatal
4+
35/**
46 * A mixin trait to describe resources that are an idempotent [[Closable ]].
57 *
Load diff This file was deleted.
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ package com.twitter.util
33import com .twitter .concurrent .Scheduler
44import scala .annotation .tailrec
55import scala .runtime .NonLocalReturnControl
6+ import scala .util .control .NonFatal
67
78object Promise {
89
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ package com.twitter.util
22
33import java .io .IOException
44import java .net .{InetSocketAddress , Socket }
5+ import scala .util .control .NonFatal
56
67/**
78 * A generator of random local [[java.net.InetSocketAddress ]] objects with
Original file line number Diff line number Diff line change 11package com .twitter .util
22
3+ import scala .util .control .NonFatal
34import scala .util .{Success , Failure }
45
56/**
You can’t perform that action at this time.
0 commit comments