Skip to content

Commit

Permalink
Remove an unused Set
Browse files Browse the repository at this point in the history
  • Loading branch information
joeha480 committed Mar 11, 2019
1 parent 56a981d commit e9ea0e9
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/org/daisy/dotify/formatter/impl/tasks/LayoutEngineFactory.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import org.daisy.dotify.api.engine.FormatterEngineMaker;
import org.daisy.dotify.api.writer.PagedMediaWriterFactoryMaker;
import org.daisy.dotify.api.writer.PagedMediaWriterFactoryMakerService;
import org.daisy.streamline.api.media.FormatIdentifier;
import org.daisy.streamline.api.tasks.TaskGroup;
import org.daisy.streamline.api.tasks.TaskGroupFactory;
import org.daisy.streamline.api.tasks.TaskGroupInformation;
Expand All @@ -27,7 +26,6 @@
@Component
public class LayoutEngineFactory implements TaskGroupFactory {
private static final String LOCALE = "sv-SE";
private final Set<TaskGroupSpecification> supportedSpecifications;
private final Set<TaskGroupInformation> information;
private PagedMediaWriterFactoryMakerService pmw;
private FormatterEngineFactoryService fe;
Expand All @@ -37,15 +35,6 @@ public class LayoutEngineFactory implements TaskGroupFactory {
* Creates a new layout engine factory.
*/
public LayoutEngineFactory() {
supportedSpecifications = new HashSet<>();
supportedSpecifications.add(new TaskGroupSpecification.Builder(FormatIdentifier.with("obfl"), FormatIdentifier.with(Keys.PEF_FORMAT), LOCALE).build());
supportedSpecifications.add(new TaskGroupSpecification.Builder(FormatIdentifier.with("obfl"), FormatIdentifier.with(Keys.TEXT_FORMAT), LOCALE).build());
supportedSpecifications.add(new TaskGroupSpecification.Builder(FormatIdentifier.with("obfl"), FormatIdentifier.with(Keys.TEXT_FORMAT), "en-US").build());
supportedSpecifications.add(new TaskGroupSpecification.Builder(FormatIdentifier.with("obfl"), FormatIdentifier.with(Keys.TEXT_FORMAT), "no-NO").build());
supportedSpecifications.add(new TaskGroupSpecification.Builder(FormatIdentifier.with("obfl"), FormatIdentifier.with(Keys.TEXT_FORMAT), "de").build());
supportedSpecifications.add(new TaskGroupSpecification.Builder(FormatIdentifier.with("obfl"), FormatIdentifier.with(Keys.TEXT_FORMAT), "de-DE").build());
supportedSpecifications.add(new TaskGroupSpecification.Builder(FormatIdentifier.with("obfl"), FormatIdentifier.with(Keys.TEXT_FORMAT), "da").build());
supportedSpecifications.add(new TaskGroupSpecification.Builder(FormatIdentifier.with("obfl"), FormatIdentifier.with(Keys.TEXT_FORMAT), "da-DK").build());
Set<TaskGroupInformation> tmp = new HashSet<>();
tmp.add(TaskGroupInformation.newConvertBuilder("obfl", Keys.PEF_FORMAT).locale(LOCALE).build());
tmp.add(TaskGroupInformation.newConvertBuilder("obfl", Keys.TEXT_FORMAT).build());
Expand Down

0 comments on commit e9ea0e9

Please sign in to comment.