1919import static com .google .common .util .concurrent .Internal .toNanosSaturated ;
2020import static java .util .Objects .requireNonNull ;
2121
22- import com .google .common .annotations .Beta ;
2322import com .google .common .annotations .GwtCompatible ;
2423import com .google .common .annotations .GwtIncompatible ;
2524import com .google .common .annotations .J2ktIncompatible ;
@@ -82,7 +81,6 @@ private MoreExecutors() {}
8281 * @return an unmodifiable version of the input which will not hang the JVM
8382 * @since 28.0
8483 */
85- @ Beta
8684 @ J2ktIncompatible
8785 @ GwtIncompatible // TODO
8886 public static ExecutorService getExitingExecutorService (
@@ -104,7 +102,6 @@ public static ExecutorService getExitingExecutorService(
104102 * @param timeUnit unit of time for the time parameter
105103 * @return an unmodifiable version of the input which will not hang the JVM
106104 */
107- @ Beta
108105 @ J2ktIncompatible
109106 @ GwtIncompatible // TODO
110107 @ SuppressWarnings ("GoodTime" ) // should accept a java.time.Duration
@@ -126,7 +123,6 @@ public static ExecutorService getExitingExecutorService(
126123 * @param executor the executor to modify to make sure it exits when the application is finished
127124 * @return an unmodifiable version of the input which will not hang the JVM
128125 */
129- @ Beta
130126 @ J2ktIncompatible
131127 @ GwtIncompatible // concurrency
132128 public static ExecutorService getExitingExecutorService (ThreadPoolExecutor executor ) {
@@ -146,7 +142,6 @@ public static ExecutorService getExitingExecutorService(ThreadPoolExecutor execu
146142 * @return an unmodifiable version of the input which will not hang the JVM
147143 * @since 28.0
148144 */
149- @ Beta
150145 @ J2ktIncompatible
151146 @ GwtIncompatible // java.time.Duration
152147 public static ScheduledExecutorService getExitingScheduledExecutorService (
@@ -168,7 +163,6 @@ public static ScheduledExecutorService getExitingScheduledExecutorService(
168163 * @param timeUnit unit of time for the time parameter
169164 * @return an unmodifiable version of the input which will not hang the JVM
170165 */
171- @ Beta
172166 @ J2ktIncompatible
173167 @ GwtIncompatible // TODO
174168 @ SuppressWarnings ("GoodTime" ) // should accept a java.time.Duration
@@ -191,7 +185,6 @@ public static ScheduledExecutorService getExitingScheduledExecutorService(
191185 * @param executor the executor to modify to make sure it exits when the application is finished
192186 * @return an unmodifiable version of the input which will not hang the JVM
193187 */
194- @ Beta
195188 @ J2ktIncompatible
196189 @ GwtIncompatible // TODO
197190 public static ScheduledExecutorService getExitingScheduledExecutorService (
@@ -210,7 +203,6 @@ public static ScheduledExecutorService getExitingScheduledExecutorService(
210203 * JVM
211204 * @since 28.0
212205 */
213- @ Beta
214206 @ J2ktIncompatible
215207 @ GwtIncompatible // java.time.Duration
216208 public static void addDelayedShutdownHook (ExecutorService service , Duration terminationTimeout ) {
@@ -228,7 +220,6 @@ public static void addDelayedShutdownHook(ExecutorService service, Duration term
228220 * JVM
229221 * @param timeUnit unit of time for the time parameter
230222 */
231- @ Beta
232223 @ J2ktIncompatible
233224 @ GwtIncompatible // TODO
234225 @ SuppressWarnings ("GoodTime" ) // should accept a java.time.Duration
@@ -904,7 +895,6 @@ public void run() {
904895 *
905896 * @since 14.0
906897 */
907- @ Beta
908898 @ J2ktIncompatible
909899 @ GwtIncompatible // concurrency
910900 public static ThreadFactory platformThreadFactory () {
@@ -1093,7 +1083,6 @@ protected Runnable wrapTask(Runnable command) {
10931083 * if the call timed out or was interrupted
10941084 * @since 28.0
10951085 */
1096- @ Beta
10971086 @ CanIgnoreReturnValue
10981087 @ J2ktIncompatible
10991088 @ GwtIncompatible // java.time.Duration
@@ -1125,7 +1114,6 @@ public static boolean shutdownAndAwaitTermination(ExecutorService service, Durat
11251114 * if the call timed out or was interrupted
11261115 * @since 17.0
11271116 */
1128- @ Beta
11291117 @ CanIgnoreReturnValue
11301118 @ J2ktIncompatible
11311119 @ GwtIncompatible // concurrency
0 commit comments