Skip to content

Commit 927ee2c

Browse files
authored
fix: Correct malformed Javadoc tags and update Error Prone configuration. (#37755)
1 parent b6bc904 commit 927ee2c

File tree

9 files changed

+14
-15
lines changed

9 files changed

+14
-15
lines changed

buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1553,7 +1553,6 @@ class BeamModulePlugin implements Plugin<Project> {
15531553
"JavaTimeDefaultTimeZone",
15541554
"JavaUtilDate",
15551555
"JodaConstructors",
1556-
"MalformedInlineTag",
15571556
"MixedMutabilityReturnType",
15581557
"PreferJavaTimeOverload",
15591558
"NonCanonicalType",

runners/flink/1.20/src/main/java/org/apache/beam/runners/flink/translation/wrappers/streaming/DoFnOperator.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -596,9 +596,9 @@ DoFnRunner<InputT, OutputT> createBufferingDoFnRunnerIfNeeded(
596596
}
597597

598598
/**
599-
* Retrieve a keyed state backend that should be used to buffer elements for {@link @{code @}
600-
* RequiresStableInput} functionality. By default this is the default keyed backend, but can be
601-
* override in @{link ExecutableStageDoFnOperator}.
599+
* Retrieve a keyed state backend that should be used to buffer elements for
600+
* {@code @RequiresStableInput} functionality. By default this is the default keyed backend, but
601+
* can be override in {@link ExecutableStageDoFnOperator}.
602602
*
603603
* @return the keyed backend to use for element buffering
604604
*/

runners/flink/2.0/src/main/java/org/apache/beam/runners/flink/translation/wrappers/streaming/DoFnOperator.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -596,9 +596,9 @@ DoFnRunner<InputT, OutputT> createBufferingDoFnRunnerIfNeeded(
596596
}
597597

598598
/**
599-
* Retrieve a keyed state backend that should be used to buffer elements for {@link @{code @}
600-
* RequiresStableInput} functionality. By default this is the default keyed backend, but can be
601-
* override in @{link ExecutableStageDoFnOperator}.
599+
* Retrieve a keyed state backend that should be used to buffer elements for
600+
* {@code @RequiresStableInput} functionality. By default this is the default keyed backend, but
601+
* can be override in {@link ExecutableStageDoFnOperator}.
602602
*
603603
* @return the keyed backend to use for element buffering
604604
*/

runners/flink/src/main/java/org/apache/beam/runners/flink/translation/wrappers/streaming/DoFnOperator.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -598,9 +598,9 @@ DoFnRunner<InputT, OutputT> createBufferingDoFnRunnerIfNeeded(
598598
}
599599

600600
/**
601-
* Retrieve a keyed state backend that should be used to buffer elements for {@link @{code @}
602-
* RequiresStableInput} functionality. By default this is the default keyed backend, but can be
603-
* override in @{link ExecutableStageDoFnOperator}.
601+
* Retrieve a keyed state backend that should be used to buffer elements for
602+
* {@code @RequiresStableInput} functionality. By default this is the default keyed backend, but
603+
* can be override in {@link ExecutableStageDoFnOperator}.
604604
*
605605
* @return the keyed backend to use for element buffering
606606
*/

sdks/java/extensions/euphoria/src/main/java/org/apache/beam/sdk/extensions/euphoria/core/client/operator/ReduceByKey.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ default WindowByBuilder<KeyT, ValueT> combineBy(CombineFunctionWithIdentity<Valu
240240
* Syntactic sugar to enable #combineBy to take only single argument and be used in helpers like
241241
* #combineBy(Sums.ofLongs()).
242242
*
243-
* @deprecated Replaced by @{link #combineBy(CombineFunctionWithIdentity)}.
243+
* @deprecated Replaced by {@link #combineBy(CombineFunctionWithIdentity)}.
244244
*/
245245
@Deprecated
246246
default WindowByBuilder<KeyT, ValueT> combineBy(

sdks/java/extensions/euphoria/src/main/java/org/apache/beam/sdk/extensions/euphoria/core/client/operator/ReduceWindow.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ default WindowByBuilder<ValueT> combineBy(
192192
* Syntactic sugar to enable #combineBy to take only single argument and be used in helpers like
193193
* #combineBy(Sums.ofLongs()).
194194
*
195-
* @deprecated Replaced by @{link #combineBy(ReduceByKey.CombineFunctionWithIdentity)}.
195+
* @deprecated Replaced by {@link #combineBy(ReduceByKey.CombineFunctionWithIdentity)}.
196196
*/
197197
@Deprecated
198198
default WindowByBuilder<ValueT> combineBy(

sdks/java/extensions/euphoria/src/test/java/org/apache/beam/sdk/extensions/euphoria/core/client/util/SumsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
import org.junit.runner.RunWith;
2626
import org.junit.runners.JUnit4;
2727

28-
/** Test suite for @{link Sums}. */
28+
/** Test suite for {@link Sums}. */
2929
@RunWith(JUnit4.class)
3030
public class SumsTest {
3131

sdks/java/io/rrio/src/main/java/org/apache/beam/io/requestresponse/SetupTeardown.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import java.io.Serializable;
2121

2222
/**
23-
* Provided by user and called within {@link org.apache.beam.sdk.transforms.DoFn.Setup} and @{link
23+
* Provided by user and called within {@link org.apache.beam.sdk.transforms.DoFn.Setup} and {@link
2424
* org.apache.beam.sdk.transforms.DoFn.Teardown} lifecycle methods of {@link Call}'s {@link
2525
* org.apache.beam.sdk.transforms.DoFn}.
2626
*/

sdks/java/io/synthetic/src/main/java/org/apache/beam/sdk/io/synthetic/BundleSplitter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
import java.util.List;
2525
import org.apache.beam.sdk.io.range.OffsetRange;
2626

27-
/** Determines bundle sizes based on @{link SyntheticSourceOptions}. */
27+
/** Determines bundle sizes based on {@link SyntheticSourceOptions}. */
2828
public class BundleSplitter implements Serializable {
2929

3030
private SyntheticSourceOptions options;

0 commit comments

Comments
 (0)