Skip to content

Commit 00e4121

Browse files
author
bytekeeper
committed
Fixed import
1 parent 4a7aa8e commit 00e4121

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/test/java/DumpToClient.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import com.sun.org.apache.xpath.internal.operations.Variable;
21
import java.io.IOException;
32
import java.io.PrintWriter;
43
import java.io.StringWriter;
@@ -145,7 +144,9 @@ public static void main(String[] args) throws IOException {
145144
List<String> params = new ArrayList<>();
146145
String offsetString;
147146
int arrayIndices = v.arraySizes.size();
148-
if (v.type == Type.CHAR) arrayIndices--;
147+
if (v.type == Type.CHAR) {
148+
arrayIndices--;
149+
}
149150
if (arrayIndices > 0) {
150151
List<String> index = new ArrayList<>();
151152
int offset = 1;
@@ -237,7 +238,8 @@ public static void main(String[] args) throws IOException {
237238
case CHAR:
238239
out.println("String value) {");
239240
int maxLength = v.arraySizes.get(v.arraySizes.size() - 1);
240-
out.printf(" Buffers.fromString(sharedMemory, %s, %d, value);\n", offsetString, maxLength);
241+
out.printf(" Buffers.fromString(sharedMemory, %s, %d, value);\n", offsetString,
242+
maxLength);
241243
break;
242244
}
243245
out.println(" }");

0 commit comments

Comments
 (0)