Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public static void populateUserProfile(HConnection connection, UserProfile userP
}

public static void populateValidationRules(HConnection connection, ValidationRules rules) throws Exception {
HTableInterface table = connection.getTable(HBaseTableMetaModel.profileCacheTableName);
HTableInterface table = connection.getTable(HBaseTableMetaModel.validationRulesTableName);

try {
Put put = new Put(HBaseTableMetaModel.validationRulesRowKey);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public ValidationRules(String jsonString) throws JSONException {

public ValidationRules(JSONObject jsonObject) throws JSONException {
if (jsonObject != null) {
JSONArray jsonArray = jsonObject.getJSONArray("bannedVanderIds");
JSONArray jsonArray = jsonObject.getJSONArray("bannedVanderIdSet");

for (int i = 0; i < jsonArray.length(); i++) {
String bannedId = jsonArray.getString(i);
Expand Down