Permalink
Browse files

Add stubs for unimplemente mthods so it will compile

  • Loading branch information...
1 parent d582800 commit 552a1acace1ee3beb3469659c4dcae01f370effc rgordon committed Aug 27, 2012
@@ -147,6 +147,13 @@ public InputStream getResource(final URI uri)
public void postResource(final URI uri, final Object resource) {
}
+
+ @Override
+ public void deleteResource(URI uri, Object resource)
+ throws AuthenticationGnipException, TransportGnipException {
+ // TODO Auto-generated method stub
+
+ }
}
class MockExecutorService implements ExecutorService {
@@ -61,6 +61,13 @@ public InputStream getResource(final URI uri) throws AuthenticationGnipException
public void postResource(final URI uri, final Object resource) {
}
+
+ @Override
+ public void deleteResource(URI uri, Object resource)
+ throws AuthenticationGnipException, TransportGnipException {
+ // TODO Auto-generated method stub
+
+ }
};
final GnipFacade f = new DefaultGnipFacade(resources);
final GnipStream stream = f.createStream("acme", "stream", observer);

0 comments on commit 552a1ac

Please sign in to comment.