Skip to content

Commit ee6ce18

Browse files
authored
Pre-release cleanup (#1495)
1 parent d166498 commit ee6ce18

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

temporal-kotlin/src/main/kotlin/io/temporal/worker/WorkerExt.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ inline fun <reified T : Any> Worker.registerWorkflowImplementationType(
7272
"Use registerWorkflowImplementationFactory instead",
7373
ReplaceWith("this.registerWorkflowImplementationFactory(options, factory)")
7474
)
75+
@Suppress("Deprecation")
7576
inline fun <reified T : Any> Worker.addWorkflowImplementationFactory(
7677
options: WorkflowImplementationOptions,
7778
noinline factory: () -> T
@@ -116,6 +117,7 @@ inline fun <reified T : Any> Worker.registerWorkflowImplementationFactory(
116117
* @see Worker.addWorkflowImplementationFactory
117118
*/
118119
@Deprecated("Use registerWorkflowImplementationFactory instead", ReplaceWith("this.registerWorkflowImplementationFactory(factory)"))
120+
@Suppress("Deprecation")
119121
inline fun <reified T : Any> Worker.addWorkflowImplementationFactory(
120122
noinline factory: () -> T
121123
) {

temporal-sdk/src/main/java/io/temporal/common/interceptors/WorkerInterceptor.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@
3131
*
3232
* <p>You may want to start your implementation with this initial structure:
3333
*
34-
* <pre>{@code
34+
* <pre><code>
3535
* public class CustomWorkerInterceptor extends WorkerInterceptorBase {
3636
* // remove if you don't need to have a custom WorkflowInboundCallsInterceptor or
3737
* // WorkflowOutboundCallsInterceptor
38-
* {@literal @}Override
38+
* {@literal @}Override
3939
* public WorkflowInboundCallsInterceptor interceptWorkflow(WorkflowInboundCallsInterceptor next) {
4040
* return new CustomWorkflowInboundCallsInterceptor(next) {
4141
* // remove if you don't need to have a custom WorkflowOutboundCallsInterceptor
@@ -47,7 +47,7 @@
4747
* }
4848
*
4949
* // remove if you don't need to have a custom ActivityInboundCallsInterceptor
50-
* {@literal @}Override
50+
* {@literal @}Override
5151
* public ActivityInboundCallsInterceptor interceptActivity(ActivityInboundCallsInterceptor next) {
5252
* return new CustomActivityInboundCallsInterceptor(next);
5353
* }
@@ -79,7 +79,7 @@
7979
* // override only the methods you need
8080
* }
8181
* }
82-
* }</pre>
82+
* </code></pre>
8383
*/
8484
@Experimental
8585
public interface WorkerInterceptor {

temporal-serviceclient/src/main/java/io/temporal/internal/BackoffThrottler.java

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,12 @@
3737
*
3838
* <p>Example usage:
3939
*
40-
* <p>
41-
*
42-
* <pre>
40+
* <pre><code>
4341
* BackoffThrottler throttler = new BackoffThrottler(1000, 60000, 2);
4442
* while(!stopped) {
4543
* try {
4644
* long throttleMs = throttler.getSleepTime();
47-
* if (throttleMs > 0) {
45+
* if (throttleMs &gt; 0) {
4846
* Thread.sleep(throttleMs);
4947
* }
5048
* // some code that can fail and should be throttled
@@ -55,7 +53,7 @@
5553
* throttler.failure();
5654
* }
5755
* }
58-
* </pre>
56+
* </code></pre>
5957
*
6058
* @author fateev
6159
*/

temporal-test-server/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ graal {
113113
outputName "temporal-test-server"
114114
mainClass application.getMainClass().get()
115115
javaVersion '17'
116-
graalVersion '22.2.0'
116+
graalVersion '22.3.0'
117117

118118
// Don't fallback to running a JVM
119119
option "--no-fallback"

0 commit comments

Comments
 (0)