Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
squito committed Apr 27, 2015
1 parent 2e19be2 commit b2f8b91
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,13 @@

package org.apache.spark.status.api.v1;

import org.apache.spark.annotation.DeveloperApi;
import org.apache.spark.util.EnumUtil;

import java.util.HashSet;
import java.util.Set;

@DeveloperApi
public enum TaskSorting {
ID,
IncreasingRuntime("runtime"),
Expand Down
2 changes: 2 additions & 0 deletions core/src/main/java/org/apache/spark/util/EnumUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
package org.apache.spark.util;

import com.google.common.base.Joiner;
import org.apache.spark.annotation.DeveloperApi;

@DeveloperApi
public class EnumUtil {
public static <E extends Enum<E>> E parseIgnoreCase(Class<E> clz, String str) {
E[] constants = clz.getEnumConstants();
Expand Down

0 comments on commit b2f8b91

Please sign in to comment.