Skip to content

Commit 363dbca

Browse files
committed
Make new Base classes Package Private
1 parent 06469ae commit 363dbca

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

base/src/main/java/com/smartdevicelink/protocol/BaseSdlPacket.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
* Any other binder transactions must include an additional int flag into their bundle or the parsing
4848
* of this object will fail.
4949
*/
50-
public class BaseSdlPacket {
50+
class BaseSdlPacket {
5151

5252
/**
5353
* This is the amount of bytes added to the bundle from the router service for a specific int
@@ -122,7 +122,7 @@ public class BaseSdlPacket {
122122
int messagingVersion = 1;
123123
TransportRecord transportRecord;
124124

125-
public BaseSdlPacket(int version, boolean encryption, int frameType,
125+
BaseSdlPacket(int version, boolean encryption, int frameType,
126126
int serviceType, int frameInfo, int sessionId,
127127
int dataSize, int messageId, byte[] payload) {
128128
this.version = version;
@@ -140,7 +140,7 @@ public BaseSdlPacket(int version, boolean encryption, int frameType,
140140
}
141141
}
142142

143-
public BaseSdlPacket(int version, boolean encryption, int frameType,
143+
BaseSdlPacket(int version, boolean encryption, int frameType,
144144
int serviceType, int frameInfo, int sessionId,
145145
int dataSize, int messageId, byte[] payload, int offset, int bytesToWrite) {
146146
this.version = version;

base/src/main/java/com/smartdevicelink/transport/utl/BaseTransportRecord.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@
3434

3535
import com.smartdevicelink.transport.enums.TransportType;
3636

37-
public class BaseTransportRecord{
37+
class BaseTransportRecord{
3838

3939
private TransportType type;
4040
private String address;
4141

42-
public BaseTransportRecord(TransportType transportType, String address){
42+
BaseTransportRecord(TransportType transportType, String address){
4343
this.type = transportType;
4444
this.address = address;
4545
}

0 commit comments

Comments
 (0)