Source:
<code>public Fragment getItem(int position) { String tabNumber = tabs.get(position); <START> if(tabNumber.startsWith(TAB_NUMBER_KIOSK + "\t")) { <END> String kiosk[] = tabNumber.split("\t"); if(kiosk.length==2) { KioskFragment fragment = null; try { fragment = KioskFragment.getInstance(currentServiceId, kiosk[1]); fragment.useAsFrontPage(true); return fragment; } catch (Exception e) { ErrorActivity.reportError(activity, e, activity.getClass(), null, ErrorActivity.ErrorInfo.make(UserAction.UI_ERROR, "none", "", R.string.app_ui_crash)); } } } else if(tabNumber.startsWith(TAB_NUMBER_CHANNEL + "\t")) { String channelInfo[] = tabNumber.split("\t"); if(channelInfo.length==4) { ChannelFragment fragment = ChannelFragment.getInstance(Integer.parseInt(channelInfo[3]), channelInfo[1], channelInfo[2]); fragment.useAsFrontPage(true); return fragment; } else { return new BlankFragment(); } } else { switch (tabNumber) { case TAB_NUMBER_BLANK: return new BlankFragment(); case TAB_NUMBER_SUBSCIRPTIONS: SubscriptionFragment sFragment = new SubscriptionFragment(); sFragment.useAsFrontPage(true); return sFragment; case TAB_NUMBER_FEED: FeedFragment fFragment = new FeedFragment(); fFragment.useAsFrontPage(true); return fFragment; case TAB_NUMBER_BOOKMARKS: BookmarkFragment bFragment = new BookmarkFragment(); bFragment.useAsFrontPage(true); return bFragment; case TAB_NUMBER_HISTORY: StatisticsPlaylistFragment cFragment = new StatisticsPlaylistFragment(); cFragment.useAsFrontPage(true); return cFragment; } } return new BlankFragment(); }</code><technical_language>is tabNumber, need split later? a typical holds</technical_language>

Target:
public Fragment getItem(int position) { String tabInformation = tabs.get(position); if(tabInformation.startsWith(TAB_NUMBER_KIOSK + "\t")) { String kiosk[] = tabInformation.split("\t"); if(kiosk.length==3) { KioskFragment fragment = null; try { fragment = KioskFragment.getInstance(Integer.parseInt(kiosk[2]), kiosk[1]); fragment.useAsFrontPage(true); return fragment; } catch (Exception e) { ErrorActivity.reportError(activity, e, activity.getClass(), null, ErrorActivity.ErrorInfo.make(UserAction.UI_ERROR, "none", "", R.string.app_ui_crash)); } } } else if(tabInformation.startsWith(TAB_NUMBER_CHANNEL + "\t")) { String channelInfo[] = tabInformation.split("\t"); if(channelInfo.length==4) { ChannelFragment fragment = ChannelFragment.getInstance(Integer.parseInt(channelInfo[3]), channelInfo[1], channelInfo[2]); fragment.useAsFrontPage(true); return fragment; } else { return new BlankFragment(); } } else { switch (tabInformation) { case TAB_NUMBER_BLANK: return new BlankFragment(); case TAB_NUMBER_SUBSCIRPTIONS: SubscriptionFragment sFragment = new SubscriptionFragment(); sFragment.useAsFrontPage(true); return sFragment; case TAB_NUMBER_FEED: FeedFragment fFragment = new FeedFragment(); fFragment.useAsFrontPage(true); return fFragment; case TAB_NUMBER_BOOKMARKS: BookmarkFragment bFragment = new BookmarkFragment(); bFragment.useAsFrontPage(true); return bFragment; case TAB_NUMBER_HISTORY: StatisticsPlaylistFragment cFragment = new StatisticsPlaylistFragment(); cFragment.useAsFrontPage(true); return cFragment; } } return new BlankFragment(); }