Skip to content

Commit

Permalink
style: change variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
Rosario Trischitta committed Dec 3, 2020
1 parent ac386e2 commit c6c96b3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public static MetadataResponse executeGetMetadata(HttpServletRequest servletRequ
}
return new MetadataResponse(
new Attribution(ExtractMetadata.attributionUrl, ExtractMetadata.attributionShort),
Application.API_VERSION, ExtractMetadata.timeoutInSeconds,
Application.API_VERSION, ExtractMetadata.timeout,
new ExtractRegion(ExtractMetadata.dataPolyJson,
new TemporalExtent(ExtractMetadata.fromTstamp, ExtractMetadata.toTstamp),
ExtractMetadata.replicationSequenceNumber));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class ExtractMetadata {
public static Geometry dataPoly = null;
public static JsonNode dataPolyJson = null;
public static int replicationSequenceNumber;
public static double timeoutInSeconds = ProcessingData.getTimeout();
public static double timeout = ProcessingData.getTimeout();

private ExtractMetadata() {
throw new IllegalStateException("Utility class");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class MetadataResponse {
@ApiModelProperty(notes = "Version of this api", required = true, position = 1)
private String apiVersion;
@ApiModelProperty(notes = "Maximal response timeout in seconds", required = true, position = 2)
private double timeoutInSeconds;
private double timeout;
@ApiModelProperty(
notes = "Extract region object holding the spatial|temporal extend + attribution",
required = true, position = 3)
Expand Down

0 comments on commit c6c96b3

Please sign in to comment.