src/Pure/Tools/build_job.scala
changeset 77450 167b5095ba14
parent 77445 080f76d138ed
child 77451 0093124710db
--- a/src/Pure/Tools/build_job.scala	Wed Mar 01 15:41:56 2023 +0100
+++ b/src/Pure/Tools/build_job.scala	Wed Mar 01 15:43:38 2023 +0100
@@ -40,12 +40,6 @@
   /* build session */
 
   object Session_Context {
-    def init(name: String,
-      deps: List[String],
-      ancestors: List[String],
-      timeout: Time
-    ): Session_Context = new Session_Context(name, deps, ancestors, timeout, Time.zero, Bytes.empty)
-
     def load(
       name: String,
       deps: List[String],
@@ -54,7 +48,8 @@
       store: Sessions.Store,
       progress: Progress = new Progress
     ): Session_Context = {
-      def default: Session_Context = init(name, deps, ancestors, timeout)
+      def default: Session_Context =
+        new Session_Context(name, deps, ancestors, timeout, Time.zero, Bytes.empty)
 
       store.try_open_database(name) match {
         case None => default