Last active
February 26, 2022 16:23
-
-
Save elibroftw/159978a1b3d2c16fbcbc3c3c6e71fb48 to your computer and use it in GitHub Desktop.
Javers Example 1
This file contains hidden or 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
package com.elijahlopez.examples; | |
import java.awt.Color; | |
import java.util.Date; | |
// e.g. Class Vertex - modifiable source code | |
public class Vertex { | |
@DiffIgnore | |
Date lastUpdated; | |
Color color; | |
// coordinates | |
int x, y, z; | |
@DiffIgnore | |
String comments; | |
public Vertex(int x, int y, int z) { | |
this.color = Color.red; | |
this.x = x; | |
this.y = y; | |
this.z = z; | |
} | |
// ... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment