@@ -243,7 +243,7 @@ public WrappedWatchableObject remove(int index) {
243
243
* @return True if it does, false if not
244
244
*/
245
245
public boolean hasIndex (int index ) {
246
- return getObject ( index ) != null ;
246
+ return getMap (). containsKey ( index );
247
247
}
248
248
249
249
/**
@@ -388,7 +388,7 @@ public Object getObject(WrappedDataWatcherObject object) {
388
388
* @param value New value
389
389
* @param update Whether or not to inform the client
390
390
*
391
- * @see {@link #setObject(WrappedDataWatcherObject, Object, boolean)}
391
+ * @see WrappedDataWatcher #setObject(WrappedDataWatcherObject, Object, boolean)
392
392
* @throws IllegalArgumentException in 1.9 and up if there isn't already an
393
393
* object at this index
394
394
*/
@@ -415,7 +415,7 @@ public void setObject(int index, Object value) {
415
415
* @param value New value
416
416
* @param update Whether or not to inform the client
417
417
*
418
- * @see {@link #setObject(WrappedDataWatcherObject, Object)}
418
+ * @see WrappedDataWatcher #setObject(WrappedDataWatcherObject, Object)
419
419
*/
420
420
public void setObject (int index , Serializer serializer , Object value , boolean update ) {
421
421
setObject (new WrappedDataWatcherObject (index , serializer ), value , update );
@@ -435,7 +435,7 @@ public void setObject(int index, Serializer serializer, Object value) {
435
435
* @param value New value
436
436
* @param update Whether or not to inform the client
437
437
*
438
- * @see {@link #setObject(int, Object, boolean)}
438
+ * @see WrappedDataWatcher #setObject(int, Object, boolean)
439
439
*/
440
440
public void setObject (int index , WrappedWatchableObject value , boolean update ) {
441
441
setObject (index , value .getRawValue (), update );
0 commit comments