Skip to content

Commit

Permalink
Remove leftover code
Browse files Browse the repository at this point in the history
  • Loading branch information
Ostrzyciel committed Sep 17, 2024
1 parent d598489 commit 6411d77
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/main/scala/commands/PackageCommand.scala
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@ import util.io.*
import eu.ostrzyciel.jelly.core.proto.v1.PhysicalStreamType
import eu.ostrzyciel.jelly.core.{JellyOptions, LogicalStreamTypeFactory}
import eu.ostrzyciel.jelly.stream.{EncoderFlow, JellyIo}
import org.apache.jena.graph.GraphMemFactory
import org.apache.jena.rdf.model.{ModelFactory, Resource}
import org.apache.jena.riot.{Lang, RDFParser, RDFWriter}
import org.apache.jena.riot.lang.LabelToNode
import org.apache.jena.riot.system.{ErrorHandlerFactory, FactoryRDFStd, StreamRDFWriter}
import org.apache.jena.riot.{Lang, RDFParser, RDFWriter}
import org.apache.jena.sparql.core.{DatasetGraph, DatasetGraphFactory}
import org.apache.pekko.stream.*
import org.apache.pekko.stream.connectors.file.TarArchiveMetadata
Expand All @@ -28,8 +27,8 @@ import scala.concurrent.Future
import scala.jdk.CollectionConverters.*

object PackageCommand extends Command:
import eu.ostrzyciel.jelly.convert.jena.{*, given}
import RdfOrdering.given
import eu.ostrzyciel.jelly.convert.jena.{*, given}

sealed trait DistType(val weight: Int)
object DistType:
Expand All @@ -50,8 +49,6 @@ object PackageCommand extends Command:
val repoDir = FileSystems.getDefault.getPath(args(1))
val sourceArchiveFile = FileSystems.getDefault.getPath(args(2))
val outDir = FileSystems.getDefault.getPath(args(3))

GraphMemFactory.setDftGraphSameTerm(false)

val metadata = MetadataReader.read(repoDir)
val stats = new StatCounterSuite(metadata.elementCount)
Expand Down

0 comments on commit 6411d77

Please sign in to comment.