Merge pull request #526 from Johnny Lim

* gh-526:
  Polish "Remove redundant static modifier for enums"
  Remove redundant static modifier for enums
This commit is contained in:
Andy Wilkinson
2018-07-16 16:05:22 +01:00
2 changed files with 4 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014-2017 the original author or authors.
* Copyright 2014-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -127,7 +127,7 @@ final class JsonFieldPath {
/**
* The type of a field path.
*/
static enum PathType {
enum PathType {
/**
* The path identifies a single item in the payload.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014-2017 the original author or authors.
* Copyright 2014-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -195,7 +195,7 @@ final class JsonFieldProcessor {
|| this.matchType == MatchType.NULL;
}
private static enum MatchType {
private enum MatchType {
ABSENT, MIXED, NONE, NULL, NON_NULL;