Skip to content

Commit

Permalink
Issue #40: fixing checkstyle warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
sriramkrishnan committed Oct 31, 2013
1 parent 34e76ea commit 3d25833
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,9 @@ public Response submitJob(JobInfoRequest request,

// set the clientHost, if it is not overridden already
JobInfoElement jobInfo = request.getJobInfo();
if ((jobInfo != null) &&
((jobInfo.getClientHost() == null) ||
jobInfo.getClientHost().isEmpty())) {
if ((jobInfo != null)
&& ((jobInfo.getClientHost() == null)
|| jobInfo.getClientHost().isEmpty())) {
jobInfo.setClientHost(clientHost);
}

Expand Down

0 comments on commit 3d25833

Please sign in to comment.