Skip to content

Commit d0042f7

Browse files
committed
fixup static constructor
1 parent c4fa8e0 commit d0042f7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

AndroidAsync/src/com/koushikdutta/async/http/server/AsyncHttpServerRouter.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,9 @@ public static Asset getAssetStream(AssetManager am, String asset) {
149149
}
150150
}
151151

152-
static Hashtable<String, String> mContentTypes = new Hashtable<String, String>();
152+
static Hashtable<String, String> mContentTypes = new Hashtable<>();
153+
154+
static
153155
{
154156
mContentTypes.put("js", "application/javascript");
155157
mContentTypes.put("json", "application/json");

0 commit comments

Comments
 (0)