Inline variables

This commit is contained in:
Martin Fietz 2018-01-21 13:05:10 +01:00
parent 595674a872
commit 86f6c001c1
2 changed files with 2 additions and 6 deletions

View File

@ -199,7 +199,7 @@ public class GpodnetEpisodeAction {
} }
public String writeToString() { public String writeToString() {
String result = this.podcast + "\t" + return this.podcast + "\t" +
this.episode + "\t" + this.episode + "\t" +
this.deviceId + "\t" + this.deviceId + "\t" +
this.action + "\t" + this.action + "\t" +
@ -207,7 +207,6 @@ public class GpodnetEpisodeAction {
String.valueOf(this.started) + "\t" + String.valueOf(this.started) + "\t" +
String.valueOf(this.position) + "\t" + String.valueOf(this.position) + "\t" +
String.valueOf(this.total); String.valueOf(this.total);
return result;
} }
/** /**

View File

@ -1331,10 +1331,7 @@ public class PodDBAdapter {
if (size == 1) { if (size == 1) {
return "(?)"; return "(?)";
} }
String builder = "(" + return "(" + TextUtils.join(",", Collections.nCopies(size, "?")) + ")";
TextUtils.join(",", Collections.nCopies(size, "?")) +
")";
return builder;
} }
public final Cursor getFeedCursor(final long id) { public final Cursor getFeedCursor(final long id) {