File tree Expand file tree Collapse file tree 1 file changed +18
-4
lines changed
rxjava-core/src/main/java/rx/operators Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -722,11 +722,25 @@ public interface BufferClosing {
722
722
// Tagging interface for objects which can close buffers.
723
723
}
724
724
725
- public static class BufferOpenings implements BufferOpening {
726
- // Simple class implementing BufferOpening for conveniance.
725
+ public static class BufferOpenings {
726
+
727
+ public static BufferOpening create () {
728
+ return new BufferOpening () {};
729
+ }
730
+
731
+ private BufferOpenings () {
732
+ // Prevent instantation.
733
+ }
727
734
}
728
- public static class BufferClosings implements BufferClosing {
729
- // Simple class implementing BufferClosing for conveniance.
735
+ public static class BufferClosings {
736
+
737
+ public static BufferClosing create () {
738
+ return new BufferClosing () {};
739
+ }
740
+
741
+ private BufferClosings () {
742
+ // Prevent instantation.
743
+ }
730
744
}
731
745
732
746
public static class UnitTest {
You can’t perform that action at this time.
0 commit comments