moved to java7+ strict compatibility

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@115638 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Massimiliano Assante 2015-06-30 10:15:18 +00:00
parent e219cc6d77
commit e0f7e215ef
3 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@ -1603,7 +1603,7 @@ public final class DBCassandraAstyanaxImpl implements DatabookStore {
* {@inheritDoc}
*/
@Override
public InviteOperationResult saveInvite(Invite invite) throws AddressException, NullArgumentException {
public InviteOperationResult saveInvite(Invite invite) throws AddressException {
if (invite == null)
throw new NullArgumentException("Invite instance is null");
String email = invite.getInvitedEmail();

View File

@ -365,7 +365,7 @@ public interface DatabookStore {
* @param invite the invite object instanc to save
* @return {@link InviteOperationResult} SUCCESS, FAILED or ALREADY_INVITED (if an invite is sent to en existing email in the same environment more than once)
*/
InviteOperationResult saveInvite(Invite invite) throws AddressException, NullArgumentException;
InviteOperationResult saveInvite(Invite invite) throws AddressException;
/**
*
* @param vreid the environment where you want to check the invite