Emmanuel Lecharny schrieb: > Felix Knecht wrote: >> Without knowing the exact context ... >> >> Why is the method definition of return type Object and not String? >> Wouldn't it be better to be as specific as possible? >> > Because we can deal with either String or byte[], so we use Object > instead. This can be re-evaluated, as now we are using Value<T> instead. >
But what you return is 'String strValue'. I'm talking about the returned type not the parameter.
