Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -791,7 +791,7 @@ public void generateArrayElementCopyFrom(
ArrayFieldModel arrayFieldModel, ValueBuilder valueBuilder,
MethodSpec.Builder methodBuilder) {
if (get != null) {
// if 1) type of field is not String (i. e. CharSequence or StringBuilder)
// if 1) type of field is not String (i.e. CharSequence or StringBuilder)
// and 2) there is a getUsing() method
// the shortcut copy: this.setField(from.getField()) (*), when the from object is
// a native impl, does double contents copy: from native memory to from's cached SB,
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/net/openhft/chronicle/values/FieldModel.java
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ public String name() {

/**
* Field name as variable name. Not equal to field name, because it could clash with Java
* keyword or type name, e. g. getInt()/setInt()
* keyword or type name, e.g. getInt()/setInt()
*/
String varName() {
return "_" + name;
Expand Down