I'm about to commit some documentation stuff in S.scala, so I can just
modify it now.

Derek

On Tue, Jul 14, 2009 at 4:05 PM, David Pollak <[email protected]
> wrote:

>
>
> On Tue, Jul 14, 2009 at 3:04 PM, Derek Chen-Becker 
> <[email protected]>wrote:
>
>> This looks a little suspicious:
>>
>>   /**
>>    * The host that the request was made on
>>    */
>>   def hostName: String = servletRequest.map(_.getServerName).openOr("
>> nowhere_123.com")
>>
>> Is there a reason that this wouldn't be configured to just return a Box?
>
>
> Because it was written in 2006 before I understood boxes and options...
> darned legacy.
>
>
>>
>>
>> Derek
>>
>>
>>
>
>
> --
> Lift, the simply functional web framework http://liftweb.net
> Beginning Scala http://www.apress.com/book/view/1430219890
> Follow me: http://twitter.com/dpp
> Git some: http://github.com/dpp
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to