Skip to content

Commit 1d4469d

Browse files
committed
Merge branch 'fix-missing-createtimestamp'
2 parents 9b04661 + 14641b3 commit 1d4469d

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ repositories {
3535
//----------------------------------------------------------------
3636

3737
// The Project version
38-
version = '4.1.9'
38+
version = '4.1.10'
3939

4040
// Setup java compilation version
4141
sourceCompatibility = 1.8

src/main/java/picoded/dstack/DataObjectMap.java

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,21 @@ default boolean containsKey(Object key) {
7373
//--------------------------------------------------------------------------
7474

7575
/**
76-
* Generates a new blank object, with a GUID.
76+
* Generates a new blank object, with a generated GUID.
7777
* Note that save does not trigger, unless its called.
7878
*
7979
* @return the DataObject
8080
**/
8181
DataObject newEntry();
82+
83+
/**
84+
* Generates a new blank object, with a given GUID.
85+
* Note that save does not trigger, unless its called.
86+
*
87+
* @param oid the object ID to use for the new entry, if null a GUID will be generated
88+
* @return the DataObject
89+
*/
90+
DataObject newEntry(String oid);
8291

8392
/**
8493
* Generates a new blank object, with a GUID.

0 commit comments

Comments
 (0)