Navigation Menu

Skip to content

Commit

Permalink
minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
notnoop committed Jun 23, 2011
1 parent 9feff7e commit b7cf285
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Expand Up @@ -52,6 +52,7 @@ protected void push(final HttpPost request) {
public void run() {
try {
HttpResponse response = httpClient.execute(request);
assert response != null;
} catch (Exception e) {
throw new RuntimeException(e);
}
Expand Down
Expand Up @@ -49,6 +49,7 @@ public MpnsServiceImpl(HttpClient client) {
protected void push(HttpPost request) {
try {
HttpResponse response = httpClient.execute(request);
assert response != null;
} catch (ClientProtocolException e) {
throw new RuntimeException(e);
} catch (IOException e) {
Expand Down
3 changes: 0 additions & 3 deletions src/main/java/com/notnoop/mpns/internal/Utilities.java
Expand Up @@ -32,12 +32,9 @@

import org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager;



import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Reader;
import java.util.regex.Pattern;

public final class Utilities {
private Utilities() { throw new AssertionError("Uninstantiable class"); }
Expand Down

0 comments on commit b7cf285

Please sign in to comment.