@@ -64,8 +64,8 @@ public CleanableFileChannel writeFileChannel() throws IOException {
6464 * @param estimateNumber the number to write.
6565 */
6666 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" ));
6969 }
7070 var estimate =
7171 ImmutableEstimate .builder ().internalValue (estimateNumber ).rng (this .dp .coderun .rng ).build ();
@@ -84,8 +84,8 @@ public void writeEstimate(Number estimateNumber) {
8484 * @param distribution the Distribution to write
8585 */
8686 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" ));
8989 }
9090 try (CleanableFileChannel fileChannel = this .getFileChannel ()) {
9191 this .dp .coderun .parameterDataWriter .write (fileChannel , this .component_name , distribution );
@@ -102,8 +102,8 @@ public void writeDistribution(Distribution distribution) {
102102 * @param samples a Samples object containing the samples
103103 */
104104 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" ));
107107 }
108108 try (CleanableFileChannel fileChannel = this .getFileChannel ()) {
109109 this .dp .coderun .parameterDataWriter .write (fileChannel , this .component_name , samples );
0 commit comments