Skip to content

Commit

Permalink
removed static modifier from nested enums, they are implicitly static
Browse files Browse the repository at this point in the history
  • Loading branch information
virgo47 committed Mar 10, 2020
1 parent a5d025e commit 5516618
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 15 deletions.
Expand Up @@ -11,7 +11,6 @@
import com.evolveum.midpoint.gui.api.util.WebComponentUtil;
import com.evolveum.midpoint.gui.api.util.WebModelServiceUtils;
import com.evolveum.midpoint.prism.PrismObject;
import com.evolveum.midpoint.prism.query.ObjectQuery;
import com.evolveum.midpoint.schema.result.OperationResult;
import com.evolveum.midpoint.task.api.Task;
import com.evolveum.midpoint.util.exception.CommonException;
Expand Down Expand Up @@ -41,12 +40,9 @@
import java.util.List;
import java.util.Map;

/**
* @author shood
* */
public class ResourceDependencyEditor extends BasePanel<List<ResourceObjectTypeDependencyType>> {

private static enum ChangeState{
private enum ChangeState{
SKIP, FIRST, LAST
}

Expand Down
Expand Up @@ -20,7 +20,7 @@
*/
public class DebugConfDialogDto implements Serializable {

public static enum Operation {
public enum Operation {
DELETE_SELECTED, DELETE_ALL_TYPE, DELETE_RESOURCE_SHADOWS;
}

Expand Down
Expand Up @@ -11,12 +11,9 @@
import java.io.Serializable;
import java.util.List;

/**
* @author shood
* */
public class ReportDeleteDialogDto implements Serializable{

public static enum Operation{
public enum Operation{
DELETE_SINGLE, DELETE_SELECTED, DELETE_ALL
}

Expand Down
Expand Up @@ -34,22 +34,19 @@
import javax.xml.namespace.QName;
import java.util.*;

/**
* @author shood
* */
public class ExpressionUtil {

private static final Trace LOGGER = TraceManager.getTrace(ExpressionUtil.class);

public static enum ExpressionEvaluatorType{
public enum ExpressionEvaluatorType{
LITERAL,
AS_IS,
PATH,
SCRIPT,
GENERATE
}

public static enum Language{
public enum Language{
GROOVY("http://midpoint.evolveum.com/xml/ns/public/expression/language#Groovy"),
XPATH("http://www.w3.org/TR/xpath/"),
JAVASCRIPT("http://midpoint.evolveum.com/xml/ns/public/expression/language#ECMAScript");
Expand Down

0 comments on commit 5516618

Please sign in to comment.