GeezerVison is showing github.com — Fix dangling Javadoc comments, also fixes Javadoc not getting picked up. · hehuelet/objectbox-java@0424f7e
File treeExpand file treeCollapse file tree Open diff view settings objectbox-java-api/src/main/java/io/objectbox/annotation objectbox-java/src/main/java/io/objectbox
Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: objectbox-java-api/src/main/java/io/objectbox/annotation/NotNull.java +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 30 | 30 | */ | 31 | 31 | @Retention(RetentionPolicy.CLASS) | 32 | 32 | @Target({ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER}) | 33 | | -/** TODO public */ @interface NotNull { | | 33 | +/* TODO public */ @interface NotNull { | 34 | 34 | } |
Collapse file Copy file name to clipboardExpand all lines: objectbox-java-api/src/main/java/io/objectbox/annotation/OrderBy.java +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 28 | 28 | */ | 29 | 29 | @Retention(RetentionPolicy.CLASS) | 30 | 30 | @Target(ElementType.FIELD) | 31 | | -/** TODO public */ @interface OrderBy { | | 31 | +/* TODO public */ @interface OrderBy { | 32 | 32 | /** | 33 | 33 | * Comma-separated list of properties, e.g. "propertyA, propertyB, propertyC" | 34 | 34 | * To specify direction, add ASC or DESC after property name, e.g.: "propertyA DESC, propertyB ASC" | |
Collapse file Copy file name to clipboardExpand all lines: objectbox-java/src/main/java/io/objectbox/Box.java +3-2Lines changed: 3 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 19 | 19 | import java.lang.reflect.Field; | 20 | 20 | import java.util.ArrayList; | 21 | 21 | import java.util.Collection; | 22 | | -import java.util.Collections; | 23 | 22 | import java.util.HashMap; | 24 | 23 | import java.util.Iterator; | 25 | 24 | import java.util.List; | @@ -443,8 +442,10 @@ public void remove(@Nullable long... ids) { | 443 | 442 | } | 444 | 443 | } | 445 | 444 |
| | 445 | + /** | | 446 | + * @deprecated use {@link #removeByIds(Collection)} instead. | | 447 | + */ | 446 | 448 | @Deprecated | 447 | | - /** @deprecated use {@link #removeByIds(Collection)} instead. */ | 448 | 449 | public void removeByKeys(@Nullable Collection<Long> ids) { | 449 | 450 | removeByIds(ids); | 450 | 451 | } | |
Collapse file Copy file name to clipboardExpand all lines: objectbox-java/src/main/java/io/objectbox/BoxStoreBuilder.java +4-2Lines changed: 4 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -104,8 +104,8 @@ private BoxStoreBuilder() { | 104 | 104 | model = null; | 105 | 105 | } | 106 | 106 |
| 107 | | - @Internal | 108 | 107 | /** Called internally from the generated class "MyObjectBox". Check MyObjectBox.builder() to get an instance. */ | | 108 | + @Internal | 109 | 109 | public BoxStoreBuilder(byte[] model) { | 110 | 110 | this.model = model; | 111 | 111 | if (model == null) { | @@ -295,8 +295,10 @@ public BoxStoreBuilder maxSizeInKByte(long maxSizeInKByte) { | 295 | 295 | return this; | 296 | 296 | } | 297 | 297 |
| | 298 | + /** | | 299 | + * @deprecated Use {@link #debugFlags} instead. | | 300 | + */ | 298 | 301 | @Deprecated | 299 | | - /** @deprecated Use {@link #debugFlags} instead. */ | 300 | 302 | public BoxStoreBuilder debugTransactions() { | 301 | 303 | this.debugFlags |= DebugFlags.LOG_TRANSACTIONS_READ | DebugFlags.LOG_TRANSACTIONS_WRITE; | 302 | 304 | return this; | |
Collapse file Copy file name to clipboardExpand all lines: objectbox-java/src/main/java/io/objectbox/Factory.java +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 19 | 19 | import io.objectbox.annotation.apihint.Experimental; | 20 | 20 |
| 21 | 21 |
| 22 | | -@Experimental | 23 | 22 | /** | 24 | 23 | * Generic Factory that provides a resource on demand (if and when it is required). | 25 | 24 | */ | | 25 | +@Experimental | 26 | 26 | public interface Factory<T> { | 27 | 27 | T provide() throws Exception; | 28 | 28 | } |
Collapse file Copy file name to clipboardExpand all lines: objectbox-java/src/main/java/io/objectbox/model/IdUid.java +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 23 | 23 | import java.util.*; | 24 | 24 | import com.google.flatbuffers.*; | 25 | 25 |
| 26 | | -@SuppressWarnings("unused") | 27 | 26 | /** | 28 | 27 | * ID tuple: besides the main ID there is also a UID for verification | 29 | 28 | */ | | 29 | +@SuppressWarnings("unused") | 30 | 30 | public final class IdUid extends Struct { | 31 | 31 | public void __init(int _i, ByteBuffer _bb) { bb_pos = _i; bb = _bb; } | 32 | 32 | public IdUid __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } | |
Collapse file Copy file name to clipboardExpand all lines: objectbox-java/src/main/java/io/objectbox/model/Model.java +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 23 | 23 | import java.util.*; | 24 | 24 | import com.google.flatbuffers.*; | 25 | 25 |
| 26 | | -@SuppressWarnings("unused") | 27 | 26 | /** | 28 | 27 | * A model describes all entities and other meta data. | 29 | 28 | * The current model of an app is synced against ObjectBox's persisted schema. | 30 | 29 | * The model itself is not persisted, and thus may change as long as both ends are consistent (Java and native). | 31 | 30 | * There could be multiple models/schemas (one dbi per schema) in the future. | 32 | 31 | */ | | 32 | +@SuppressWarnings("unused") | 33 | 33 | public final class Model extends Table { | 34 | 34 | public static Model getRootAsModel(ByteBuffer _bb) { return getRootAsModel(_bb, new Model()); } | 35 | 35 | public static Model getRootAsModel(ByteBuffer _bb, Model obj) { Constants.FLATBUFFERS_1_11_1(); _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); } | |
|