ews-java-api icon indicating copy to clipboard operation
ews-java-api copied to clipboard

EwsUtilities.getPrintableTypeName() is completely broken

Open Noblebrown opened this issue 12 years ago • 2 comments

It appears that EwsUtilities.getPrintableTypeName() is supposed to nicely print "List" instead of the usual debug output, but it winds up throwing Exceptions instead. I'm not even going to try describing what this method was attempting to reach this goal, but needless to say, it doesn't work at all. Either this should be implemented correctly if possible or removed entirely.

Noblebrown avatar Sep 02 '14 15:09 Noblebrown

From what I see, it is only used in two errormessages. And yes. it seems to be completely broken. I'll have a look at it.

ahaarrestad avatar Feb 03 '15 09:02 ahaarrestad

+1 for complete deletion of this thing since it seems to do a lot of expensive work for only one simple message. Maybe we can just think of another suitable error-message?

serious6 avatar Feb 03 '15 21:02 serious6