Skip to content

Commit

Permalink
Remove SetBuilder
Browse files Browse the repository at this point in the history
Reviewed By: AaaChiuuu

Differential Revision: D5237184

fbshipit-source-id: dde09febd0d4a5a42a62c7c6fbda3e6713d26152
  • Loading branch information
javache authored and facebook-github-bot committed Jun 14, 2017
1 parent 7464d5e commit 559805d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 28 deletions.

This file was deleted.

Expand Up @@ -25,7 +25,6 @@
import com.facebook.react.bridge.WritableArray;
import com.facebook.react.bridge.WritableMap;
import com.facebook.react.common.ReactConstants;
import com.facebook.react.common.SetBuilder;
import com.facebook.react.module.annotations.ReactModule;
import com.facebook.react.modules.common.ModuleDataCleaner;

Expand Down Expand Up @@ -95,7 +94,7 @@ protected void doInBackgroundGuarded(Void... params) {
}

String[] columns = {KEY_COLUMN, VALUE_COLUMN};
HashSet<String> keysRemaining = SetBuilder.newHashSet();
HashSet<String> keysRemaining = new HashSet<>();
WritableArray data = Arguments.createArray();
for (int keyStart = 0; keyStart < keys.size(); keyStart += MAX_SQL_KEYS) {
int keyCount = Math.min(keys.size() - keyStart, MAX_SQL_KEYS);
Expand Down

0 comments on commit 559805d

Please sign in to comment.