Update docs

- Remove most of a static class modifiers from docs
  to make things easier if doing copy/paste. Not
  all can be removed because some spring inner
  config classes has to be static.
- Fixes #123
This commit is contained in:
Janne Valkealahti
2015-11-26 09:36:47 +00:00
parent b5d3c4e3e4
commit c981c5a6ee
13 changed files with 73 additions and 73 deletions

View File

@@ -230,11 +230,11 @@ public class Application implements CommandLineRunner {
Add states and events:
[source,java,indent=0]
----
public static enum States {
public enum States {
SI, S1, S2
}
public static enum Events {
public enum Events {
E1, E2
}
----
@@ -244,7 +244,7 @@ Add state machine configuration:
----
@Configuration
@EnableStateMachine
static class StateMachineConfig
public class StateMachineConfig
extends EnumStateMachineConfigurerAdapter<States, Events> {
@Override