From 67a8ddd9cdd9ba3d08e1022ab8a5c3b5e1326324 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Fri, 1 Apr 2011 12:34:48 +0200 Subject: [PATCH] Make classes static. --- src/main/java/net/pterodactylus/sone/core/SoneInserter.java | 2 +- src/main/java/net/pterodactylus/sone/web/page/TemplatePage.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.7.4