Skip to content

Commit

Permalink
Fixes #16492: We use not the correct InputStream at several place
Browse files Browse the repository at this point in the history
  • Loading branch information
fanf committed Jan 7, 2020
1 parent f25b9ee commit c799780
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
Expand Up @@ -36,6 +36,7 @@

package com.normation.inventory.provisioning.fusion

import java.io.InputStream
import java.security.Security

import com.normation.errors._
Expand All @@ -54,8 +55,6 @@ import org.specs2.mutable._
import org.specs2.runner._
import zio._

import scala.tools.nsc.interpreter.InputStream

@RunWith(classOf[JUnitRunner])
class TestSignatureService extends Specification with Loggable {

Expand Down
Expand Up @@ -55,8 +55,6 @@ import zio.syntax._
import zio.duration._
import com.normation.zio._

import scala.tools.nsc.interpreter.InputStream

final class Watchers(incoming: FileMonitor, updates: FileMonitor) {
def start()(implicit executionContext: ExecutionContext): Either[Throwable, Unit] = {
try {
Expand Down
Expand Up @@ -37,6 +37,7 @@

package com.normation.rudder.inventory

import java.io.InputStream
import java.security.{PublicKey => JavaSecPubKey}

import com.normation.NamedZioLogger
Expand All @@ -61,8 +62,6 @@ import org.joda.time.format.PeriodFormat
import zio._
import zio.syntax._

import scala.tools.nsc.interpreter.InputStream

object InventoryProcessingLogger extends NamedZioLogger {
override def loggerName: String = "inventory-processing"
}
Expand Down

0 comments on commit c799780

Please sign in to comment.