PageRenderTime 4ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/sigmah/src/test/java/org/sigmah/client/mock/NullAsyncCallback.java

http://sigma-h.googlecode.com/
Java | 17 lines | 8 code | 5 blank | 4 comment | 0 complexity | 99e3fcf5a4e06fa4d8deb858eea82bbb MD5 | raw file
 1/*
 2 * All Sigmah code is released under the GNU General Public License v3
 3 * See COPYRIGHT.txt and LICENSE.txt.
 4 */
 5
 6package org.sigmah.client.mock;
 7
 8import com.google.gwt.user.client.rpc.AsyncCallback;
 9
10public class NullAsyncCallback<T> implements AsyncCallback<T> {
11
12    @Override
13    public void onFailure(Throwable throwable) { /* NO OP */ }
14
15    @Override
16    public void onSuccess(T t) { /* NO OP */ }
17}