Skip to content

Commit

Permalink
Fixed compile errors
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarmueller committed Feb 12, 2015
1 parent b60aec4 commit 807fd42
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class AdminConnectionManagerMock extends AbstractConnectionManager<Object

public AdminConnectionManagerMock(ACDAOFacade daoFacade, AccessControl accessControl,
ServerSpace serverSpace)
throws FatalESException {
throws FatalESException {

adminEmfStore = new AdminEmfStoreImpl(daoFacade, serverSpace, accessControl);
}
Expand Down Expand Up @@ -87,7 +87,8 @@ public List<ACUser> getUsers(SessionId sessionId) throws ESException {
*
* @see org.eclipse.emf.emfstore.internal.server.AdminEmfStore#getOrgUnits(org.eclipse.emf.emfstore.internal.server.model.SessionId)
*/
public List<ACOrgUnit<?>> getOrgUnits(SessionId sessionId) throws ESException {
@SuppressWarnings("rawtypes")
public List<ACOrgUnit> getOrgUnits(SessionId sessionId) throws ESException {
getConnectionProxy(sessionId);
return adminEmfStore.getOrgUnits(sessionId);
}
Expand Down Expand Up @@ -154,7 +155,8 @@ public void removeGroup(SessionId sessionId, ACOrgUnitId user, ACOrgUnitId group
* @see org.eclipse.emf.emfstore.internal.server.AdminEmfStore#getMembers(org.eclipse.emf.emfstore.internal.server.model.SessionId,
* org.eclipse.emf.emfstore.internal.server.model.accesscontrol.ACOrgUnitId)
*/
public List<ACOrgUnit<?>> getMembers(SessionId sessionId, ACOrgUnitId groupId) throws ESException {
@SuppressWarnings("rawtypes")
public List<ACOrgUnit> getMembers(SessionId sessionId, ACOrgUnitId groupId) throws ESException {
getConnectionProxy(sessionId);
return adminEmfStore.getMembers(sessionId, groupId);
}
Expand Down Expand Up @@ -237,7 +239,8 @@ public void changeUser(SessionId sessionId, ACOrgUnitId userId, String name, Str
* @see org.eclipse.emf.emfstore.internal.server.AdminEmfStore#getParticipants(org.eclipse.emf.emfstore.internal.server.model.SessionId,
* org.eclipse.emf.emfstore.internal.server.model.ProjectId)
*/
public List<ACOrgUnit<?>> getParticipants(SessionId sessionId, ProjectId projectId) throws ESException {
@SuppressWarnings("rawtypes")
public List<ACOrgUnit> getParticipants(SessionId sessionId, ProjectId projectId) throws ESException {
getConnectionProxy(sessionId);
return adminEmfStore.getParticipants(sessionId, projectId);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
******************************************************************************/
package org.eclipse.emf.emfstore.client.test.common.util;

// import java.io.File;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
Expand Down Expand Up @@ -49,7 +50,6 @@
import org.eclipse.emf.emfstore.internal.server.core.EMFStoreImpl;
import org.eclipse.emf.emfstore.internal.server.exceptions.ConnectionException;
import org.eclipse.emf.emfstore.internal.server.exceptions.FatalESException;
import org.eclipse.emf.emfstore.internal.server.impl.api.ESOrgUnitProviderImpl;
import org.eclipse.emf.emfstore.internal.server.model.ModelFactory;
import org.eclipse.emf.emfstore.internal.server.model.ProjectId;
import org.eclipse.emf.emfstore.internal.server.model.ServerSpace;
Expand Down Expand Up @@ -161,8 +161,7 @@ public static ServerMock startMockServer(Map<String, String> properties) throws

ServerConfiguration.setProperties(initProperties(properties));
setSuperUser(daoFacadeMock);
final ESOrgUnitProviderImpl orgUnitProvider = new ESOrgUnitProviderImpl(serverSpace);
final AccessControl accessControl = new AccessControl(orgUnitProvider);
final AccessControl accessControl = new AccessControl(serverSpace);

// accessControl.setAuthenticationControl(ESUserVerifierFactory.INSTANCE
// .createAuthenticationControl(ESAuthenticationControlType.model, orgUnitProviderImpl));
Expand Down

0 comments on commit 807fd42

Please sign in to comment.