Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

javadoc error at GearmanClient line 46 #10

Open
Jovons opened this issue Mar 30, 2017 · 1 comment
Open

javadoc error at GearmanClient line 46 #10

Jovons opened this issue Mar 30, 2017 · 1 comment

Comments

@Jovons
Copy link

Jovons commented Mar 30, 2017

[ERROR] Exit code: 1 - /home/xxx/gearman/java-service-master/src/main/java/org/gearman/GearmanClient.java:46: error: exception not thrown: java.io.IOException
[ERROR] * @throws IOException

Change the current javadoc into:
/**
* Polls for the job status. This is a blocking operation. The current thread may block and wait
* for the operation to complete
* @param jobHandle
* The job handle of the of the job in question.
* @return
* The job status of the job in question.
*/
public GearmanJobStatus getStatus(byte[] jobHandle);
Because it does not throw any exception.

@penzeliz
Copy link

Fixed that in #11 - I have no hopes contributors will update this repo, but who knows :)

You can use this fork meanwhile... https://github.com/penzeliz/java-service

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants