Skip to content

Commit 1683adc

Browse files
committed
Reformat javaSE Java files
1 parent 797aa89 commit 1683adc

5 files changed

Lines changed: 43 additions & 38 deletions

File tree

javaSE/javaSE/src/main/java/com/smartdevicelink/BuildConfig.java

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
11
/*
2-
* Copyright (c) 2017 - 2020, SmartDeviceLink Consortium, Inc.
3-
* All rights reserved.
4-
*
5-
* Redistribution and use in source and binary forms, with or without
6-
* modification, are permitted provided that the following conditions are met:
7-
*
8-
* * Redistributions of source code must retain the above copyright notice, this
9-
* list of conditions and the following disclaimer.
10-
*
11-
* * Redistributions in binary form must reproduce the above copyright notice,
12-
* this list of conditions and the following disclaimer in the documentation
13-
* and/or other materials provided with the distribution.
14-
*
15-
* * Neither the name of SmartDeviceLink Consortium, Inc. nor the names of its
16-
* contributors may be used to endorse or promote products derived from
17-
* this software without specific prior written permission.
18-
*
19-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20-
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21-
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22-
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
23-
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24-
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
25-
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
26-
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27-
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28-
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29-
*
30-
*/
2+
* Copyright (c) 2017 - 2020, SmartDeviceLink Consortium, Inc.
3+
* All rights reserved.
4+
*
5+
* Redistribution and use in source and binary forms, with or without
6+
* modification, are permitted provided that the following conditions are met:
7+
*
8+
* * Redistributions of source code must retain the above copyright notice, this
9+
* list of conditions and the following disclaimer.
10+
*
11+
* * Redistributions in binary form must reproduce the above copyright notice,
12+
* this list of conditions and the following disclaimer in the documentation
13+
* and/or other materials provided with the distribution.
14+
*
15+
* * Neither the name of SmartDeviceLink Consortium, Inc. nor the names of its
16+
* contributors may be used to endorse or promote products derived from
17+
* this software without specific prior written permission.
18+
*
19+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20+
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22+
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
23+
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24+
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
25+
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
26+
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27+
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28+
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29+
*
30+
*/
3131
package com.smartdevicelink;
3232

3333
// THIS FILE IS AUTO GENERATED, DO NOT MODIFY!!

javaSE/javaSE/src/main/java/com/smartdevicelink/managers/SdlManager.java

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ public Builder(@NonNull final String appId, @NonNull final String appName, @NonN
194194
super(appId, appName, listener);
195195
}
196196
}
197+
197198
private ISdl _internalInterface = new ISdl() {
198199
@Override
199200
public void start() {
@@ -252,7 +253,7 @@ public void addOnRPCNotificationListener(FunctionID notificationId, OnRPCNotific
252253

253254
@Override
254255
public boolean removeOnRPCNotificationListener(FunctionID notificationId, OnRPCNotificationListener listener) {
255-
return lifecycleManager.getInternalInterface(SdlManager.this).removeOnRPCNotificationListener(notificationId, listener);
256+
return lifecycleManager.getInternalInterface(SdlManager.this).removeOnRPCNotificationListener(notificationId, listener);
256257
}
257258

258259
@Override
@@ -262,7 +263,7 @@ public void addOnRPCRequestListener(FunctionID functionID, OnRPCRequestListener
262263

263264
@Override
264265
public boolean removeOnRPCRequestListener(FunctionID functionID, OnRPCRequestListener listener) {
265-
return lifecycleManager.getInternalInterface(SdlManager.this).removeOnRPCRequestListener(functionID, listener);
266+
return lifecycleManager.getInternalInterface(SdlManager.this).removeOnRPCRequestListener(functionID, listener);
266267
}
267268

268269
@Override
@@ -272,29 +273,29 @@ public void addOnRPCListener(FunctionID responseId, OnRPCListener listener) {
272273

273274
@Override
274275
public boolean removeOnRPCListener(FunctionID responseId, OnRPCListener listener) {
275-
return lifecycleManager.getInternalInterface(SdlManager.this).removeOnRPCListener(responseId, listener);
276+
return lifecycleManager.getInternalInterface(SdlManager.this).removeOnRPCListener(responseId, listener);
276277
}
277278

278279
@Override
279280
public RegisterAppInterfaceResponse getRegisterAppInterfaceResponse() {
280-
return lifecycleManager.getInternalInterface(SdlManager.this).getRegisterAppInterfaceResponse();
281+
return lifecycleManager.getInternalInterface(SdlManager.this).getRegisterAppInterfaceResponse();
281282
}
282283

283284
@Override
284285
public boolean isTransportForServiceAvailable(SessionType serviceType) {
285-
return lifecycleManager.getInternalInterface(SdlManager.this).isTransportForServiceAvailable(serviceType);
286+
return lifecycleManager.getInternalInterface(SdlManager.this).isTransportForServiceAvailable(serviceType);
286287
}
287288

288289
@NonNull
289290
@Override
290291
public SdlMsgVersion getSdlMsgVersion() {
291-
return lifecycleManager.getInternalInterface(SdlManager.this).getSdlMsgVersion();
292+
return lifecycleManager.getInternalInterface(SdlManager.this).getSdlMsgVersion();
292293
}
293294

294295
@NonNull
295296
@Override
296297
public Version getProtocolVersion() {
297-
return lifecycleManager.getInternalInterface(SdlManager.this).getProtocolVersion();
298+
return lifecycleManager.getInternalInterface(SdlManager.this).getProtocolVersion();
298299
}
299300

300301
@Override
@@ -309,12 +310,12 @@ public void startRPCEncryption() {
309310

310311
@Override
311312
public Taskmaster getTaskmaster() {
312-
return lifecycleManager.getInternalInterface(SdlManager.this).getTaskmaster();
313+
return lifecycleManager.getInternalInterface(SdlManager.this).getTaskmaster();
313314
}
314315

315316
@Override
316317
public SystemCapabilityManager getSystemCapabilityManager() {
317-
return lifecycleManager.getInternalInterface(SdlManager.this).getSystemCapabilityManager();
318+
return lifecycleManager.getInternalInterface(SdlManager.this).getSystemCapabilityManager();
318319
}
319320

320321
@Override

javaSE/javaSE/src/main/java/com/smartdevicelink/managers/SdlManagerListener.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ public interface SdlManagerListener extends BaseSdlManagerListener {
7272
/**
7373
* A way to determine if this SDL session should continue to be active while
7474
* connected to the determined system information of the vehicle.
75+
*
7576
* @param systemInfo systemInfo - the system information of the vehicle that this session is currently active on.
7677
* @return Return true if this session should continue, false if the session should end
7778
*/

javaSE/javaSE/src/main/java/com/smartdevicelink/managers/file/FileManager.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434

3535
import androidx.annotation.NonNull;
3636
import androidx.annotation.RestrictTo;
37+
3738
import com.smartdevicelink.managers.ISdl;
3839
import com.smartdevicelink.managers.file.filetypes.SdlFile;
3940
import com.smartdevicelink.util.DebugTool;

javaSE/javaSE/src/main/java/com/smartdevicelink/managers/screen/AlertManager.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
package com.smartdevicelink.managers.screen;
2+
23
import androidx.annotation.NonNull;
34
import androidx.annotation.RestrictTo;
45

56
import com.smartdevicelink.managers.ISdl;
67
import com.smartdevicelink.managers.file.FileManager;
8+
79
/**
810
* <strong>AlertManager</strong> <br>
911
* <p>

0 commit comments

Comments
 (0)