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(); String permissionName = permissions.next();
try { try {
Permission permission = new Permission(this, permissionName); Permission permission = new Permission(this, permissionName);
sb.append(permission.getName()); sb.append("" + permission.getName() + '\n');
if (permissions.hasNext()) {
sb.append('\n');
}
} catch (NameNotFoundException e) { } catch (NameNotFoundException e) {
Log.d( "FDroid", Log.d( "FDroid",
"Can't find permsission '" + permissionName + "'"); "Can't find permsission '" + permissionName + "'");