• Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Medium Medium
    • None
    • None
    • None
    • None

      Method returns two types of response. Depends on body.
      Method always should return only single type!

      public ResponseEntity build() {

      if (body.isEmpty())

      { return ResponseEntity.status(httpStatus).build(); }

      return ResponseEntity.status(httpStatus).body(body);
      }

            bogumil_zebek bogumil_zebek
            bogumil_zebek bogumil_zebek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: