aurora-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zameer Manji <zma...@apache.org>
Subject Re: Review Request 52957: Handle the case where content type header is null.
Date Mon, 17 Oct 2016 22:38:41 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/52957/
-----------------------------------------------------------

(Updated Oct. 17, 2016, 3:38 p.m.)


Review request for Aurora and Stephan Erb.


Changes
-------

Fix style issue.


Bugs: AURORA-1795
    https://issues.apache.org/jira/browse/AURORA-1795


Repository: aurora


Description
-------

Per the [documentation](http://docs.oracle.com/javaee/7/api/javax/servlet/ServletRequestWrapper.html#getContentType--)
`getContentType` can return `null`. This now handles that case gracefully.


Diffs (updated)
-----

  src/main/java/org/apache/aurora/scheduler/http/api/TContentAwareServlet.java 1634cb88ac09c778c5bb277ca902f4ca35dd6c9d


Diff: https://reviews.apache.org/r/52957/diff/


Testing
-------


Thanks,

Zameer Manji


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message