Add newline at the end. Slight speed-up.

This commit is contained in:
Daniel Martí 2013-05-03 22:27:06 +02:00
parent 5cf8cc1d55
commit 308b776f43

View File

@ -451,10 +451,7 @@ public class AppDetails extends ListActivity {
String permissionName = permissions.next();
try {
Permission permission = new Permission(this, permissionName);
sb.append(permission.getName());
if (permissions.hasNext()) {
sb.append('\n');
}
sb.append("" + permission.getName() + '\n');
} catch (NameNotFoundException e) {
Log.d( "FDroid",
"Can't find permsission '" + permissionName + "'");