#19261 override and test addAttributes compilation

This commit is contained in:
Roland Kuhn 2015-12-22 20:56:02 +01:00
parent 0f3d3c21e1
commit 8a5a420108
20 changed files with 249 additions and 17 deletions

View file

@ -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("");
}
}