zcwease / guava-libraries

Automatically exported from code.google.com/p/guava-libraries
Apache License 2.0
0 stars 0 forks source link

com.google.common.util.concurrent.Executors should be renamed to Executors2 #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Given that the functionality of com.google.common.util.concurrent.Executors
is (from my inspection, anyway) supposed to complement that of
java.util.concurrent.Executors, it's reasonable to expect to import both
classes together.

Thus, in order to reduce import conflicts, using a name like Executors2
should be considered, in line with how Google Collections has a
Collections2 that complements java.util.Collections.

Original issue reported on code.google.com by cky944 on 13 Nov 2009 at 4:26

GoogleCodeExporter commented 9 years ago
You're absolutely right; this has always bothered me, but it slipped my mind.

Original comment by kevinb@google.com on 5 Jan 2010 at 7:41

GoogleCodeExporter commented 9 years ago
The plan is to rename this com.google.common.util.concurrent.MoreExecutors

Original comment by kurt.kluever on 7 Apr 2010 at 3:43

GoogleCodeExporter commented 9 years ago
MoreExecutors added and Executors deprecated for release 3.

Original comment by kevinb@google.com on 9 Apr 2010 at 3:59

GoogleCodeExporter commented 9 years ago
Just curious why the naming convention for MoreExecutors differs from 
Collections2?

Is there a preferred convention (i.e., why not MoreCollections or Executors2)? 

Original comment by ori.schw...@gmail.com on 12 Dec 2011 at 5:18

GoogleCodeExporter commented 9 years ago
I presume it's because Collections2 was a naming mistake, but one that's too 
late to change. Of course, I'd love to hear from the horse's mouth, too. :-)

Original comment by cky944 on 12 Dec 2011 at 6:36

GoogleCodeExporter commented 9 years ago
Yep, cky944 has it right...we sort of regret naming it Collections2, but we're 
stuck with it.

Original comment by kak@google.com on 12 Dec 2011 at 6:40

GoogleCodeExporter commented 9 years ago
This issue has been migrated to GitHub.

It can be found at https://github.com/google/guava/issues/<id>

Original comment by cgdecker@google.com on 1 Nov 2014 at 4:16

GoogleCodeExporter commented 9 years ago

Original comment by cgdecker@google.com on 3 Nov 2014 at 9:10