mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-09 06:55:47 +01:00
fix/suppress compiler warnings
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -59,6 +59,7 @@ import javax.ws.rs.ext.Provider;
|
||||
*
|
||||
* @author Sebastian Sdorra
|
||||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
public final class ExtensionBinder
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user