Skip to content

Commit

Permalink
Update variable naming convention.
Browse files Browse the repository at this point in the history
  • Loading branch information
kruegersp authored Apr 24, 2024
1 parent 6954e91 commit 55953c8
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
public class CarmaCloudInstance
{
// unique simulation identifier for the CARMA Cloud instance
private final String m_sCarmaCloudId;
private final String carmaCloudId;
// URL endpoint where to send simulation time sync messages
private final String m_sCarmaCloudUrl;
private final String carmaCloudUrl;


/**
Expand All @@ -44,8 +44,8 @@ public class CarmaCloudInstance
*/
public CarmaCloudInstance(String sId, String sUrl)
{
m_sCarmaCloudId = sId;
m_sCarmaCloudUrl = sUrl;
carmaCloudId = sId;
carmaCloudUrl = sUrl;
}


Expand All @@ -56,7 +56,7 @@ public CarmaCloudInstance(String sId, String sUrl)
*/
public String getCarmaCloudUrl()
{
return m_sCarmaCloudUrl;
return carmaCloudUrl;
}


Expand All @@ -67,7 +67,7 @@ public String getCarmaCloudUrl()
*/
public String getCarmaCloudId()
{
return m_sCarmaCloudId;
return carmaCloudId;
}


Expand All @@ -80,7 +80,7 @@ public String getCarmaCloudId()
public void sendTimeSyncMsg(TimeSyncMessage oMsg)
throws IOException
{
HttpURLConnection oHttp = (HttpURLConnection)new URL(m_sCarmaCloudUrl).openConnection();
HttpURLConnection oHttp = (HttpURLConnection)new URL(carmaCloudUrl).openConnection();
oHttp.setRequestMethod("POST");
oHttp.setDoOutput(true);
try (DataOutputStream oOut = new DataOutputStream(oHttp.getOutputStream()))
Expand Down

0 comments on commit 55953c8

Please sign in to comment.