Skip to content

Commit

Permalink
Update imports that were referencing non-local R strings.
Browse files Browse the repository at this point in the history
Also removes unused imports that were present in these class
files.
  • Loading branch information
kevinsawicki committed Oct 12, 2011
1 parent 98ea43c commit 4cf8e5e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
7 changes: 2 additions & 5 deletions agit/src/main/java/com/madgag/agit/operations/Clone.java
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
package com.madgag.agit.operations;

import android.content.Context;
import android.util.Log;
import com.google.inject.Inject;
import com.madgag.android.listviews.pinnedheader.R;
import org.eclipse.jgit.api.TransportConfigCallback;
import org.eclipse.jgit.api.errors.JGitInternalException;
import org.eclipse.jgit.transport.CredentialsProvider;
Expand All @@ -14,12 +12,11 @@

import static android.R.drawable.stat_sys_download;
import static android.R.drawable.stat_sys_download_done;
import static com.madgag.agit.R.string.clone;
import static com.madgag.agit.R.string.cloned_repo;
import static com.madgag.agit.R.string.cloning_repo;
import static com.madgag.agit.R.string.cloning;
import static com.madgag.agit.R.string.fetching;
import static com.madgag.agit.operations.JGitAPIExceptions.exceptionWithFriendlyMessageFor;
import static com.madgag.android.listviews.pinnedheader.R.string.clone;
import static com.madgag.android.listviews.pinnedheader.R.string.cloning_repo;
import static org.eclipse.jgit.api.Git.cloneRepository;
import static org.eclipse.jgit.lib.Constants.*;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@

import android.util.Log;
import com.google.inject.Inject;
import com.madgag.agit.R;
import org.eclipse.jgit.lib.Repository;
import roboguice.inject.InjectResource;

Expand All @@ -32,7 +31,6 @@
import static android.R.drawable.stat_sys_download_done;
import static com.madgag.agit.R.string.delete_repo;
import static com.madgag.agit.git.Repos.topDirectoryFor;
import static com.madgag.android.listviews.pinnedheader.R.string.clone;
import static org.apache.commons.io.FileUtils.deleteDirectory;

public class RepoDeleter extends GitOperation {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
import static com.madgag.agit.util.DigestUtils.encodeHex;
import static com.madgag.agit.util.DigestUtils.md5;
import static com.madgag.agit.views.TextUtil.centered;
import static com.madgag.android.listviews.pinnedheader.R.string.ask_host_key_ok;
import static com.madgag.android.listviews.pinnedheader.R.string.ask_host_key_ok_ticker;
import static com.madgag.agit.R.string.ask_host_key_ok;
import static com.madgag.agit.R.string.ask_host_key_ok_ticker;
import static java.lang.Boolean.TRUE;

@Singleton
Expand Down

0 comments on commit 4cf8e5e

Please sign in to comment.