Inline variables
This commit is contained in:
parent
595674a872
commit
86f6c001c1
@ -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;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user