From: David ‘Bombe’ Roden Date: Fri, 1 Apr 2011 10:34:48 +0000 (+0200) Subject: Make classes static. X-Git-Tag: 0.6^2~29 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=67a8ddd9cdd9ba3d08e1022ab8a5c3b5e1326324;p=Sone.git Make classes static. --- diff --git a/src/main/java/net/pterodactylus/sone/core/SoneInserter.java b/src/main/java/net/pterodactylus/sone/core/SoneInserter.java index b16d374..05fa4b4 100644 --- a/src/main/java/net/pterodactylus/sone/core/SoneInserter.java +++ b/src/main/java/net/pterodactylus/sone/core/SoneInserter.java @@ -246,7 +246,7 @@ public class SoneInserter extends AbstractService { * * @author David ‘Bombe’ Roden */ - private class InsertInformation { + private static class InsertInformation { /** All properties of the Sone, copied for thread safety. */ private final Map soneProperties = new HashMap(); diff --git a/src/main/java/net/pterodactylus/sone/web/page/TemplatePage.java b/src/main/java/net/pterodactylus/sone/web/page/TemplatePage.java index 9b40deb..6e0bebc 100644 --- a/src/main/java/net/pterodactylus/sone/web/page/TemplatePage.java +++ b/src/main/java/net/pterodactylus/sone/web/page/TemplatePage.java @@ -227,7 +227,7 @@ public class TemplatePage implements Page, LinkEnabledCallback { * * @author David ‘Bombe’ Roden */ - public class RedirectException extends Exception { + public static class RedirectException extends Exception { /** The target to redirect to. */ private final String target;