File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
scalapbc/src/main/scala/scalapb Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ import java.io.File
55import protocbridge .{ProtocBridge , ProtocCodeGenerator }
66import coursier .parse .DependencyParser
77import coursier .core .Configuration
8- import com .github .ghik .silencer .silent
98import coursier .core .Dependency
109import java .net .URLClassLoader
1110import java .util .jar .JarInputStream
@@ -73,7 +72,6 @@ object ScalaPBC {
7372 .cfg
7473 }
7574
76- @ silent(" method right in class Either is deprecated" )
7775 def fetchArtifact (artifact : String ): Either [String , (Dependency , Seq [File ])] = {
7876 import coursier ._
7977 for {
@@ -83,7 +81,6 @@ object ScalaPBC {
8381 scala.util.Properties .versionNumberString,
8482 Configuration .empty
8583 )
86- .right
8784 runResult = Fetch ().addDependencies(dep).run()
8885 outcome <-
8986 if (runResult.isEmpty) Left (s " Could not find artifact for $artifact" )
@@ -122,7 +119,6 @@ object ScalaPBC {
122119 }
123120 }
124121
125- @ silent(" method right in class Either is deprecated" )
126122 private [scalapb] def runProtoc (config : Config ): Int = {
127123 if (
128124 config.namedGenerators
You can’t perform that action at this time.
0 commit comments