Skip to content

Commit 0f23d9b

Browse files
author
Caitlin Bales (MSFT)
committed
Linter updates
1 parent c5a950b commit 0f23d9b

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

Templates/Java/BaseJavaModel.template.tt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ public {1} {2}{3}{4} {{";
627627
* The {0}.
628628
* {4}
629629
*/
630-
public transient {2} {3};
630+
public {2} {3};
631631

632632
";
633633

@@ -696,27 +696,27 @@ public {1} {2}{3}{4} {{";
696696
@" /**
697697
* The raw representation of this class
698698
*/
699-
private transient JsonObject mRawObject;
699+
private JsonObject rawObject;
700700

701701
/**
702702
* The serializer
703703
*/
704-
private transient ISerializer mSerializer;
704+
private ISerializer serializer;
705705

706706
/**
707707
* Gets the raw representation of this class
708708
* @return the raw representation of this class
709709
*/
710710
public JsonObject getRawObject() {
711-
return mRawObject;
711+
return rawObject;
712712
}
713713

714714
/**
715715
* Gets serializer
716716
* @return the serializer
717717
*/
718718
protected ISerializer getSerializer() {
719-
return mSerializer;
719+
return serializer;
720720
}
721721

722722
/**
@@ -726,8 +726,8 @@ public {1} {2}{3}{4} {{";
726726
* @param json The json object to set this object to
727727
*/
728728
public void setRawObject(final ISerializer serializer, final JsonObject json) {
729-
mSerializer = serializer;
730-
mRawObject = json;
729+
this.serializer = serializer;
730+
rawObject = json;
731731
";
732732
}
733733

@@ -775,7 +775,7 @@ public {1} {2}{3}{4} {{";
775775
if (json.has(""{0}"")) {{
776776
final JsonArray array = json.getAsJsonArray(""{0}"");
777777
for (int i = 0; i < array.size(); i++) {{
778-
{0}.get(i).setRawObject(mSerializer, (JsonObject) array.get(i));
778+
{0}.get(i).setRawObject(serializer, (JsonObject) array.get(i));
779779
}}
780780
}}
781781
",

0 commit comments

Comments
 (0)