fixed some javadoc warnings
This commit is contained in:
parent
930ec5d63a
commit
d42ed7d5da
|
@ -24,7 +24,7 @@
|
|||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: GUI.java,v 1.69 2008/02/12 15:20:56 fros4943 Exp $
|
||||
* $Id: GUI.java,v 1.70 2008/02/12 15:31:22 fros4943 Exp $
|
||||
*/
|
||||
|
||||
package se.sics.cooja;
|
||||
|
@ -295,22 +295,22 @@ public class GUI {
|
|||
/**
|
||||
* Add mote highlight observer.
|
||||
*
|
||||
* @see #deleteTickObserver(Observer)
|
||||
* @see #deleteMoteHighlightObserver(Observer)
|
||||
* @param newObserver
|
||||
* New observer
|
||||
*/
|
||||
public void addMoteHighligtObserver(Observer newObserver) {
|
||||
public void addMoteHighlightObserver(Observer newObserver) {
|
||||
moteHighlightObservable.addObserver(newObserver);
|
||||
}
|
||||
|
||||
/**
|
||||
* Delete an mote highlight observer.
|
||||
*
|
||||
* @see #addTickObserver(Observer)
|
||||
* @see #addMoteHighlightObserver(Observer)
|
||||
* @param observer
|
||||
* Observer to delete
|
||||
*/
|
||||
public void deleteMoteHighligtObserver(Observer observer) {
|
||||
public void deleteMoteHighlightObserver(Observer observer) {
|
||||
moteHighlightObservable.deleteObserver(observer);
|
||||
}
|
||||
|
||||
|
@ -1382,11 +1382,8 @@ public class GUI {
|
|||
* files were not parsed correctly.
|
||||
*
|
||||
* Any registered temporary plugins will be saved and reregistered.
|
||||
*
|
||||
* @return True if external configuration files were found and parsed OK
|
||||
*/
|
||||
public void reparseProjectConfig()
|
||||
throws ParseProjectsException {
|
||||
public void reparseProjectConfig() throws ParseProjectsException {
|
||||
// Backup temporary plugins
|
||||
Vector<Class<? extends Plugin>> oldTempPlugins = (Vector<Class<? extends Plugin>>) pluginClassesTemporary
|
||||
.clone();
|
||||
|
@ -3571,7 +3568,7 @@ public class GUI {
|
|||
* listeners will be notified. An example application of mote highlightinh is
|
||||
* a simulator visualizer that highlights the mote.
|
||||
*
|
||||
* @see #addMoteHighligtObserver(Observer)
|
||||
* @see #addMoteHighlightObserver(Observer)
|
||||
* @param m
|
||||
* Mote to highlight
|
||||
*/
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: Simulation.java,v 1.19 2008/02/12 15:03:43 fros4943 Exp $
|
||||
* $Id: Simulation.java,v 1.20 2008/02/12 15:31:22 fros4943 Exp $
|
||||
*/
|
||||
|
||||
package se.sics.cooja;
|
||||
|
@ -315,7 +315,7 @@ public class Simulation extends Observable implements Runnable {
|
|||
}
|
||||
|
||||
/**
|
||||
* @param nrTickLists Maximum mote startup delay
|
||||
* @param maxMoteStartupDelay Maximum mote startup delay
|
||||
*/
|
||||
public void setDelayedMoteStartupTime(int maxMoteStartupDelay) {
|
||||
this.maxMoteStartupDelay = Math.max(0, maxMoteStartupDelay);
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: Visualizer2D.java,v 1.12 2008/02/12 15:11:40 fros4943 Exp $
|
||||
* $Id: Visualizer2D.java,v 1.13 2008/02/12 15:31:22 fros4943 Exp $
|
||||
*/
|
||||
|
||||
package se.sics.cooja.plugins;
|
||||
|
@ -186,7 +186,7 @@ public abstract class Visualizer2D extends VisPlugin {
|
|||
simObserver.update(null, null);
|
||||
|
||||
// Detect mote highligts
|
||||
myGUI.addMoteHighligtObserver(moteHighligtObserver = new Observer() {
|
||||
myGUI.addMoteHighlightObserver(moteHighligtObserver = new Observer() {
|
||||
public void update(Observable obs, Object obj) {
|
||||
if (!(obj instanceof Mote)) {
|
||||
return;
|
||||
|
@ -614,7 +614,7 @@ public abstract class Visualizer2D extends VisPlugin {
|
|||
|
||||
public void closePlugin() {
|
||||
if (moteHighligtObserver != null) {
|
||||
myGUI.deleteMoteHighligtObserver(moteHighligtObserver);
|
||||
myGUI.deleteMoteHighlightObserver(moteHighligtObserver);
|
||||
}
|
||||
|
||||
if (simObserver != null) {
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: UDGM.java,v 1.12 2007/12/13 07:59:35 fros4943 Exp $
|
||||
* $Id: UDGM.java,v 1.13 2008/02/12 15:31:22 fros4943 Exp $
|
||||
*/
|
||||
|
||||
package se.sics.cooja.radiomediums;
|
||||
|
@ -59,7 +59,8 @@ import se.sics.cooja.plugins.Visualizer2D;
|
|||
* The radio output power indicator (0-100) is used in a very simple way; the
|
||||
* total transmission (and interfering) range is multiplied with [power_ind]%.
|
||||
*
|
||||
* @see #SS_OK
|
||||
* @see #SS_OK_BEST
|
||||
* @see #SS_OK_WORST
|
||||
* @see #SS_NOISE
|
||||
* @see #SS_NOTHING
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue