Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
bug in Query.setGeoCode()
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Jesse  
View profile  
 More options May 27, 9:23 pm
From: Jesse <jessegilb...@gmail.com>
Date: Wed, 27 May 2009 18:23:30 -0700 (PDT)
Local: Wed, May 27 2009 9:23 pm
Subject: bug in Query.setGeoCode()
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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jesse  
View profile  
 More options May 27, 9:32 pm
From: Jesse <jessegilb...@gmail.com>
Date: Wed, 27 May 2009 18:32:19 -0700 (PDT)
Local: Wed, May 27 2009 9:32 pm
Subject: Re: bug in Query.setGeoCode()

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:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Yusuke Yamamoto  
View profile  
 More options May 28, 3:17 am
From: Yusuke Yamamoto <yus...@mac.com>
Date: Thu, 28 May 2009 16:17:08 +0900
Local: Thurs, May 28 2009 3:17 am
Subject: Re: [Twitter4J] Re: bug in Query.setGeoCode()
Thanks for the report.

I'll fix it soon.
http://yusuke.homeip.net/jira/browse/TFJ-158
--  
Yusuke Yamamoto
yus...@mac.com

this email is: [x] bloggable [ ] ask first [ ] private
follow me on : http://twitter.com/yusukeyamamoto

On 2009/05/28, at 10:32, Jesse wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Yusuke Yamamoto  
View profile  
 More options May 28, 9:38 am
From: Yusuke Yamamoto <yus...@mac.com>
Date: Thu, 28 May 2009 22:38:22 +0900
Local: Thurs, May 28 2009 9:38 am
Subject: Re: [Twitter4J] Re: bug in Query.setGeoCode()
Fixed.
see the diff:
http://yusuke.homeip.net/fisheye/changelog/svn?cs=313
download the latest build:
http://yusuke.homeip.net/hudson/job/Twitter4J/189/net.homeip.yusuke$t...

Cheers,
--  
Yusuke Yamamoto
yus...@mac.com

this email is: [x] bloggable [ ] ask first [ ] private
follow me on : http://twitter.com/yusukeyamamoto

On 2009/05/28, at 16:17, Yusuke Yamamoto wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google