First off, thanks for the great work on the API - it's really nice to
have a well written Java interface to Twitter.
I'm writing to point out a minor bug in the method Query.setGeoCode()
-- I believe that there is a missing argument. One should be able
to specify both the unit and size of the search radius. At present
one can only specify the unit (mi or km).
At present the method reads:
setGeoCode( double latitude, double longitude, String unit )
I would suggest:
setGeoCode( double latitude, double longitude, int size, String unit )
Would be great to be able to use this feature!
Thanks, Jesse
On a related note, the constants Query.MILES and Query.KILOMETERS
should be declared as static if you want users to pass them as
arguments to the setGeoCode() method - Eclipse does not recognize
them as valid arguments when they are simply declared as public.
On May 27, 6:23 pm, Jesse <jessegilb...@gmail.com> wrote:
> First off, thanks for the great work on the API - it's really nice to
> have a well written Java interface to Twitter.
> I'm writing to point out a minor bug in the method Query.setGeoCode()
> -- I believe that there is a missing argument. One should be able
> to specify both the unit and size of the search radius. At present
> one can only specify the unit (mi or km).
> At present the method reads:
> setGeoCode( double latitude, double longitude, String unit )
> I would suggest:
> setGeoCode( double latitude, double longitude, int size, String unit )
> Would be great to be able to use this feature!
> Thanks, Jesse
> On a related note, the constants Query.MILES and Query.KILOMETERS
> should be declared as static if you want users to pass them as
> arguments to the setGeoCode() method - Eclipse does not recognize
> them as valid arguments when they are simply declared as public.
> On May 27, 6:23 pm, Jesse <jessegilb...@gmail.com> wrote:
>> Hello -
>> First off, thanks for the great work on the API - it's really nice
>> to
>> have a well written Java interface to Twitter.
>> I'm writing to point out a minor bug in the method Query.setGeoCode()
>> -- I believe that there is a missing argument. One should be able
>> to specify both the unit and size of the search radius. At present
>> one can only specify the unit (mi or km).
>> At present the method reads:
>> setGeoCode( double latitude, double longitude, String unit )
>> I would suggest:
>> setGeoCode( double latitude, double longitude, int size, String
>> unit )
>> Would be great to be able to use this feature!
>> Thanks, Jesse
>> On a related note, the constants Query.MILES and Query.KILOMETERS
>> should be declared as static if you want users to pass them as
>> arguments to the setGeoCode() method - Eclipse does not recognize
>> them as valid arguments when they are simply declared as public.
>> On May 27, 6:23 pm, Jesse <jessegilb...@gmail.com> wrote:
>>> Hello -
>>> First off, thanks for the great work on the API - it's really nice
>>> to
>>> have a well written Java interface to Twitter.
>>> I'm writing to point out a minor bug in the method
>>> Query.setGeoCode()
>>> -- I believe that there is a missing argument. One should be able
>>> to specify both the unit and size of the search radius. At present
>>> one can only specify the unit (mi or km).
>>> At present the method reads:
>>> setGeoCode( double latitude, double longitude, String unit )
>>> I would suggest:
>>> setGeoCode( double latitude, double longitude, int size, String
>>> unit )
>>> Would be great to be able to use this feature!
>>> Thanks, Jesse