if(((AdminGroup) iter.next()).getAdminGroupId().intValue() == admingroupid){
if(((AdminGroup) iter.next()).getAdminGroupId() == admingroupid){
    public void addHardTokenIssuer(String alias, int admingroupid) throws HardTokenIssuerExistsException, RemoteException{      Iterator iter = this.informationmemory.getHardTokenIssuingAdminGroups().iterator();      while(iter.hasNext()){      	if(((AdminGroup) iter.next()).getAdminGroupId().intValue() == admingroupid){			if(!hardtokensession.addHardTokenIssuer(admin, alias, admingroupid, new HardTokenIssuer()))			  throw new HardTokenIssuerExistsException();			informationmemory.hardTokenDataEdited();      		      	}      }          }