Skip to content

Commit 2303452

Browse files
committed
Doc edits
1 parent 20be455 commit 2303452

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

convex-core/src/main/java/convex/core/data/Cells.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ public static void visitBranches(ACell a, Consumer<ACell> visitor) {
265265
/**
266266
* Intern a Cell permanently in memory (for JVM lifetime).
267267
*
268-
* SECURITY: do not do this for any generated structure from external sources. The could DoS your memory.
268+
* SECURITY: do not do this for any generated structure from external sources. Attackers could DoS your memory.
269269
*
270270
* @param <T> Type of Cell
271271
* @param value Value to intern

convex-core/src/main/java/convex/core/data/Encoder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import convex.core.store.AStore;
55

66
/**
7-
* Encoder for stores
7+
* Encoder for CAD3 data / stores
88
*/
99
public class Encoder {
1010

convex-core/src/main/java/convex/core/data/Format.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,6 @@ private static ANumeric readNumeric(byte tag, Blob blob, int offset) throws BadF
622622
// TODO Auto-generated method stub
623623
if (tag<0x19) return CVMLong.read(tag,blob,offset);
624624
if (tag == 0x19) return CVMBigInteger.read(blob,offset);
625-
// Double is special, we enforce a canonical NaN
626625
if (tag == Tag.DOUBLE) return CVMDouble.read(tag,blob,offset);
627626

628627
throw new BadFormatException(badTagMessage(tag));

0 commit comments

Comments
 (0)