File: SerializableNoOp.java

package info (click to toggle)
mockito 1.10.19-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 4,684 kB
  • sloc: java: 32,406; xml: 776; sh: 122; makefile: 4
file content (20 lines) | stat: -rw-r--r-- 550 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * Copyright (c) 2007 Mockito contributors
 * This program is made available under the terms of the MIT License.
 */
package org.mockito.internal.creation.cglib;

import net.sf.cglib.proxy.Callback;
import net.sf.cglib.proxy.NoOp;

import java.io.Serializable;

/**
 * Offer a Serializable implementation of the NoOp CGLIB callback.
 */
class SerializableNoOp implements NoOp, Serializable {

    private static final long serialVersionUID = 7434976328690189159L;
    public static final Callback SERIALIZABLE_INSTANCE = new SerializableNoOp();

}