Compile fix for method that returns Void. :P

This commit is contained in:
Brion Vibber 2013-04-25 08:55:24 -07:00
parent ae01386018
commit 4922e615fd

View file

@ -272,12 +272,14 @@ public class CategorizationFragment extends SherlockFragment{
} }
@Override @Override
protected void doInBackground(Void... voids) { protected Void doInBackground(Void... voids) {
Category cat = lookupCategory(name); Category cat = lookupCategory(name);
cat.incTimesUsed(); cat.incTimesUsed();
cat.setContentProviderClient(client); cat.setContentProviderClient(client);
cat.save(); cat.save();
return null; // Make the compiler happy.
} }
} }