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

@@ -196,7 +196,7 @@ public class Application {
}
//tag::snippetB[]
public static enum States {
public enum States {
READY,
FORK, JOIN, CHOICE,
TASKS, T1, T1E, T2, T2E, T3, T3E,
@@ -205,7 +205,7 @@ public class Application {
//end::snippetB[]
//tag::snippetC[]
public static enum Events {
public enum Events {
RUN, FALLBACK, CONTINUE, FIX;
}
//end::snippetC[]
@@ -213,7 +213,7 @@ public class Application {
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@OnTransition
public static @interface StatesOnTransition {
public @interface StatesOnTransition {
States[] source() default {};