Skip to content

Commit

Permalink
简化不必要注释
Browse files Browse the repository at this point in the history
英文标注
  • Loading branch information
hugeterry committed Sep 11, 2017
1 parent 706476d commit d8f520f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,6 @@ private IntentUtils() {
throw new UnsupportedOperationException("This class cannot be instantiated, and its methods must be called directly.");
}

/**
* 跳转到指定url
*
* @param context 当前上下文
* @param url 网址
*/
public static void openUrl(Context context, String url) {
Uri uri = Uri.parse(url);
Intent intent = new Intent(Intent.ACTION_VIEW, uri);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class MainActivity extends AppCompatActivity {
private CoordinatorTabLayout mCoordinatorTabLayout;
private int[] mImageArray, mColorArray;
private ArrayList<Fragment> mFragments;
private final String[] mTitles = {"Android", "iOS", "前端", "拓展资源"};
private final String[] mTitles = {"Android", "iOS", "Web", "Other"};
private ViewPager mViewPager;

@Override
Expand Down

0 comments on commit d8f520f

Please sign in to comment.