Skip to content

Commit

Permalink
Made static members final so it's compatible with GWT.
Browse files Browse the repository at this point in the history
  • Loading branch information
dfumosa committed Apr 8, 2015
1 parent 3216b1d commit e2be43e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ashley/src/com/badlogic/ashley/core/Family.java
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public boolean matches (Entity entity) {
* @return A Builder singleton instance to get a family
*/
@SafeVarargs
public static Builder all (Class<? extends Component>... componentTypes) {
public static final Builder all (Class<? extends Component>... componentTypes) {
return builder.reset().all(componentTypes);
}

Expand All @@ -85,7 +85,7 @@ public static Builder all (Class<? extends Component>... componentTypes) {
* @return A Builder singleton instance to get a family
*/
@SafeVarargs
public static Builder one (Class<? extends Component>... componentTypes) {
public static final Builder one (Class<? extends Component>... componentTypes) {
return builder.reset().one(componentTypes);
}

Expand All @@ -94,7 +94,7 @@ public static Builder one (Class<? extends Component>... componentTypes) {
* @return A Builder singleton instance to get a family
*/
@SafeVarargs
public static Builder exclude (Class<? extends Component>... componentTypes) {
public static final Builder exclude (Class<? extends Component>... componentTypes) {
return builder.reset().exclude(componentTypes);
}

Expand Down

0 comments on commit e2be43e

Please sign in to comment.