Fixed the issue with the HTTP patch java file