fix/suppress compiler warnings

This commit is contained in:
Sebastian Sdorra
2014-08-19 21:45:23 +02:00
parent babd1be9fc
commit a8d9d8b9b6
13 changed files with 19 additions and 16 deletions

View File

@@ -660,6 +660,7 @@ public abstract class AbstractManagerResource<T extends ModelObject,
* @return
*/
@Override
@SuppressWarnings("unchecked")
public int compare(Object o1, Object o2)
{
return super.compare(o1, o2) * -1;

View File

@@ -258,6 +258,7 @@ public class DefaultPluginLoader implements PluginLoader
* @throws IOException
* @throws JAXBException
*/
@SuppressWarnings("unchecked")
private <T> Set<T> getInstalled(ClassLoader classLoader, JAXBContext context,
String path)
throws IOException, JAXBException

View File

@@ -59,6 +59,7 @@ import javax.ws.rs.ext.Provider;
*
* @author Sebastian Sdorra
*/
@SuppressWarnings("unchecked")
public final class ExtensionBinder
{