@@ -71,9 +71,11 @@ class Session private[api](
7171 */
7272 @ throws[IllegalStateException ]
7373 def run [F , E , R ](
74- feeds : FeedMap = FeedMap .empty, fetches : F = Seq .empty[Output ],
75- targets : E = Traversable .empty[Op ], options : Option [RunOptions ] = None )
76- (implicit executable : Executable [E ], fetchable : Fetchable .Aux [F , R ]): R = {
74+ feeds : FeedMap = FeedMap .empty,
75+ fetches : F = Seq .empty[Output ],
76+ targets : E = Traversable .empty[Op ],
77+ options : Option [RunOptions ] = None
78+ )(implicit executable : Executable [E ], fetchable : Fetchable .Aux [F , R ]): R = {
7779 runHelper(feeds = feeds, fetches = fetches, targets = targets, options = options)._1
7880 }
7981
@@ -106,18 +108,23 @@ class Session private[api](
106108 */
107109 @ throws[IllegalStateException ]
108110 def runWithMetadata [F , E , R ](
109- feeds : FeedMap = FeedMap .empty, fetches : F = Seq .empty[Output ], targets : E = Traversable .empty[Op ],
110- options : Option [RunOptions ] = None )
111- (implicit executable : Executable [E ], fetchable : Fetchable .Aux [F , R ]): (R , Option [RunMetadata ]) = {
111+ feeds : FeedMap = FeedMap .empty,
112+ fetches : F = Seq .empty[Output ],
113+ targets : E = Traversable .empty[Op ],
114+ options : Option [RunOptions ] = None
115+ )(implicit executable : Executable [E ], fetchable : Fetchable .Aux [F , R ]): (R , Option [RunMetadata ]) = {
112116 runHelper(feeds = feeds, fetches = fetches, targets = targets, options = options, wantMetadata = true )
113117 }
114118
115119 /** Helper method for [[run ]] and [[runWithMetadata ]]. */
116120 @ throws[IllegalStateException ]
117121 private [api] def runHelper [F , E , R ](
118- feeds : FeedMap = FeedMap .empty, fetches : F = Seq .empty[Output ], targets : E = Traversable .empty[Op ],
119- options : Option [RunOptions ] = None , wantMetadata : Boolean = false )
120- (implicit executable : Executable [E ], fetchable : Fetchable .Aux [F , R ]): (R , Option [RunMetadata ]) = {
122+ feeds : FeedMap = FeedMap .empty,
123+ fetches : F = Seq .empty[Output ],
124+ targets : E = Traversable .empty[Op ],
125+ options : Option [RunOptions ] = None ,
126+ wantMetadata : Boolean = false
127+ )(implicit executable : Executable [E ], fetchable : Fetchable .Aux [F , R ]): (R , Option [RunMetadata ]) = {
121128 if (nativeHandle == 0 )
122129 throw new IllegalStateException (" This session has already been closed." )
123130 // TODO: !!! [JNI] Add a call to 'extend' once some JNI issues are resolved.
0 commit comments