Removed WSF_ROUTING_HANDLER.make_with_router (a_router)

It was not used in existing code, and potentially dangerous, if coder reuses router by accident.
This commit is contained in:
2013-08-20 13:15:37 +02:00
parent 8d9dca1a94
commit 9958bb27a1
8 changed files with 15 additions and 27 deletions

View File

@@ -16,8 +16,7 @@ inherit
end end
create create
make, make
make_with_router
feature -- Execution feature -- Execution
@@ -29,7 +28,7 @@ feature -- Execution
end end
note note
copyright: "2011-2012, Jocelyn Fiat, Javier Velilla, Olivier Ligot, Eiffel Software and others" copyright: "2011-2013, Jocelyn Fiat, Javier Velilla, Olivier Ligot, 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

View File

@@ -13,11 +13,10 @@ inherit
WSF_URI_HANDLER WSF_URI_HANDLER
create create
make, make
make_with_router
note note
copyright: "2011-2012, Jocelyn Fiat, Javier Velilla, Olivier Ligot, Eiffel Software and others" copyright: "2011-2013, Jocelyn Fiat, Javier Velilla, Olivier Ligot, 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

View File

@@ -13,11 +13,10 @@ inherit
WSF_URI_TEMPLATE_HANDLER WSF_URI_TEMPLATE_HANDLER
create create
make, make
make_with_router
note note
copyright: "2011-2012, Jocelyn Fiat, Javier Velilla, Olivier Ligot, Eiffel Software and others" copyright: "2011-2013, Jocelyn Fiat, Javier Velilla, Olivier Ligot, 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

View File

@@ -12,14 +12,9 @@ inherit
feature {NONE} -- Initialization feature {NONE} -- Initialization
make_with_router (a_router: like router)
do
router := a_router
end
make (n: INTEGER) make (n: INTEGER)
do do
make_with_router (create {like router}.make (n)) create router.make (n)
end end
feature -- Access feature -- Access

View File

@@ -16,8 +16,7 @@ inherit
end end
create create
make, make
make_with_router
feature -- Execution feature -- Execution
@@ -27,7 +26,7 @@ feature -- Execution
end end
note note
copyright: "2011-2012, Jocelyn Fiat, Javier Velilla, Olivier Ligot, Eiffel Software and others" copyright: "2011-2013, Jocelyn Fiat, Javier Velilla, Olivier Ligot, 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

View File

@@ -18,8 +18,7 @@ inherit
end end
create create
make, make
make_with_router
feature -- Execution feature -- Execution
@@ -31,7 +30,7 @@ feature -- Execution
end end
note note
copyright: "2011-2012, Jocelyn Fiat, Javier Velilla, Olivier Ligot, Eiffel Software and others" copyright: "2011-2013, Jocelyn Fiat, Javier Velilla, Olivier Ligot, 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

View File

@@ -18,8 +18,7 @@ inherit
end end
create create
make, make
make_with_router
feature -- Execution feature -- Execution
@@ -31,7 +30,7 @@ feature -- Execution
end end
note note
copyright: "2011-2012, Jocelyn Fiat, Javier Velilla, Olivier Ligot, Eiffel Software and others" copyright: "2011-2013, Jocelyn Fiat, Javier Velilla, Olivier Ligot, 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

View File

@@ -15,8 +15,7 @@ inherit
end end
create create
make, make
make_with_router
feature -- Execution feature -- Execution
@@ -26,7 +25,7 @@ feature -- Execution
end end
note note
copyright: "2011-2012, Jocelyn Fiat, Javier Velilla, Olivier Ligot, Eiffel Software and others" copyright: "2011-2013, Jocelyn Fiat, Javier Velilla, Olivier Ligot, 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