This is an automated email from the ASF dual-hosted git repository.
stankiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new 16609ed210b fix error prone. (#38372)
16609ed210b is described below
commit 16609ed210b059946638bad019f3f05918bf9bdf
Author: Radosław Stankiewicz <[email protected]>
AuthorDate: Tue May 5 17:09:00 2026 +0200
fix error prone. (#38372)
---
.../java/org/apache/beam/sdk/values/ValueInSingleWindow.java | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git
a/sdks/java/core/src/main/java/org/apache/beam/sdk/values/ValueInSingleWindow.java
b/sdks/java/core/src/main/java/org/apache/beam/sdk/values/ValueInSingleWindow.java
index 4cb8b920d64..afd5aa84520 100644
---
a/sdks/java/core/src/main/java/org/apache/beam/sdk/values/ValueInSingleWindow.java
+++
b/sdks/java/core/src/main/java/org/apache/beam/sdk/values/ValueInSingleWindow.java
@@ -119,12 +119,14 @@ public abstract class ValueInSingleWindow<T> {
@Override
public void encode(ValueInSingleWindow<T> windowedElem, OutputStream
outStream)
throws IOException {
- encode(windowedElem, outStream, Coder.Context.NESTED);
+ encode(windowedElem, outStream,
org.apache.beam.sdk.coders.Coder.Context.NESTED);
}
@Override
public void encode(
- ValueInSingleWindow<T> windowedElem, OutputStream outStream,
Coder.Context context)
+ ValueInSingleWindow<T> windowedElem,
+ OutputStream outStream,
+ org.apache.beam.sdk.coders.Coder.Context context)
throws IOException {
InstantCoder.of().encode(windowedElem.getTimestamp(), outStream);
windowCoder.encode(windowedElem.getWindow(), outStream);
@@ -154,13 +156,13 @@ public abstract class ValueInSingleWindow<T> {
@Override
public ValueInSingleWindow<T> decode(InputStream inStream) throws
IOException {
- return decode(inStream, Coder.Context.NESTED);
+ return decode(inStream, org.apache.beam.sdk.coders.Coder.Context.NESTED);
}
@Override
@SuppressWarnings("IgnoredPureGetter")
- public ValueInSingleWindow<T> decode(InputStream inStream, Coder.Context
context)
- throws IOException {
+ public ValueInSingleWindow<T> decode(
+ InputStream inStream, org.apache.beam.sdk.coders.Coder.Context
context) throws IOException {
Instant timestamp = InstantCoder.of().decode(inStream);
BoundedWindow window = windowCoder.decode(inStream);
PaneInfo paneInfo = PaneInfo.PaneInfoCoder.INSTANCE.decode(inStream);