Remove a few extra spaces that checkstyle missed

There's also a change in a SQL string, but it should be safe.
This commit is contained in:
Daniel Martí 2016-02-28 14:29:51 +00:00
parent 3af5f55abd
commit d061dafcd7
4 changed files with 4 additions and 4 deletions

View File

@ -1199,7 +1199,7 @@ public class AppDetails extends AppCompatActivity implements ProgressListener, A
final Spanned desc = Html.fromHtml(app.description, null, new Utils.HtmlTagHandler());
description.setMovementMethod(SafeLinkMovementMethod.getInstance(getActivity()));
description.setText(trimNewlines(desc));
final View viewMoreDescription = view.findViewById(R.id.view_more_description);
final View viewMoreDescription = view.findViewById(R.id.view_more_description);
description.post(new Runnable() {
@Override
public void run() {

View File

@ -175,7 +175,7 @@ class DBHelper extends SQLiteOpenHelper {
db.execSQL(createTableDdl);
String nonIdFields = "address, name, description, inuse, priority, " +
String nonIdFields = "address, name, description, inuse, priority, " +
"pubkey, fingerprint, maxage, version, lastetag, lastUpdated";
String insertSql = "INSERT INTO " + TABLE_REPO +

View File

@ -103,7 +103,7 @@ public class InstallConfirmActivity extends Activity implements OnCancelListener
}
adapter.addTab(tabHost.newTabSpec(TAB_ID_NEW).setIndicator(
getText(R.string.newPerms)), mScrollView);
} else {
} else {
findViewById(R.id.tabscontainer).setVisibility(View.GONE);
findViewById(R.id.divider).setVisibility(View.VISIBLE);
}

View File

@ -114,7 +114,7 @@ public class InstalledAppProviderTest extends FDroidProviderTest<InstalledAppPro
assertResultCount(1, InstalledAppProvider.getContentUri());
assertIsInstalledVersionInDb("com.example.toUpgrade", 1, "v0.1");
upgradeAndBroadcast("com.example.toUpgrade", 2, "v0.2");
upgradeAndBroadcast("com.example.toUpgrade", 2, "v0.2");
assertResultCount(1, InstalledAppProvider.getContentUri());
assertIsInstalledVersionInDb("com.example.toUpgrade", 2, "v0.2");