com.github.aschet.spdx.expression.LicenseSetFactoryImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spdx-license-expression-tools Show documentation
Show all versions of spdx-license-expression-tools Show documentation
A library that provides various operations for SPDX license expressions.
The newest version!
/**
* Copyright 2017 Thomas Ascher
* SPDX-License-Identifier: Apache-2.0
*/
package com.github.aschet.spdx.expression;
import java.util.Collection;
import org.spdx.rdfparser.license.AnyLicenseInfo;
import org.spdx.rdfparser.license.LicenseSet;
/**
* Common base class for concrete for all implementations derived from
* {@link LicenseSet}.
*
* @author Thomas Ascher
*/
abstract class LicenseSetFactoryImpl implements LicenseSetFactory {
@Override
public LicenseSet create(final Collection expressions) {
return create(Utils.toArray(expressions));
}
}