Drop elses after returns
This commit is contained in:
parent
c560463887
commit
df39b0fe40
@ -113,10 +113,9 @@ public class AndroidXMLDecompress {
|
|||||||
attributes.put(attributeName, attributeValue);
|
attributes.put(attributeName, attributeValue);
|
||||||
}
|
}
|
||||||
return attributes;
|
return attributes;
|
||||||
} else {
|
|
||||||
// we only need the first <manifest> start tag
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
// we only need the first <manifest> start tag
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
return new HashMap<String, Object>(0);
|
return new HashMap<String, Object>(0);
|
||||||
}
|
}
|
||||||
|
@ -9,9 +9,8 @@ public class AvailableAppListAdapter extends AppListAdapter {
|
|||||||
public static AvailableAppListAdapter create(Context context, Cursor cursor, int flags) {
|
public static AvailableAppListAdapter create(Context context, Cursor cursor, int flags) {
|
||||||
if (Build.VERSION.SDK_INT >= 11) {
|
if (Build.VERSION.SDK_INT >= 11) {
|
||||||
return new AvailableAppListAdapter(context, cursor, flags);
|
return new AvailableAppListAdapter(context, cursor, flags);
|
||||||
} else {
|
|
||||||
return new AvailableAppListAdapter(context, cursor);
|
|
||||||
}
|
}
|
||||||
|
return new AvailableAppListAdapter(context, cursor);
|
||||||
}
|
}
|
||||||
|
|
||||||
private AvailableAppListAdapter(Context context, Cursor c) {
|
private AvailableAppListAdapter(Context context, Cursor c) {
|
||||||
|
@ -9,9 +9,8 @@ public class CanUpdateAppListAdapter extends AppListAdapter {
|
|||||||
public static CanUpdateAppListAdapter create(Context context, Cursor cursor, int flags) {
|
public static CanUpdateAppListAdapter create(Context context, Cursor cursor, int flags) {
|
||||||
if (Build.VERSION.SDK_INT >= 11) {
|
if (Build.VERSION.SDK_INT >= 11) {
|
||||||
return new CanUpdateAppListAdapter(context, cursor, flags);
|
return new CanUpdateAppListAdapter(context, cursor, flags);
|
||||||
} else {
|
|
||||||
return new CanUpdateAppListAdapter(context, cursor);
|
|
||||||
}
|
}
|
||||||
|
return new CanUpdateAppListAdapter(context, cursor);
|
||||||
}
|
}
|
||||||
|
|
||||||
private CanUpdateAppListAdapter(Context context, Cursor c) {
|
private CanUpdateAppListAdapter(Context context, Cursor c) {
|
||||||
|
@ -9,9 +9,8 @@ public class InstalledAppListAdapter extends AppListAdapter {
|
|||||||
public static InstalledAppListAdapter create(Context context, Cursor cursor, int flags) {
|
public static InstalledAppListAdapter create(Context context, Cursor cursor, int flags) {
|
||||||
if (Build.VERSION.SDK_INT >= 11) {
|
if (Build.VERSION.SDK_INT >= 11) {
|
||||||
return new InstalledAppListAdapter(context, cursor, flags);
|
return new InstalledAppListAdapter(context, cursor, flags);
|
||||||
} else {
|
|
||||||
return new InstalledAppListAdapter(context, cursor);
|
|
||||||
}
|
}
|
||||||
|
return new InstalledAppListAdapter(context, cursor);
|
||||||
}
|
}
|
||||||
|
|
||||||
private InstalledAppListAdapter(Context context, Cursor c) {
|
private InstalledAppListAdapter(Context context, Cursor c) {
|
||||||
|
@ -26,9 +26,8 @@ public class RepoAdapter extends CursorAdapter {
|
|||||||
public static RepoAdapter create(Context context, Cursor cursor, int flags) {
|
public static RepoAdapter create(Context context, Cursor cursor, int flags) {
|
||||||
if (Build.VERSION.SDK_INT >= 11) {
|
if (Build.VERSION.SDK_INT >= 11) {
|
||||||
return new RepoAdapter(context, cursor, flags);
|
return new RepoAdapter(context, cursor, flags);
|
||||||
} else {
|
|
||||||
return new RepoAdapter(context, cursor);
|
|
||||||
}
|
}
|
||||||
|
return new RepoAdapter(context, cursor);
|
||||||
}
|
}
|
||||||
|
|
||||||
private RepoAdapter(Context context, Cursor c, int flags) {
|
private RepoAdapter(Context context, Cursor c, int flags) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user