| Total Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | package com.base.Http.Server.Responses.Thread; |
||
| 24 | public Thread createThread(Request request) { |
||
| 25 | return (Thread) (new Thread()) |
||
| 26 | .setDescription(request.getParameters().getOrDefault("description", "")) |
||
| 27 | .setSubject(request.getParameters().getOrDefault("subject", "")) |
||
| 28 | .setSlug(request.getParameters().getOrDefault("slug", VALID_THREAD_SLUG)) |
||
| 29 | .setId(VALID_ID); |
||
| 30 | } |
||
| 32 |