[JAVA-234] Discrepancy between "mapreduce" and "mapReduce" command name Created: 13/Dec/10  Updated: 22/Dec/10  Resolved: 13/Dec/10

Status: Closed
Project: Java Driver
Component/s: API
Affects Version/s: None
Fix Version/s: 2.4

Type: Improvement Priority: Major - P3
Reporter: Marc Esher Assignee: Eliot Horowitz (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Major Change

 Description   

When running db.listCommands, it shows "mapReduce" as the command name for mapReduce. However, the java driver for signature mapReduce(DBObject command) expects it as "mapreduce". Ideally it'd expect "mapReduce" since that's what the command prints. If it's too late for that, then please update the javadocs to provide a usage example



 Comments   
Comment by Eliot Horowitz (Inactive) [ 13/Dec/10 ]

Made either work as it does on the server.

Comment by auto [ 13/Dec/10 ]

Author:

{u'login': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: mapReduce or mapreduce JAVA-234
https://github.com/mongodb/mongo-java-driver/commit/c4bdf13ea5fe34338d8c794217d11484daabedc1

Generated at Thu Feb 08 08:51:48 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.