@@ -64,8 +64,8 @@ public CleanableFileChannel writeFileChannel() throws IOException {
64
64
* @param estimateNumber the number to write.
65
65
*/
66
66
public void writeEstimate (Number estimateNumber ) {
67
- if (this .been_used ) {
68
- throw (new RuntimeException ("obj component already written" ));
67
+ if (this .been_used ) {
68
+ throw (new RuntimeException ("obj component already written" ));
69
69
}
70
70
var estimate =
71
71
ImmutableEstimate .builder ().internalValue (estimateNumber ).rng (this .dp .coderun .rng ).build ();
@@ -84,8 +84,8 @@ public void writeEstimate(Number estimateNumber) {
84
84
* @param distribution the Distribution to write
85
85
*/
86
86
public void writeDistribution (Distribution distribution ) {
87
- if (this .been_used ) {
88
- throw (new RuntimeException ("obj component already written" ));
87
+ if (this .been_used ) {
88
+ throw (new RuntimeException ("obj component already written" ));
89
89
}
90
90
try (CleanableFileChannel fileChannel = this .getFileChannel ()) {
91
91
this .dp .coderun .parameterDataWriter .write (fileChannel , this .component_name , distribution );
@@ -102,8 +102,8 @@ public void writeDistribution(Distribution distribution) {
102
102
* @param samples a Samples object containing the samples
103
103
*/
104
104
public void writeSamples (Samples samples ) {
105
- if (this .been_used ) {
106
- throw (new RuntimeException ("obj component already written" ));
105
+ if (this .been_used ) {
106
+ throw (new RuntimeException ("obj component already written" ));
107
107
}
108
108
try (CleanableFileChannel fileChannel = this .getFileChannel ()) {
109
109
this .dp .coderun .parameterDataWriter .write (fileChannel , this .component_name , samples );
0 commit comments