X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=inline;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fmain%2FDebugLoaders.java;h=c42b056f59085d134d1c30c9161b7268b704d413;hb=8c46c562753c6cff5510f2d628b5adc4f315ffa2;hp=d0168ae4b2ee5873b6114412f21d20e6dd22fe04;hpb=de7568a82eb4150bf6d2b0553841b7b69f84c968;p=Sone.git
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
--- 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.
- *
- * @author David âBombeâ Roden
*/
public class DebugLoaders implements Loaders {
@@ -30,7 +28,7 @@ public class DebugLoaders implements Loaders {
@Override
public Page loadStaticPage(String basePath, String prefix, String mimeType) {
- return new ReloadingPage(basePath, new File(filesystemPath, prefix).getAbsolutePath(), mimeType);
+ return new ReloadingPage<>(basePath, new File(filesystemPath, prefix).getAbsolutePath(), mimeType);
}
@Override