Skip to content
This repository was archived by the owner on Mar 3, 2026. It is now read-only.

Commit fd4060a

Browse files
feffijknack
authored andcommitted
fixed minor code issues (jooby-project#1168)
(cherry picked from commit e2358d6)
1 parent d51755a commit fd4060a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

modules/jooby-servlet/src/main/java/org/jooby/servlet/ServletServletRequest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -233,13 +233,13 @@
233233

234234
public class ServletServletRequest implements NativeRequest {
235235

236-
private HttpServletRequest req;
236+
private final HttpServletRequest req;
237237

238-
private String tmpdir;
238+
private final String tmpdir;
239239

240-
private boolean multipart;
240+
private final boolean multipart;
241241

242-
private String path;
242+
private final String path;
243243

244244
private ServletUpgrade upgrade = noupgrade();
245245

modules/jooby-servlet/src/main/java/org/jooby/servlet/ServletUpload.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,9 +219,9 @@
219219

220220
public class ServletUpload implements NativeUpload {
221221

222-
private Part upload;
222+
private final Part upload;
223223

224-
private String tmpdir;
224+
private final String tmpdir;
225225

226226
private File file;
227227

0 commit comments

Comments
 (0)