ack, some ugly code here

This commit is contained in:
Ben Fry
2018-01-05 15:03:12 -05:00
parent e71fb7f966
commit ae50380272
@@ -637,6 +637,12 @@ public class ContributionManager {
List<String> updateContribsNames = new ArrayList<>();
List<AvailableContribution> updateContribsList = new LinkedList<>();
// TODO This is bad code... This root.getName() stuff to get the folder
// type, plus "libraries.properties" (not the correct file name),
// and I have no idea what "putting this here, in just in case" means.
// Not sure the function here so I'm not fixing it at the moment,
// but this whole function could use some cleaning. [fry 180105]
String type = root.getName().substring(root.getName().lastIndexOf('/') + 1);
String propFileName = null;