Skip to content
This repository was archived by the owner on Feb 25, 2022. It is now read-only.
Open
9 changes: 1 addition & 8 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,4 @@ proguard/
Thumbs.db

# Intellij IDEA (see https://intellij-support.jetbrains.com/entries/23393067)
.idea/workspace.xml
.idea/tasks.xml
.idea/datasources.xml
.idea/dataSources.ids
.idea/libraries
.idea/caches
.idea/gradle.xml

.idea*
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ private static void showErrorNotification(Context context, Throwable e) {

private static String[] getUsedAttributes(SharedPreferences preferences) {
ArrayList<String> ldapAttributes = new ArrayList<String>();
String[] ldapArray = new String[preferences.getAll().size()];
String[] ldapArray = new String[preferences.getAll().size() - 2];
for (String key : preferences.getAll().keySet()) {
if (!(key.equals("baseDN") || key.equals("searchFilter")))
ldapAttributes.add(preferences.getString(key, ""));
Expand Down