https://issues.apache.org/bugzilla/show_bug.cgi?id=49696

--- Comment #5 from Joshua Marquart <[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to