tabs to spaces
This commit is contained in:
parent
1b37b9d3ef
commit
ba258e6a1c
2 changed files with 4 additions and 4 deletions
|
|
@ -315,7 +315,7 @@ class RootEndpoint extends Actor with Endpoint {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Basic description of the suspended async http request.
|
* Basic description of the suspended async http request.
|
||||||
* Must be mixed with some kind of specific support (e.g. servlet 3.0 or jetty continuations)
|
* Must be mixed with some kind of specific support (e.g. servlet 3.0 or jetty continuations)
|
||||||
*
|
*
|
||||||
* @author Garrick Evans
|
* @author Garrick Evans
|
||||||
*/
|
*/
|
||||||
|
|
@ -360,8 +360,8 @@ trait RequestMethod extends Logging
|
||||||
def getHeaderOrElse(name: String, default: Function[Any, String]): String =
|
def getHeaderOrElse(name: String, default: Function[Any, String]): String =
|
||||||
request.getHeader(name) match {
|
request.getHeader(name) match {
|
||||||
case null => default(null)
|
case null => default(null)
|
||||||
case s => s
|
case s => s
|
||||||
}
|
}
|
||||||
|
|
||||||
def getParameterOrElse(name: String, default: Function[Any, String]): String =
|
def getParameterOrElse(name: String, default: Function[Any, String]): String =
|
||||||
request.getParameter(name) match {
|
request.getParameter(name) match {
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,7 @@ object ServerInitiatedRemoteSessionActorSpec {
|
||||||
|
|
||||||
def receive = {
|
def receive = {
|
||||||
case Login(user) =>
|
case Login(user) =>
|
||||||
this.user = user
|
this.user = user
|
||||||
case GetUser() =>
|
case GetUser() =>
|
||||||
self.reply(this.user)
|
self.reply(this.user)
|
||||||
case DoSomethingFunny() =>
|
case DoSomethingFunny() =>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue