Basic API Structure #2
@ -1,4 +1,4 @@
|
||||
package dev.kske.undoredo;
|
||||
package dev.kske.undoredo.core;
|
||||
|
||||
/**
|
||||
* Base interface for changes to be registered in an undo manager.
|
@ -1,4 +1,4 @@
|
||||
package dev.kske.undoredo;
|
||||
package dev.kske.undoredo.core;
|
||||
|
||||
import java.util.List;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package dev.kske.undoredo;
|
||||
package dev.kske.undoredo.core;
|
||||
|
||||
import java.util.*;
|
||||
|
@ -5,4 +5,4 @@
|
||||
* @author Kai S. K. Engelbart
|
||||
* @since 0.0.1
|
||||
*/
|
||||
package dev.kske.undoredo;
|
||||
package dev.kske.undoredo.core;
|
@ -7,5 +7,5 @@
|
||||
*/
|
||||
module dev.kske.undoredo {
|
||||
|
||||
exports dev.kske.undoredo;
|
||||
exports dev.kske.undoredo.core;
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
package dev.kske.undoredo;
|
||||
package dev.kske.undoredo.core;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.*;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package dev.kske.undoredo;
|
||||
package dev.kske.undoredo.core;
|
||||
|
||||
/**
|
||||
* @author Kai S. K. Engelbart
|
||||
@ -6,12 +6,12 @@ package dev.kske.undoredo;
|
||||
*/
|
||||
class IntChange implements Change {
|
||||
|
||||
private final IntWrapper wrapper;
|
||||
private final int value;
|
||||
private final IntWrapper wrapper;
|
||||
private final int value;
|
||||
|
||||
IntChange(IntWrapper wrapper, int value) {
|
||||
this.wrapper = wrapper;
|
||||
this.value = value;
|
||||
this.wrapper = wrapper;
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
@Override
|
@ -1,4 +1,4 @@
|
||||
package dev.kske.undoredo;
|
||||
package dev.kske.undoredo.core;
|
||||
|
||||
/**
|
||||
* @author Kai S. K. Engelbart
|
Reference in New Issue
Block a user