Small fixes for FlipperClientImpl

Summary: One unsafe assignment and an incorrect comment open.

Reviewed By: jknoxville

Differential Revision: D15146815

fbshipit-source-id: ec2186c82f60cacab91d286b4c68138a44e1ea27
This commit is contained in:
Pascal Hartig
2019-04-30 13:08:52 -07:00
committed by Facebook Github Bot
parent ef46dd7f91
commit 356614e1c7

View File

@@ -1,4 +1,4 @@
/** /*
* Copyright (c) Facebook, Inc. and its affiliates. * Copyright (c) Facebook, Inc. and its affiliates.
* *
* <p>This source code is licensed under the MIT license found in the LICENSE file in the root * <p>This source code is licensed under the MIT license found in the LICENSE file in the root
@@ -27,7 +27,7 @@ class FlipperClientImpl implements FlipperClient {
} }
private final HybridData mHybridData; private final HybridData mHybridData;
private final Map<Class<?>, String> mClassIdentifierMap = new HashMap(8); private final Map<Class<?>, String> mClassIdentifierMap = new HashMap<>(8);
private FlipperClientImpl(HybridData hd) { private FlipperClientImpl(HybridData hd) {
mHybridData = hd; mHybridData = hd;