forked from tinkerpop/blueprints
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed anonymous classes and moved MockSerializable out of the test …
…case to allow TinkerGraph to properly serialize the graph on shutdown.
- Loading branch information
1 parent
37daa75
commit 2449212
Showing
2 changed files
with
34 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
blueprints-test/src/main/java/com/tinkerpop/blueprints/util/io/MockSerializable.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package com.tinkerpop.blueprints.util.io; | ||
|
||
import java.io.Serializable; | ||
|
||
/** | ||
* @author Stephen Mallette (http://stephen.genoprime.com) | ||
*/ | ||
public class MockSerializable implements Serializable { | ||
private String testField; | ||
|
||
public String getTestField() { | ||
return this.testField; | ||
} | ||
|
||
public void setTestField(String testField) { | ||
this.testField = testField; | ||
} | ||
|
||
} |