Minor cosmetic/warning changes/fixes

This commit is contained in:
James Seibel
2022-07-14 21:44:46 -05:00
parent b1c6ff9588
commit 51de4da845
3 changed files with 6 additions and 6 deletions
@@ -7,7 +7,7 @@ import com.seibel.lod.core.api.external.shared.objects.DhApiResult;
* Handles adding/removing event handlers.
*
* @author James Seibel
* @version 2022-7-13
* @version 2022-7-14
*/
public class DhApiEventRegister
{
@@ -17,7 +17,7 @@ public class DhApiEventRegister
* If multiple of the same eventHandler are added DhApiResult will return
* the name of the already added handler and success = false.
*/
public static DhApiResult on(IDhApiEventHandler eventHandler)
public static DhApiResult on(IDhApiEventHandler<?> eventHandler)
{
throw new UnsupportedOperationException();
}
@@ -27,7 +27,7 @@ public class DhApiEventRegister
* If no eventHandler of the given class has been registered the result will return
* success = false.
*/
public static DhApiResult off(IDhApiEventHandler eventHandler)
public static DhApiResult off(IDhApiEventHandler<?> eventHandler)
{
throw new UnsupportedOperationException();
}
@@ -36,8 +36,8 @@ public class SingletonHandler
/**
* Links the given implementation object to an interface, so it can be referenced later.
*
* @param dependencyInterface The interface the implementation object should implement.
* @param dependencyImplementation An object that implements the dependencyInterface interface.
* @param interfaceClass The interface the implementation object should implement.
* @param singletonReference An object that implements the dependencyInterface interface.
* @throws IllegalStateException if the implementation object doesn't implement
* the interface or the interface has already been bound.
*/
@@ -46,7 +46,7 @@ public interface IChunkWrapper extends IBindable
@Deprecated
IBlockDetailWrapper getBlockDetail(int x, int y, int z);
// Returns null if block doesn't exist. Note that this can cross chunk boundaries.
/** Returns null if block doesn't exist. Note that this can cross chunk boundaries. */
@Deprecated
IBlockDetailWrapper getBlockDetailAtFace(int x, int y, int z, ELodDirection dir);