Skip to content

Commit

Permalink
Checking for inputstream availability does not work here; so we alway…
Browse files Browse the repository at this point in the history
…s return null
  • Loading branch information
slacmshankar committed Jul 5, 2024
1 parent 73eb881 commit d22bef2
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,6 @@ public final GenMsgIterator getDataForPVs(
return null;
}
InputStream is = response.body();
if (is.available() <= 0) {
logger.warning("Empty response from server when fetching data from " + getURL);
return null;
}
return new InputStreamBackedGenMsg(is);

} catch (Exception ex) {
Expand Down

0 comments on commit d22bef2

Please sign in to comment.