check changes in
authorBrian Demsky <bdemsky@plrg.eecs.uci.edu>
Sat, 23 Jul 2016 23:30:21 +0000 (16:30 -0700)
committerBrian Demsky <bdemsky@plrg.eecs.uci.edu>
Sat, 23 Jul 2016 23:30:21 +0000 (16:30 -0700)
src/java/iotcloud/Makefile
src/java/iotcloud/Table.java

index aab86c5..df6ceeb 100644 (file)
@@ -1,11 +1,17 @@
 all: server
 
 JAVAC = javac
+JAVADOC = javadoc
 BIN_DIR = bin
+DOCS_DIR = docs
 
 server:
        $(JAVAC) -d $(BIN_DIR) *.java
 
+doc: server
+       $(JAVADOC) -d $(DOCS_DIR) *.java
+
 clean:
        rm -r bin/*
+       rm -r docs/*
        rm *~
index 6cd2b32..b4cbfd2 100644 (file)
@@ -130,7 +130,6 @@ public class Table {
                        throw new Error("Unrecognized type");
                }
                
-               //Check that nothing funny happened
                if (machineid == localmachineid) {
                        if (lastmsgseqnum != seqnum)
                                throw new Error("Server Error: Mismatch on local machine sequence number");