提交 7c5fa8c6 authored 作者: Evgenij Ryazanov's avatar Evgenij Ryazanov

Fix typos

上级 abcd1425
...@@ -121,7 +121,7 @@ public final class EWKBUtils { ...@@ -121,7 +121,7 @@ public final class EWKBUtils {
writeInt(type); writeInt(type);
if (srid != 0) { if (srid != 0) {
writeInt(srid); writeInt(srid);
// Newer write SRID in inner objects // Never write SRID in inner objects
srid = 0; srid = 0;
} }
} }
...@@ -156,7 +156,7 @@ public final class EWKBUtils { ...@@ -156,7 +156,7 @@ public final class EWKBUtils {
private void writeDouble(double v) { private void writeDouble(double v) {
v = toCanonicalDouble(v); v = toCanonicalDouble(v);
Bits.writeLong(buf, 0, Double.doubleToLongBits(v)); Bits.writeLong(buf, 0, Double.doubleToRawLongBits(v));
output.write(buf, 0, 8); output.write(buf, 0, 8);
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论