Skip to content

Commit

Permalink
511216: Support central USS OAuth login in MPC
Browse files Browse the repository at this point in the history
Fixed Java version issue

Bug: 511216
Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=511216
  • Loading branch information
creckord committed Mar 15, 2017
1 parent 8ee8c87 commit 07f9600
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ private static StorageConfigurer create() throws CoreException {
private static String[] getFactories() {
String[] factories = DEFAULT_FACTORIES;
String factoriesValue = System.getProperty(PROP_FACTORIES);
if (factoriesValue != null && !factoriesValue.isEmpty()) {
if (factoriesValue != null && factoriesValue.length() > 0) {
String[] givenFactories = factoriesValue.split("\\s+"); //$NON-NLS-1$
List<String> givenFactoriesList = new ArrayList<String>(Arrays.asList(givenFactories));
Set<String> supportedFactories = new HashSet<String>(Arrays.asList(DEFAULT_FACTORIES));
Expand Down

0 comments on commit 07f9600

Please sign in to comment.