Remove unnecessary throws OrmException

PostEvent using the branch does not throw OrmException

Change-Id: I696a4a2db94c1ea301a04db9ebb4c63e498aed53
This commit is contained in:
Hugo Ares
2013-10-15 09:21:06 -04:00
parent 550ba8a8b6
commit 3b6acb9325
2 changed files with 2 additions and 4 deletions

View File

@@ -608,7 +608,7 @@ public class ChangeHookRunner implements ChangeHooks, LifecycleListener {
@Override
public void postEvent(final Branch.NameKey branchName,
final ChangeEvent event) throws OrmException {
final ChangeEvent event) {
fireEvent(branchName, event);
}

View File

@@ -188,8 +188,6 @@ public interface ChangeHooks {
*
* @param branchName The branch that the event is related to
* @param event The event to post
* @throws OrmException
*/
public void postEvent(Branch.NameKey branchName, ChangeEvent event)
throws OrmException;
public void postEvent(Branch.NameKey branchName, ChangeEvent event);
}