Skip to content

Commit

Permalink
remove debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
jievince committed Nov 9, 2021
1 parent b3a2ba3 commit 047f35c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,6 @@ public void write(int index, DateTime v) {

@Override
public void write(int index, Geography v) {
System.out.println("write(index, geography), " + index);
SchemaProvider.Field field = schema.field(index);
PropertyType typeEnum = PropertyType.findByValue(field.type());
if (typeEnum == null) {
Expand All @@ -658,11 +657,6 @@ public void write(int index, Geography v) {
.WKBWriter(2, ByteOrderValues.LITTLE_ENDIAN)
.write(jtsGeom);
write(index, wkb);
String hexedWKb = Hex.encodeHexString(wkb);
System.out.println("write(index, geography), wkb.size()=" + wkb.length
+ ", wkb.content=" + wkb);
System.out.println("write(index, geography), hexedWKb.size()=" + hexedWKb.length()
+ ", hexedWKb.content=" + hexedWKb);
}

@Override
Expand Down Expand Up @@ -707,7 +701,6 @@ public void setValue(int index, Object value) {
} else if (value instanceof DateTime) {
write(index, (DateTime)value);
} else if (value instanceof Geography) {
System.out.println("jie, " + index + ", setValue(index, Object) for geography");
write(index, (Geography)value);
} else {
throw new RuntimeException("Unsupported value object `" + value.getClass() + "\"");
Expand Down Expand Up @@ -752,7 +745,6 @@ public void setValue(int index, Value value) {
write(index, value.getDtVal());
break;
case Value.GGVAL:
System.out.println("jie, " + index + ", setValue(index, value) for geography");
write(index, value.getGgVal());
break;
default:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -273,10 +273,6 @@ public void testEncodeVertexValue() {
// File file = new File("encode_java.txt");
// FileOutputStream fileOutputStream = new FileOutputStream(file);
// fileOutputStream.write(encodeStr);
System.out.println("hex vs expect");
System.out.println(hexStr);
System.out.println("***********");
System.out.println(allTypeValueExpectResult);
Assert.assertArrayEquals(allTypeValueExpectResult.getBytes(),
hexStr.substring(0, hexStr.length() - 16).getBytes());
} catch (Exception exception) {
Expand Down

0 comments on commit 047f35c

Please sign in to comment.