Skip to content

Commit 15dad94

Browse files
committed
checked Serialization
1 parent d283fac commit 15dad94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/net/sharksystem/asap/utils/ASAPSerialization.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public static byte[][] readByte2DimArray(InputStream is) throws IOException, ASA
7474
}
7575

7676
public static void writeCharSequenceParameter(CharSequence parameter, OutputStream os) throws IOException {
77-
if (parameter == null || parameter.length() < 1) return;
77+
if (parameter == null || parameter.length() < 1) return; //parameter = "";
7878
byte[] bytes = parameter.toString().getBytes();
7979
writeNonNegativeIntegerParameter(bytes.length, os);
8080
os.write(bytes);

0 commit comments

Comments
 (0)