Removed implicit conversion from HTTP_CONTENT_TYPE to STRING_8

because it could be a source of bug due to hidden conversion (and parameters)
Applied changes to autotest cases
Cosmetic
This commit is contained in:
Jocelyn Fiat
2012-05-02 11:35:53 +02:00
parent 7c95e514ad
commit 18ced46c99
7 changed files with 46 additions and 10 deletions

View File

@@ -16,8 +16,7 @@ create
make_from_string
convert
make_from_string ({READABLE_STRING_8, STRING_8, IMMUTABLE_STRING_8}),
string: {READABLE_STRING_8}
make_from_string ({READABLE_STRING_8, STRING_8, IMMUTABLE_STRING_8})
feature -- Access

View File

@@ -41,8 +41,7 @@ create
make_from_string
convert
make_from_string ({READABLE_STRING_8, STRING_8, IMMUTABLE_STRING_8}),
string: {READABLE_STRING_8}
make_from_string ({READABLE_STRING_8, STRING_8, IMMUTABLE_STRING_8})
feature {NONE} -- Initialization
@@ -227,7 +226,7 @@ feature -- Status report
end
same_simple_type (s: READABLE_STRING_8): BOOLEAN
-- Current has same type/subtype string representation as `s'?
-- Current has same type/subtype string representation as `s'?
do
Result := simple_type.same_string (s)
end