Move everything into the core package
Some checks failed
zdm/undo-redo/pipeline/head There was a failure building this commit

This commit is contained in:
Kai S. K. Engelbart 2021-12-11 18:18:39 +01:00
parent 93e177cc35
commit 23aa60e65e
Signed by: kske
GPG Key ID: 8BEB13EC5DF7EF13
8 changed files with 16 additions and 16 deletions

View File

@ -1,4 +1,4 @@
package dev.kske.undoredo;
package dev.kske.undoredo.core;
/**
* Base interface for changes to be registered in an undo manager.

View File

@ -1,4 +1,4 @@
package dev.kske.undoredo;
package dev.kske.undoredo.core;
import java.util.List;

View File

@ -1,4 +1,4 @@
package dev.kske.undoredo;
package dev.kske.undoredo.core;
import java.util.*;

View File

@ -5,4 +5,4 @@
* @author Kai S. K. Engelbart
* @since 0.0.1
*/
package dev.kske.undoredo;
package dev.kske.undoredo.core;

View File

@ -7,5 +7,5 @@
*/
module dev.kske.undoredo {
exports dev.kske.undoredo;
exports dev.kske.undoredo.core;
}

View File

@ -1,4 +1,4 @@
package dev.kske.undoredo;
package dev.kske.undoredo.core;
import static org.junit.jupiter.api.Assertions.*;
@ -33,7 +33,7 @@ class ChangeManagerTest {
manager.addChange(change);
assertSame(1, wrapper.value);
}
/**
* Tests the consistency of the change list.
*

View File

@ -1,17 +1,17 @@
package dev.kske.undoredo;
package dev.kske.undoredo.core;
/**
* @author Kai S. K. Engelbart
* @since 0.0.1
*/
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

View File

@ -1,10 +1,10 @@
package dev.kske.undoredo;
package dev.kske.undoredo.core;
/**
* @author Kai S. K. Engelbart
* @since 0.0.1
*/
class IntWrapper {
int value;
}