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

@@ -152,7 +152,7 @@ public class Application {
//tag::snippetB[]
public static enum States {
public enum States {
// super state of PLAYING and PAUSED
BUSY,
PLAYING,
@@ -165,7 +165,7 @@ public class Application {
//end::snippetB[]
//tag::snippetC[]
public static enum Events {
public enum Events {
PLAY, STOP, PAUSE, EJECT, LOAD, FORWARD, BACK
}
//end::snippetC[]
@@ -183,11 +183,11 @@ public class Application {
//end::snippetD[]
//tag::snippetE[]
public static enum Variables {
public enum Variables {
CD, TRACK, ELAPSEDTIME
}
public static enum Headers {
public enum Headers {
TRACKSHIFT
}
//end::snippetE[]
@@ -196,7 +196,7 @@ public class Application {
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@OnTransition
public static @interface StatesOnTransition {
public @interface StatesOnTransition {
States[] source() default {};