Minor change to avoid unecessary conversion from eventual immutable string 8 to string 8.
This commit is contained in:
@@ -98,8 +98,8 @@ feature {WSF_RESPONSE} -- Output
|
|||||||
local
|
local
|
||||||
h: HTTP_HEADER
|
h: HTTP_HEADER
|
||||||
l_description: STRING_8
|
l_description: STRING_8
|
||||||
l_base_url: STRING_8
|
l_base_url: READABLE_STRING_8
|
||||||
l_api_resource: detachable STRING_8
|
l_api_resource: detachable READABLE_STRING_8
|
||||||
do
|
do
|
||||||
create h.make
|
create h.make
|
||||||
h.put_content_type_text_html
|
h.put_content_type_text_html
|
||||||
@@ -132,7 +132,7 @@ feature {WSF_RESPONSE} -- Output
|
|||||||
if attached router.base_url as u then
|
if attached router.base_url as u then
|
||||||
l_base_url := u
|
l_base_url := u
|
||||||
else
|
else
|
||||||
create l_base_url.make_empty
|
create {STRING_8} l_base_url.make_empty
|
||||||
end
|
end
|
||||||
|
|
||||||
debug
|
debug
|
||||||
@@ -324,7 +324,7 @@ feature {NONE} -- Implementation
|
|||||||
end
|
end
|
||||||
|
|
||||||
note
|
note
|
||||||
copyright: "2011-2013, Jocelyn Fiat, Javier Velilla, Olivier Ligot, Eiffel Software and others"
|
copyright: "2011-2014, Jocelyn Fiat, Javier Velilla, Olivier Ligot, Colin Adams, Eiffel Software and others"
|
||||||
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
|
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
|
||||||
source: "[
|
source: "[
|
||||||
Eiffel Software
|
Eiffel Software
|
||||||
|
|||||||
Reference in New Issue
Block a user