Skip to content

Commit c948e0b

Browse files
author
davidcok
committed
Edits
1 parent ffc020a commit c948e0b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

tutorial/ModelFields.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Model fields:
1717
in an interface (or class) using the modifier `instance`. As the (Java) default is `static` for field declarations, the `instance` keyword is required in this case.
1818

1919
Datagroups:
20-
* A model field is also a _datagroup_; or a standalone datagroup (not associated with an abstract value) can be declared using the type `JMLDataGroup`.
20+
* A model field is also a _datagroup_; or a standalone datagroup (not associated with an abstract value) can be declared using the type `\datagroup`.
2121
* A datagroup is an abstraction of a frame condition.
2222
* In the abstract class the datagroup can be used in a frame condition
2323
* In the concrete class specific fields can be declared to be _in_ that datagroup

tutorial/Polygon.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public void test3(Square square) {
5858

5959
public void test4(Polygon polygon) {
6060
if (polygon instanceof Square square) {
61-
//# assert square.sides() == 4; // OK as well
61+
//@ assert square.sides() == 4; // OK as well
6262
}
6363
}
6464
}

tutorial/Polygon3.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public void test3(Square square) {
8181

8282
public void test4(Polygon3 polygon) {
8383
if (polygon instanceof Square square) {
84-
//# assert square.sides() == 4; // OK as well
84+
//@ assert square.sides() == 4; // OK as well
8585
}
8686
}
8787
}

tutorial/PolygonMF.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public void test3(Square square) {
6666

6767
public void test4(PolygonMF polygon) {
6868
if (polygon instanceof Square square) {
69-
//# assert square.sides() == 4; // OK as well
69+
//@ assert square.sides() == 4; // OK as well
7070
}
7171
}
7272
}

0 commit comments

Comments
 (0)