#19261 override and test addAttributes compilation
This commit is contained in:
parent
0f3d3c21e1
commit
8a5a420108
20 changed files with 249 additions and 17 deletions
|
|
@ -785,4 +785,9 @@ public class FlowTest extends StreamTest {
|
|||
assertEquals((Object) 0, result);
|
||||
}
|
||||
|
||||
public void mustSuitablyOverrideAttributeHandlingMethods() {
|
||||
@SuppressWarnings("unused")
|
||||
final Flow<Integer, Integer, BoxedUnit> f =
|
||||
Flow.of(Integer.class).withAttributes(Attributes.name("")).addAttributes(Attributes.asyncBoundary()).named("");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue