cleanup build warnings
diff --git a/src/packages/xdc/services/getset/Fxn.java b/src/packages/xdc/services/getset/Fxn.java
index 62c9679..d84516c 100644
--- a/src/packages/xdc/services/getset/Fxn.java
+++ b/src/packages/xdc/services/getset/Fxn.java
@@ -51,6 +51,9 @@
/**
* Create a new Fxn that will execute the given body, as scheduled
* by the given Group.
+ *
+ * @param group the group of which this functiion belongs
+ * @param body the function's content
*/
public Fxn(Group group, Callable body)
{
@@ -71,6 +74,10 @@
* Mark the given field as a formal input to the Fxn.
* The Fxn will be re-executed whenever the value of the
* field changes.
+ *
+ * @param obj an observable obj
+ * @param name the name of a field of obj
+ * @return returns this
*/
public Fxn addInput(Value.Observable obj, String name)
{
@@ -81,6 +88,10 @@
/**
* Mark a given array element as a formal input to the Fxn.
+ *
+ * @param obj an observable array obj
+ * @param index an index into the array obj
+ * @return returns this
*/
public Fxn addInput(Value.Observable obj, int index)
{
@@ -96,6 +107,10 @@
* correct scheduling of Fxns with outputs that are updated
* by read-modify-write, for example if stored as a single
* bit in an integer.
+ *
+ * @param obj an observable array obj
+ * @param name the name of a field of obj
+ * @return returns this
*/
public Fxn addOutput(Value.Observable obj, String name)
{
@@ -108,6 +123,10 @@
/**
* Mark a given array element as a formal output of the Fxn.
+ *
+ * @param obj an observable array obj
+ * @param index an index into the array obj
+ * @return returns this
*/
public Fxn addOutput(Value.Observable obj, int index)
{
@@ -120,6 +139,8 @@
/**
* Get whether this Fxn needs to be executed.
+ *
+ * @return returns true if Fxn needs to be run
*/
public boolean getStale()
{
@@ -130,6 +151,8 @@
* Set whether the Fxn needs to be executed, typically because one
* of the inputs has changed value. This method should only be
* called by the Fxn's scheduling Group.
+ *
+ * @param stale set the stale state of this Fxn
*/
public void setStale(boolean stale)
{
@@ -185,7 +208,7 @@
}
}
- /**
+ /*
* Schedule the Fxn for execution at the next opportunity.
* Will be called with the given scope, thisObj, and args.
* The call Context will be whatever is the current Context
@@ -199,7 +222,7 @@
group.schedule(this);
}
- /**
+ /*
* A setter that is called whenever one of the inputs of the
* Fxn changes in value. Ignores the change if the input is also
* an output.
@@ -240,7 +263,7 @@
return null;
}
- /**
+ /*
* Get a shorthand name for the Fxn, to be used in debug output.
*/
private String getDebugName()
diff --git a/src/packages/xdc/services/getset/custom.mak b/src/packages/xdc/services/getset/custom.mak
index 98ca0fa..93b5070 100644
--- a/src/packages/xdc/services/getset/custom.mak
+++ b/src/packages/xdc/services/getset/custom.mak
@@ -39,7 +39,7 @@
.executables: .javadoc
.javadoc: .libraries
- $(JDK)/bin/javadoc -quiet -d $(DOCDIR) -sourcepath $(PKGROOT) -classpath "$(JCPATH)" *.java
+ $(JDK)/bin/javadoc -Xdoclint:none -quiet -d $(DOCDIR) -sourcepath $(PKGROOT) -classpath "$(JCPATH)" *.java
$(RM) $@
$(TOUCH) $@
diff --git a/src/packages/xdc/services/host/lib/gt.c b/src/packages/xdc/services/host/lib/gt.c
index 61182b4..69c5cde 100644
--- a/src/packages/xdc/services/host/lib/gt.c
+++ b/src/packages/xdc/services/host/lib/gt.c
@@ -115,12 +115,12 @@
maskValid = FALSE;
state = GT_SEP;
- while (*str != NULL) {
+ while (*str != '\0') {
switch ((Int)state) {
case (Int)GT_SEP:
maskValid = FALSE;
sep = separator;
- while (*sep != NULL) {
+ while (*sep != '\0') {
if (*str == *sep) {
str++;
break;
@@ -129,7 +129,7 @@
sep++;
}
}
- if (*sep == NULL) {
+ if (*sep == '\0') {
state = GT_FIRST;
}
break;
diff --git a/src/packages/xdc/services/mapping/custom.mak b/src/packages/xdc/services/mapping/custom.mak
index 3007e07..9f965e2 100644
--- a/src/packages/xdc/services/mapping/custom.mak
+++ b/src/packages/xdc/services/mapping/custom.mak
@@ -37,7 +37,7 @@
.executables: .javadoc
.javadoc: .libraries
- $(JDK)/bin/javadoc -quiet -d $(DOCDIR) -sourcepath $(PKGROOT) -classpath "$(JCPATH)" *.java
+ $(JDK)/bin/javadoc -Xdoclint:none -quiet -d $(DOCDIR) -sourcepath $(PKGROOT) -classpath "$(JCPATH)" *.java
$(RM) $@
$(TOUCH) $@
diff --git a/src/packages/xdc/services/spec/custom.mak b/src/packages/xdc/services/spec/custom.mak
index acfe50d..2e9a78b 100644
--- a/src/packages/xdc/services/spec/custom.mak
+++ b/src/packages/xdc/services/spec/custom.mak
@@ -34,7 +34,7 @@
$(JAVADOCDIR): .javadoc
.javadoc: .libraries
- $(JDK)/bin/javadoc -quiet -d $(JAVADOCDIR) -sourcepath $(PKGROOT) -classpath $(JCPATH) *.java
+ $(JDK)/bin/javadoc -Xdoclint:none -quiet -d $(JAVADOCDIR) -sourcepath $(PKGROOT) -classpath $(JCPATH) *.java
$(RM) $@
$(TOUCH) $@