0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-20 20:03:05 +02:00

add javadoc note to libanki save method

This commit is contained in:
timrae 2015-10-19 23:02:42 +09:00
parent 44eabb0493
commit b36dc2560d

View File

@ -174,7 +174,11 @@ public class Models {
save(m, false);
}
/**
* Save a model
* @param m model to save
* @param templates flag which (when true) re-generates the cards for each note which uses the model
*/
public void save(JSONObject m, boolean templates) {
if (m != null && m.has("id")) {
try {