Skip to content

Commit

Permalink
Merge pull request #535 from F43nd1r/collections
Browse files Browse the repository at this point in the history
Fixed iteration order mixed
  • Loading branch information
F43nd1r authored Dec 20, 2016
2 parents 2d47156 + 7e2621e commit c9d8e34
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/org/acra/config/ConfigurationBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
import java.util.EnumMap;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedHashSet;
import java.util.Map;
import java.util.Set;

Expand Down Expand Up @@ -890,7 +891,7 @@ int connectionTimeout() {

@NonNull
Set<ReportField> reportContent() {
final Set<ReportField> reportContent = new HashSet<ReportField>();
final Set<ReportField> reportContent = new LinkedHashSet<ReportField>();
if (customReportContent != null && customReportContent.length != 0) {
if (ACRA.DEV_LOGGING) ACRA.log.d(LOG_TAG, "Using custom Report Fields");
reportContent.addAll(Arrays.asList(customReportContent));
Expand Down

0 comments on commit c9d8e34

Please sign in to comment.