Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
sample program's WorkerThread.java has minor compiler error
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
 
Rich Johns  
View profile  
 More options Sep 6 2012, 11:01 am
From: Rich Johns <ridge.h...@gmail.com>
Date: Thu, 6 Sep 2012 08:01:51 -0700 (PDT)
Local: Thurs, Sep 6 2012 11:01 am
Subject: sample program's WorkerThread.java has minor compiler error

Just an FYI for java developers, In the jar set I downloaded  ~ a week ago
the WorkerThread.java file at line 210 uses the following line of code:

* if (HttpResponse.isSuccessStatusCode(response.getStatusCode())) {*

but should be:

*if (response.isSuccessStatusCode()) {*
*
*
*or *
*
*
* if (HttpStatusCodes.isSuccess(response.getStatusCode())) {**
*


 
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.
Daniel Hermes  
View profile  
 More options Sep 6 2012, 11:10 am
From: Daniel Hermes <dher...@google.com>
Date: Thu, 6 Sep 2012 08:10:15 -0700
Local: Thurs, Sep 6 2012 11:10 am
Subject: Re: sample program's WorkerThread.java has minor compiler error

Thanks Rich!

--
Daniel Hermes
Developer Programs Engineer

 
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.
Rich Johns  
View profile  
 More options Sep 6 2012, 11:55 am
From: Rich Johns <ridge.h...@gmail.com>
Date: Thu, 6 Sep 2012 08:55:51 -0700 (PDT)
Local: Thurs, Sep 6 2012 11:55 am
Subject: Re: sample program's WorkerThread.java has minor compiler error

another case of the same thing on line 260:

*if (!HttpResponse.isSuccessStatusCode(p.batchStatus.code)) {*
*
*
should be

*if (!HttpStatusCodes.isSuccess(p.batchStatus.code)) {*
*
*
Sorry for the piecemeal reporting, I'm actually reworking the sample into a
layer that better suits our architecture so I am not compiling the actual
sample code. Awesome to have this sample though, and once again much
obliged to google content api for shopping team.


 
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.
Daniel Hermes  
View profile  
 More options Sep 6 2012, 11:56 am
From: Daniel Hermes <dher...@google.com>
Date: Thu, 6 Sep 2012 08:56:29 -0700
Local: Thurs, Sep 6 2012 11:56 am
Subject: Re: sample program's WorkerThread.java has minor compiler error

Thanks for the support. We hope to make the sample even better in the near
term.

--
Daniel Hermes
Developer Programs Engineer

 
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 »