Skip to content

Commit 3c59a5d

Browse files
committed
Fix Util-class declaration
1 parent 4ca86c9 commit 3c59a5d

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,7 @@ Now you can access every files in the `test_statics` over the root adress `\`. I
369369
```java
370370
FileProviderOptionsoptions = new FileProviderOptions();
371371
options.setExtensions("html", "css", "js"); // By default, all are allowed.
372+
372373
/*
373374
* Activate the fallbacksearch.
374375
* E.g. if an request to <code>/js/code.js</code> was made but the

src/express/middleware/Middleware.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @author Simon Reinisch
88
* Class which provides middleware
99
*/
10-
public class Middleware {
10+
public final class Middleware {
1111

1212
// Don't allow creating an instance from this class
1313
private Middleware() {

src/express/utils/Utils.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515
import java.util.Date;
1616
import java.util.TimeZone;
1717

18-
public class Utils {
18+
public final class Utils {
19+
20+
private Utils() {}
1921

2022
/**
2123
* Write all data from an InputStream in an String

0 commit comments

Comments
 (0)