Skip to content

Commit 5a179f5

Browse files
committed
Minor change to avoid unecessary conversion from eventual immutable string 8 to string 8.
1 parent f099a70 commit 5a179f5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

library/server/wsf/router/documentation/wsf_router_self_documentation_message.e

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ feature {WSF_RESPONSE} -- Output
9898
local
9999
h: HTTP_HEADER
100100
l_description: STRING_8
101-
l_base_url: STRING_8
102-
l_api_resource: detachable STRING_8
101+
l_base_url: READABLE_STRING_8
102+
l_api_resource: detachable READABLE_STRING_8
103103
do
104104
create h.make
105105
h.put_content_type_text_html
@@ -132,7 +132,7 @@ feature {WSF_RESPONSE} -- Output
132132
if attached router.base_url as u then
133133
l_base_url := u
134134
else
135-
create l_base_url.make_empty
135+
create {STRING_8} l_base_url.make_empty
136136
end
137137

138138
debug
@@ -324,7 +324,7 @@ feature {NONE} -- Implementation
324324
end
325325

326326
note
327-
copyright: "2011-2013, Jocelyn Fiat, Javier Velilla, Olivier Ligot, Eiffel Software and others"
327+
copyright: "2011-2014, Jocelyn Fiat, Javier Velilla, Olivier Ligot, Colin Adams, Eiffel Software and others"
328328
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
329329
source: "[
330330
Eiffel Software

0 commit comments

Comments
 (0)