kopia lustrzana https://github.com/bertrik/ttnhabbridge
Warning fixes.
rodzic
5ef8ea05d3
commit
0166377b92
|
@ -68,7 +68,7 @@ public final class Sentence {
|
|||
sb.append(String.format(Locale.US, "%s,%d,%s,%.6f,%.6f,%.1f", callSign, id, timeString, latitude, longitude,
|
||||
altitude));
|
||||
for (String s : extras) {
|
||||
sb.append(",");
|
||||
sb.append(',');
|
||||
sb.append(s);
|
||||
}
|
||||
final String basic = sb.toString();
|
||||
|
|
|
@ -22,14 +22,14 @@ public interface IHabitatRestApi {
|
|||
|
||||
@Path("/habitat/_design/payload_telemetry/_update/add_listener/{doc_id}")
|
||||
@PUT
|
||||
public String updateListener(@PathParam("doc_id") String docId, String json);
|
||||
String updateListener(@PathParam("doc_id") String docId, String json);
|
||||
|
||||
@Path("/_uuids")
|
||||
@GET
|
||||
public UuidsList getUuids(@QueryParam("count") int count);
|
||||
UuidsList getUuids(@QueryParam("count") int count);
|
||||
|
||||
@Path("/habitat/{doc_id}")
|
||||
@PUT
|
||||
public UploadResult uploadDocument(@PathParam("doc_id") String docId, String document);
|
||||
UploadResult uploadDocument(@PathParam("doc_id") String docId, String document);
|
||||
|
||||
}
|
||||
|
|
|
@ -26,7 +26,7 @@ public final class TtnMessageMetaData {
|
|||
* Constructor.
|
||||
*
|
||||
* @param time the time
|
||||
* @param gws list of gateways
|
||||
* @param gateways list of gateways
|
||||
*/
|
||||
public TtnMessageMetaData(String time, List<TtnMessageGateway> gateways) {
|
||||
this();
|
||||
|
|
Ładowanie…
Reference in New Issue