You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by vo...@apache.org on 2016/01/28 08:37:22 UTC
[22/50] ignite git commit: Updated documentation
Updated documentation
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/58c6909e
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/58c6909e
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/58c6909e
Branch: refs/heads/ignite-2324
Commit: 58c6909e34767c1f33b9486883d23aa4c03806ad
Parents: 0abe0df
Author: Denis Magda <dm...@gridgain.com>
Authored: Thu Jan 21 12:44:03 2016 +0300
Committer: Denis Magda <dm...@gridgain.com>
Committed: Thu Jan 21 12:44:03 2016 +0300
----------------------------------------------------------------------
.../java/org/apache/ignite/binary/BinaryObjectBuilder.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ignite/blob/58c6909e/modules/core/src/main/java/org/apache/ignite/binary/BinaryObjectBuilder.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/binary/BinaryObjectBuilder.java b/modules/core/src/main/java/org/apache/ignite/binary/BinaryObjectBuilder.java
index 9fd8420..156ddb9 100644
--- a/modules/core/src/main/java/org/apache/ignite/binary/BinaryObjectBuilder.java
+++ b/modules/core/src/main/java/org/apache/ignite/binary/BinaryObjectBuilder.java
@@ -44,13 +44,13 @@ import org.jetbrains.annotations.Nullable;
* </pre>
* </p>
*
- * If you need to modify nested binary object you can get builder for nested object using
+ * If you need to modify nested binary object you can get an instance of a builder for nested binary object using
* {@link #getField(String)}, changes made on nested builder will affect parent object,
* for example:
*
* <pre name=code class=java>
* BinaryObjectBuilder personBuilder = grid.binary().createBuilder(personBinaryObj);
- * BinaryObjectBuilder addressBuilder = personBuilder.setField("address");
+ * BinaryObjectBuilder addressBuilder = personBuilder.getField("address");
*
* addressBuilder.setField("city", "New York");
*
@@ -66,7 +66,7 @@ import org.jetbrains.annotations.Nullable;
public interface BinaryObjectBuilder {
/**
* Returns value assigned to the specified field.
- * If the value is a binary object instance of {@code BinaryObjectBuilder} will be returned,
+ * If the value is a binary object then an instance of {@code BinaryObjectBuilder} will be returned,
* which can be modified.
* <p>
* Collections and maps returned from this method are modifiable.
@@ -132,4 +132,4 @@ public interface BinaryObjectBuilder {
* @throws BinaryObjectException In case of error.
*/
public BinaryObject build() throws BinaryObjectException;
-}
\ No newline at end of file
+}