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 {
* Note: A generator cannot be bound if there is already a generator bound.
* @param newIdGenerator id generator
*/
public static final void bindIdGenerator(IdGenerator newIdGenerator) {
public static void bindIdGenerator(IdGenerator newIdGenerator) {
checkState(idGenerator == null, "Id generator is already bound.");
idGenerator = checkNotNull(newIdGenerator);
}
......@@ -133,7 +133,7 @@ public abstract class Intent implements BatchOperationTarget {
* Note: The caller must provide the old id generator to succeed.
* @param oldIdGenerator the current id generator
*/
public static final void unbindIdGenerator(IdGenerator oldIdGenerator) {
public static void unbindIdGenerator(IdGenerator oldIdGenerator) {
if (Objects.equals(idGenerator, oldIdGenerator)) {
idGenerator = null;
}
......
......@@ -30,7 +30,7 @@ public final class MetricsUtil {
* @param timer timer to start
* @return timing context, if timer was not null
*/
public static final Context startTimer(Timer timer) {
public static Context startTimer(Timer timer) {
if (timer != null) {
return timer.time();
}
......@@ -45,7 +45,7 @@ public final class MetricsUtil {
*
* @param context timing context to stop, if not null.
*/
public static final void stopTimer(Context context) {
public static void stopTimer(Context context) {
if (context != null) {
context.stop();
}
......