Skip to content

Commit fbf5c8d

Browse files
committed
Code formatted
1 parent 47ef869 commit fbf5c8d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

exercises/practice/paasio/src/test/java/PaasioTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ public class PaasioTest {
1010

1111
private ByteArrayInputStream dataInputStream;
1212
private ByteArrayOutputStream dataOutputStream;
13-
private static final String MESSAGECONSTANT = "This is additional Content.";
13+
private static final String MESSAGECONSTANT = "This is additional Content.";
1414

1515
@BeforeEach
16-
public void setUPTest(TestInfo testInfo) {
16+
public void setUPTest(TestInfo testInfo) {
1717

1818
this.dataInputStream = new ByteArrayInputStream("This is data ".getBytes());
1919
this.dataOutputStream = new ByteArrayOutputStream();
@@ -103,7 +103,7 @@ void checkIfDataFollowsTheOffsetWhileWritingInByteArray() {
103103
try (Paasio fileOperations = new Paasio(this.dataInputStream, this.dataOutputStream)) {
104104

105105
byte[] initialMessage = "Hello! ".getBytes();
106-
byte[] messageArray = Arrays.copyOf(initialMessage, 50);
106+
byte[] messageArray = Arrays.copyOf(initialMessage, 50);
107107

108108
int length = messageArray.length - initialMessage.length - 2;
109109
//It will read data into the messageArray and will begin writing it from its initialMessage.length index
@@ -188,7 +188,7 @@ void validateReadNBytesDataReadInBytesAndVerifyReadCount() {
188188

189189
try (Paasio fileOperations = new Paasio(this.dataInputStream, this.dataOutputStream)) {
190190
byte[] helloArray = "Hello! ".getBytes();
191-
byte[] dataRead = Arrays.copyOf(helloArray,100);
191+
byte[] dataRead = Arrays.copyOf(helloArray, 100);
192192

193193
int bytesRead = fileOperations.read(dataRead, helloArray.length, 40);
194194
String finalVAlue = new String(dataRead, 0, helloArray.length + bytesRead, StandardCharsets.UTF_8);

0 commit comments

Comments
 (0)