projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
🎨 Use nullable type instead of optional
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
main
/
DebugLoaders.java
diff --git
a/src/main/java/net/pterodactylus/sone/main/DebugLoaders.java
b/src/main/java/net/pterodactylus/sone/main/DebugLoaders.java
index
d0168ae
..
c42b056
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/main/DebugLoaders.java
+++ b/
src/main/java/net/pterodactylus/sone/main/DebugLoaders.java
@@
-12,8
+12,6
@@
import net.pterodactylus.util.web.Request;
/**
* {@link Loaders} implementation that loads all resources from the filesystem.
/**
* {@link Loaders} implementation that loads all resources from the filesystem.
- *
- * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
*/
public class DebugLoaders implements Loaders {
*/
public class DebugLoaders implements Loaders {
@@
-30,7
+28,7
@@
public class DebugLoaders implements Loaders {
@Override
public <REQ extends Request> Page<REQ> loadStaticPage(String basePath, String prefix, String mimeType) {
@Override
public <REQ extends Request> Page<REQ> loadStaticPage(String basePath, String prefix, String mimeType) {
- return new ReloadingPage<
REQ
>(basePath, new File(filesystemPath, prefix).getAbsolutePath(), mimeType);
+ return new ReloadingPage<>(basePath, new File(filesystemPath, prefix).getAbsolutePath(), mimeType);
}
@Override
}
@Override