added few todos for future

This commit is contained in:
Akarshit Wal
2015-11-01 04:23:48 +05:30
parent 0b2be5be9b
commit f71760187e
2 changed files with 3 additions and 0 deletions

View File

@@ -51,6 +51,8 @@ public class ContributionListing {
List<AvailableContribution> advertisedContributions;
Map<String, List<Contribution>> librariesByCategory;
Map<String, Contribution> librariesByImportHeader;
// TODO: Every contribution is getting added twice
// and nothing is replaced ever.
List<Contribution> allContributions;
boolean listDownloaded;
boolean listDownloadFailed;

View File

@@ -526,6 +526,7 @@ implements Scrollable, ContributionListing.ChangeListener {
}
}
}
// TODO: Make the following loop work for optimization
// for (Contribution contribution : filteredContributions) {
// if (contribution.getType() == contributionTab.contribType) {
// if(panelByContribution.keySet().contains(contribution)){