aboutsummaryrefslogtreecommitdiffstats
path: root/sample/vector/VectorAssistant.java
diff options
context:
space:
mode:
Diffstat (limited to 'sample/vector/VectorAssistant.java')
-rw-r--r--sample/vector/VectorAssistant.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/sample/vector/VectorAssistant.java b/sample/vector/VectorAssistant.java
index 44fdd41c..27d5f702 100644
--- a/sample/vector/VectorAssistant.java
+++ b/sample/vector/VectorAssistant.java
@@ -96,7 +96,7 @@ public class VectorAssistant implements Assistant {
vec.addMethod(CtNewMethod.copy(addmethod, "add", vec, map));
vec.addMethod(CtNewMethod.copy(atmethod, "at", vec, map));
- pool.writeFile(vec.getName());
+ vec.writeFile();
return vec;
}
@@ -125,7 +125,7 @@ public class VectorAssistant implements Assistant {
m = CtNewMethod.wrapped(type, "at", args2,
null, atmethod, null, vec);
vec.addMethod(m);
- pool.writeFile(vec.getName());
+ vec.writeFile();
return vec;
}