make final constants static

found by findbugs
http://b/issue?id=1857033
This commit is contained in:
Cary Clark
2009-08-11 15:44:31 -04:00
parent 7d89133364
commit 0867e69176
2 changed files with 3 additions and 3 deletions

View File

@@ -49,8 +49,8 @@ public class HttpAuthHandler extends Handler {
// Message id for handling the user response
private final int AUTH_PROCEED = 100;
private final int AUTH_CANCEL = 200;
private static final int AUTH_PROCEED = 100;
private static final int AUTH_CANCEL = 200;
/**
* Creates a new HTTP authentication handler with an empty

View File

@@ -52,7 +52,7 @@ public class SslErrorHandler extends Handler {
private Bundle mSslPrefTable;
// Message id for handling the response
private final int HANDLE_RESPONSE = 100;
private static final int HANDLE_RESPONSE = 100;
@Override
public void handleMessage(Message msg) {