Sho SHIMIZU
Committed by Gerrit Code Review

Remove final modifier from static methods

Change-Id: I93dd84874f46114011840ef840315a0d27c221ac
...@@ -122,7 +122,7 @@ public abstract class Intent implements BatchOperationTarget { ...@@ -122,7 +122,7 @@ public abstract class Intent implements BatchOperationTarget {
122 * Note: A generator cannot be bound if there is already a generator bound. 122 * Note: A generator cannot be bound if there is already a generator bound.
123 * @param newIdGenerator id generator 123 * @param newIdGenerator id generator
124 */ 124 */
125 - public static final void bindIdGenerator(IdGenerator newIdGenerator) { 125 + public static void bindIdGenerator(IdGenerator newIdGenerator) {
126 checkState(idGenerator == null, "Id generator is already bound."); 126 checkState(idGenerator == null, "Id generator is already bound.");
127 idGenerator = checkNotNull(newIdGenerator); 127 idGenerator = checkNotNull(newIdGenerator);
128 } 128 }
...@@ -133,7 +133,7 @@ public abstract class Intent implements BatchOperationTarget { ...@@ -133,7 +133,7 @@ public abstract class Intent implements BatchOperationTarget {
133 * Note: The caller must provide the old id generator to succeed. 133 * Note: The caller must provide the old id generator to succeed.
134 * @param oldIdGenerator the current id generator 134 * @param oldIdGenerator the current id generator
135 */ 135 */
136 - public static final void unbindIdGenerator(IdGenerator oldIdGenerator) { 136 + public static void unbindIdGenerator(IdGenerator oldIdGenerator) {
137 if (Objects.equals(idGenerator, oldIdGenerator)) { 137 if (Objects.equals(idGenerator, oldIdGenerator)) {
138 idGenerator = null; 138 idGenerator = null;
139 } 139 }
......
...@@ -30,7 +30,7 @@ public final class MetricsUtil { ...@@ -30,7 +30,7 @@ public final class MetricsUtil {
30 * @param timer timer to start 30 * @param timer timer to start
31 * @return timing context, if timer was not null 31 * @return timing context, if timer was not null
32 */ 32 */
33 - public static final Context startTimer(Timer timer) { 33 + public static Context startTimer(Timer timer) {
34 if (timer != null) { 34 if (timer != null) {
35 return timer.time(); 35 return timer.time();
36 } 36 }
...@@ -45,7 +45,7 @@ public final class MetricsUtil { ...@@ -45,7 +45,7 @@ public final class MetricsUtil {
45 * 45 *
46 * @param context timing context to stop, if not null. 46 * @param context timing context to stop, if not null.
47 */ 47 */
48 - public static final void stopTimer(Context context) { 48 + public static void stopTimer(Context context) {
49 if (context != null) { 49 if (context != null) {
50 context.stop(); 50 context.stop();
51 } 51 }
......