Commit 889da1c4 authored by Jeff Burke's avatar Jeff Burke
Browse files

s1651: fix compile warnings

parent f5ca62c6
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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>
+2 −0
Original line number Diff line number Diff line
@@ -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;
+2 −2
Original line number Diff line number Diff line
@@ -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
+1 −0
Original line number Diff line number Diff line
@@ -94,6 +94,7 @@ public class AddUserMemberAction extends GroupsAction
        this.userIDType = userIDType;
    }

    @SuppressWarnings("unchecked")
    public Object run()
        throws Exception
    {
+1 −0
Original line number Diff line number Diff line
@@ -92,6 +92,7 @@ public class RemoveUserMemberAction extends GroupsAction
        this.userIDType = userIDType;
    }

    @SuppressWarnings("unchecked")
    public Object run()
        throws Exception
    {