Style: do not use return
authorChristos KK Loverdos <loverdos@gmail.com>
Mon, 9 Jan 2012 15:47:42 +0000 (17:47 +0200)
committerChristos KK Loverdos <loverdos@gmail.com>
Mon, 9 Jan 2012 15:47:42 +0000 (17:47 +0200)
src/main/scala/gr/grnet/aquarium/user/actor/UserActor.scala

index 71ae937..2e8936a 100644 (file)
@@ -277,10 +277,9 @@ class UserActor extends AquariumActor with Loggable with Accounting {
     }
   }
 
-  private[this] def findRelatedEntries(res: DSLResource,
-                                       instid: String): List[WalletEntry] = {
+  private[this] def findRelatedEntries(res: DSLResource, instid: String): List[WalletEntry] = {
     val walletDB = _configurator.storeProvider.walletEntryStore
-    return walletDB.findPreviousEntry(_userId, res.name, instid, Some(false))
+    walletDB.findPreviousEntry(_userId, res.name, instid, Some(false))
   }