All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xsbt.Message.scala Maven / Gradle / Ivy

There is a newer version: 2.0.0-alpha14
Show newest version
/*
 * Zinc - The incremental compiler for Scala.
 * Copyright Lightbend, Inc. and Mark Harrah
 *
 * Licensed under Apache License 2.0
 * (http://www.apache.org/licenses/LICENSE-2.0).
 *
 * See the NOTICE file distributed with this work for
 * additional information regarding copyright ownership.
 */

package xsbt

import java.util.function.Supplier

object Message {
  def apply[T](s: => T): Supplier[T] = new Supplier[T] {
    override def get(): T = s
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy