Skip to content
Snippets Groups Projects
Commit 889da1c4 authored by Jeff Burke's avatar Jeff Burke
Browse files

s1651: fix compile warnings

parent f5ca62c6
No related branches found
No related tags found
No related merge requests found
......@@ -133,7 +133,7 @@
<target name="test" depends="compile-test,resources">
<echo message="Running test" />
<!-- Run the junit test suite -->
Run the junit test suite
<echo message="Running test suite..." />
<junit printsummary="yes" haltonfailure="yes" fork="yes">
<classpath>
......@@ -141,10 +141,10 @@
<pathelement path="${build}/test/class"/>
<pathelement path="${testingJars}"/>
</classpath>
<!--<test name="ca.nrc.cadc.ac.server.ldap.LdapDAOTest" />-->
<test name="ca.nrc.cadc.ac.server.ldap.LdapDAOTest" />
<test name="ca.nrc.cadc.ac.server.ldap.LdapGroupDAOTest" />
<!--<test name="ca.nrc.cadc.ac.server.web.GroupActionFactoryTest" />-->
<!--<test name="ca.nrc.cadc.ac.server.ldap.LdapUserDAOTest" />-->
<test name="ca.nrc.cadc.ac.server.web.GroupActionFactoryTest" />
<test name="ca.nrc.cadc.ac.server.ldap.LdapUserDAOTest" />
<formatter type="plain" usefile="false" />
</junit>
</target>
......
......@@ -112,6 +112,7 @@ public class PluginFactory
}
}
@SuppressWarnings("unchecked")
public <T extends Principal> GroupPersistence<T> getGroupPersistence()
{
GroupPersistence<T> ret = null;
......@@ -136,6 +137,7 @@ public class PluginFactory
return ret;
}
@SuppressWarnings("unchecked")
public <T extends Principal> UserPersistence<T> getUserPersistence()
{
UserPersistence<T> ret = null;
......
......@@ -101,8 +101,7 @@ import javax.security.auth.x500.X500Principal;
import javax.servlet.http.HttpServletResponse;
import org.apache.log4j.Logger;
public class ACSearchRunner
implements JobRunner
public class ACSearchRunner implements JobRunner
{
private static Logger log = Logger.getLogger(ACSearchRunner.class);
......@@ -149,6 +148,7 @@ public class ACSearchRunner
log.info(endMessage);
}
@SuppressWarnings("unchecked")
private void search()
{
try
......
......@@ -94,6 +94,7 @@ public class AddUserMemberAction extends GroupsAction
this.userIDType = userIDType;
}
@SuppressWarnings("unchecked")
public Object run()
throws Exception
{
......
......@@ -92,6 +92,7 @@ public class RemoveUserMemberAction extends GroupsAction
this.userIDType = userIDType;
}
@SuppressWarnings("unchecked")
public Object run()
throws Exception
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment