@@ -116,7 +116,7 @@ class GridFSSpec extends RequiresMongoDBISpec with FuturesSpec {
116116 }
117117 //  scalastyle:on cyclomatic.complexity
118118
119-  private  def  actionGridFS (action : BsonDocument , assertion : BsonDocument ) {
119+  private  def  actionGridFS (action : BsonDocument , assertion : BsonDocument ):   Unit   =  {
120120 if  (! action.isEmpty) {
121121 action.getString(" operation" match  {
122122 case  " delete" =>  doDelete(action.getDocument(" arguments" 
@@ -128,7 +128,7 @@ class GridFSSpec extends RequiresMongoDBISpec with FuturesSpec {
128128 }
129129 }
130130
131-  private  def  doDelete (arguments : BsonDocument , assertion : BsonDocument ) {
131+  private  def  doDelete (arguments : BsonDocument , assertion : BsonDocument ):   Unit   =  {
132132 val  result  =  Try (gridFSBucket.map(_.delete(arguments.getObjectId(" id" 
133133 assertion.containsKey(" error" match  {
134134 case  true  =>  result should be a Symbol (" failure" 
@@ -168,7 +168,7 @@ class GridFSSpec extends RequiresMongoDBISpec with FuturesSpec {
168168 }
169169 }
170170
171-  private  def  doDownloadByName (arguments : BsonDocument , assertion : BsonDocument ) {
171+  private  def  doDownloadByName (arguments : BsonDocument , assertion : BsonDocument ):   Unit   =  {
172172 val  outputStream :  ByteArrayOutputStream  =  new  ByteArrayOutputStream 
173173 val  options :  GridFSDownloadOptions  =  new  GridFSDownloadOptions ()
174174 Option (arguments.get(" options" =>  options.revision(opts.asDocument().getInt32(" revision" 
@@ -187,7 +187,7 @@ class GridFSSpec extends RequiresMongoDBISpec with FuturesSpec {
187187 }
188188
189189 // scalastyle:off method.length
190-  private  def  doUpload (rawArguments : BsonDocument , assertion : BsonDocument ) {
190+  private  def  doUpload (rawArguments : BsonDocument , assertion : BsonDocument ):   Unit   =  {
191191
192192 val  arguments :  BsonDocument  =  parseHexDocument(rawArguments, " source" 
193193
0 commit comments