xmlgraphics-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49696] Default ImageWriterRegistry instance register method does not override image writers
Date Tue, 07 Sep 2010 22:08:26 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49696

--- Comment #5 from Joshua Marquart <joshua.marquart@firstdata.com> 2010-09-07 18:08:23
EDT ---
(In reply to comment #4)

I think you misunderstood the question, Jeremias.

We understand that assigning a class implementation as the interface (assigning
a HashMap to Map) is a core Java Best Practice.

What the initial question (which is really not that important) is:

Why was the following code used:

Map mapObject = new java.util.HashMap();

instead of

import java.util.HashMap;

Map mapObject = new HashMap();

Was there a benefit to doing this, and if so, what is it because we're openly
curious and would probably apply the practice of not using "import" in our own
code if there was a benefit.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: general-help@xmlgraphics.apache.org


Mime
View raw message