Skip to content

Commit

Permalink
[android] fixed compile error for java versions < 1.7
Browse files Browse the repository at this point in the history
when diamond operator is not supported
  • Loading branch information
i1E committed Feb 8, 2018
1 parent 3dbc4bb commit 5b572b9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,10 @@ public class BlinkIdScanner extends CordovaPlugin {
private static CallbackContext sCallbackContext;

private static Map<String, Class<? extends BaseRecognitionResult>>
sFullDocumentImageResultTypes = new HashMap<>();
sFullDocumentImageResultTypes = new HashMap<String, Class<? extends BaseRecognitionResult>>();

private static Map<String, Class<? extends BaseRecognitionResult>>
sFaceImageResultTypes = new HashMap<>();
sFaceImageResultTypes = new HashMap<String, Class<? extends BaseRecognitionResult>>();

/**
* Constructor.
Expand Down

0 comments on commit 5b572b9

Please sign in to comment.