Add missing static qualifier
Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/485cf2e4 Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/485cf2e4 Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/485cf2e4 Branch: refs/heads/master Commit: 485cf2e4024843a67b8c43dd4dc60cb8d74a9b6b Parents: 73a762d Author: Raphael Ouazana <[email protected]> Authored: Tue Aug 28 10:46:13 2018 +0200 Committer: Raphael Ouazana <[email protected]> Committed: Tue Aug 28 10:46:13 2018 +0200 ---------------------------------------------------------------------- .../java/org/apache/james/eventsourcing/CommandDispatcher.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/james-project/blob/485cf2e4/event-sourcing/event-sourcing-core/src/main/java/org/apache/james/eventsourcing/CommandDispatcher.java ---------------------------------------------------------------------- diff --git a/event-sourcing/event-sourcing-core/src/main/java/org/apache/james/eventsourcing/CommandDispatcher.java b/event-sourcing/event-sourcing-core/src/main/java/org/apache/james/eventsourcing/CommandDispatcher.java index 14498ae..ba22d04 100644 --- a/event-sourcing/event-sourcing-core/src/main/java/org/apache/james/eventsourcing/CommandDispatcher.java +++ b/event-sourcing/event-sourcing-core/src/main/java/org/apache/james/eventsourcing/CommandDispatcher.java @@ -36,7 +36,7 @@ public class CommandDispatcher { private static final int MAX_RETRY = 10; - public class UnknownCommandException extends RuntimeException { + public static class UnknownCommandException extends RuntimeException { private final Command command; public UnknownCommandException(Command command) { @@ -49,7 +49,7 @@ public class CommandDispatcher { } } - public class TooManyRetries extends RuntimeException { + public static class TooManyRetries extends RuntimeException { private final Command command; private final int retries; --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
