mirror of
https://github.com/twitter/the-algorithm.git
synced 2025-01-07 01:48:16 +01:00
Merge 8117b5adbd
into fb54d8b549
This commit is contained in:
commit
f803e0aad6
@ -200,10 +200,10 @@ public class FeatureUpdateController implements FeatureUpdateService.ServiceIfac
|
||||
}
|
||||
|
||||
private List<PenguinVersion> getPenguinVersions(String penguinVersionsStr) {
|
||||
String[] tokens = penguinVersionsStr.split("\\s*,\\s*");
|
||||
String[] tokens = penguinVersionsStr.split(",");
|
||||
List<PenguinVersion> listOfPenguinVersions = Lists.newArrayListWithCapacity(tokens.length);
|
||||
for (String token : tokens) {
|
||||
listOfPenguinVersions.add(PenguinVersion.valueOf(token.toUpperCase()));
|
||||
listOfPenguinVersions.add(PenguinVersion.valueOf(token.trim().toUpperCase()));
|
||||
}
|
||||
LOG.info(String.format("Using Penguin Versions: %s", listOfPenguinVersions));
|
||||
return listOfPenguinVersions;
|
||||
|
Loading…
Reference in New Issue
Block a user