mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Fixed a minor issue in GCM notification provider
This commit is contained in:
parent
bdb5b970fd
commit
0479742bc4
@ -78,7 +78,7 @@ public class GCMNotificationStrategy implements NotificationStrategy {
|
||||
|
||||
HttpURLConnection conn = null;
|
||||
try {
|
||||
conn = (HttpURLConnection) (new URL(config.getProperty(GCM_ENDPOINT)).openConnection());
|
||||
conn = (HttpURLConnection) new URL(GCM_ENDPOINT).openConnection();
|
||||
conn.setDoOutput(true);
|
||||
conn.setUseCaches(false);
|
||||
conn.setFixedLengthStreamingMode(bytes.length);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user