2
0
mirror of https://github.com/status-im/react-native.git synced 2025-02-19 04:46:48 +00:00

Re-add Javadoc to TypefaceCache.

Summary: Accidentally removed a Javadoc in the last commit, readding it.

Differential Revision: D2750357
This commit is contained in:
Ahmed El-Helw 2015-12-11 17:44:02 -08:00
parent 1a2cf776af
commit dfe5f9f762

@ -43,6 +43,9 @@ import com.facebook.infer.annotation.Assertions;
sAssetManager = assetManager;
}
/**
* Returns a Typeface for a given a FontFamily and style.
*/
public static Typeface getTypeface(String fontFamily, int style) {
Typeface[] cache = FONTFAMILY_CACHE.get(fontFamily);
if (cache == null) {