99import org .nlogo .api .Argument ;
1010import org .nlogo .api .Dump ;
1111import org .nlogo .api .Context ;
12- import org .nlogo .api .DefaultReporter ;
13- import org .nlogo .api .DefaultCommand ;
12+ import org .nlogo .api .Reporter ;
13+ import org .nlogo .api .Command ;
1414
1515import java .util .Iterator ;
1616
@@ -172,7 +172,7 @@ private LogoArray getOrCreateArrayFromId(long id) {
172172 return new LogoArray (id );
173173 }
174174
175- public static class Item extends DefaultReporter {
175+ public static class Item implements Reporter {
176176 public Syntax getSyntax () {
177177 return SyntaxJ .reporterSyntax
178178 (new int []{Syntax .WildcardType (),
@@ -202,7 +202,7 @@ public Object report(Argument args[], Context context)
202202 }
203203 }
204204
205- public static class Set extends DefaultCommand {
205+ public static class Set implements Command {
206206 public Syntax getSyntax () {
207207 return Syntax .commandSyntax
208208 (new int []{Syntax .WildcardType (),
@@ -232,7 +232,7 @@ public void perform(Argument args[], Context context)
232232 }
233233 }
234234
235- public static class Length extends DefaultReporter {
235+ public static class Length implements Reporter {
236236 public Syntax getSyntax () {
237237 return SyntaxJ .reporterSyntax
238238 (new int []{Syntax .WildcardType ()},
@@ -254,7 +254,7 @@ public Object report(Argument args[], Context context)
254254 }
255255 }
256256
257- public static class ToList extends DefaultReporter {
257+ public static class ToList implements Reporter {
258258 public Syntax getSyntax () {
259259 return SyntaxJ .reporterSyntax
260260 (new int []{Syntax .WildcardType ()},
@@ -276,7 +276,7 @@ public Object report(Argument args[], Context context)
276276 }
277277 }
278278
279- public static class FromList extends DefaultReporter {
279+ public static class FromList implements Reporter {
280280 public Syntax getSyntax () {
281281 return SyntaxJ .reporterSyntax
282282 (new int []{Syntax .ListType ()},
0 commit comments