Skip to content

Commit

Permalink
fix check style after PR 279
Browse files Browse the repository at this point in the history
  • Loading branch information
kostyantynnosach-mobius committed Jan 22, 2018
1 parent a1cef28 commit e2caaf9
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 35 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public abstract class TestHarness implements MAPDialogListener, MAPServiceSupple
protected static final String CREATED_DIALOGS = "CreatedScenario";
protected static final String SUCCESSFUL_DIALOGS = "CompletedScenario";
protected static final String ERROR_DIALOGS = "FailedScenario";

protected static final String LOG_FILE_NAME = "log.file.name";
protected static String logFileName = "maplog.txt";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,26 +140,26 @@ public interface MAPDialog extends Serializable {
void setNetworkId(int networkId);

/**
* Option responsible for presence of the protocol version in
* Option responsible for presence of the protocol version in
* this dialogue portion.
*
* @return boolean true if protocol version must be omitted,
* false when it should be included and null if not defined at the
*
* @return boolean true if protocol version must be omitted,
* false when it should be included and null if not defined at the
* dialog level and global option should be used.
*/
public Boolean isDoNotSendProtcolVersion();
Boolean isDoNotSendProtcolVersion();

/**
* Modifies option responsible for presence of the protocol version in
* Modifies option responsible for presence of the protocol version in
* this dialogue portion.
*
*
* @param doNotSendProtocolVersion
* boolean true if protocol version must be omitted,
* false when it should be included and null if not defined at the
* boolean true if protocol version must be omitted,
* false when it should be included and null if not defined at the
* dialog level and global option should be used.
*/
public void setDoNotSendProtocolVersion(Boolean doNotSendProtocolVersion);
void setDoNotSendProtocolVersion(Boolean doNotSendProtocolVersion);

/**
* Remove MAPDialog without sending any messages and invoking events
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,12 @@ public boolean getReturnMessageOnError() {
public Boolean isDoNotSendProtcolVersion() {
return tcapDialog.isDoNotSendProtcolVersion();
}

@Override
public void setDoNotSendProtocolVersion(Boolean doNotSendProtocolVersion) {
tcapDialog.setDoNotSendProtocolVersion(doNotSendProtocolVersion);
}

/**
*
* @return - local sccp address.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,26 +129,26 @@ public interface Dialog extends Serializable {
void setNetworkId(int networkId);

/**
* Option responsible for presence of the protocol version in
* Option responsible for presence of the protocol version in
* this dialogue portion.
*
* @return boolean true if protocol version must be omitted,
* false when it should be included and null if not defined at the
*
* @return boolean true if protocol version must be omitted,
* false when it should be included and null if not defined at the
* dialog level and global option should be used.
*/
public Boolean isDoNotSendProtcolVersion();
Boolean isDoNotSendProtcolVersion();

/**
* Modifies option responsible for presence of the protocol version in
* Modifies option responsible for presence of the protocol version in
* this dialogue portion.
*
*
* @param doNotSendProtocolVersion
* boolean true if protocol version must be omitted,
* false when it should be included and null if not defined at the
* boolean true if protocol version must be omitted,
* false when it should be included and null if not defined at the
* dialog level and global option should be used.
*/
public void setDoNotSendProtocolVersion(Boolean doNotSendProtocolVersion);
void setDoNotSendProtocolVersion(Boolean doNotSendProtocolVersion);

/**
* Cancels INVOKE pending to be sent. It is equivalent to TC-U-CANCEL.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public class DialogImpl implements Dialog {
private int networkId;

private Boolean doNotSendProtocolVersion = null;

private static int getIndexFromInvokeId(Long l) {
int tmp = l.intValue();
return tmp + _INVOKE_TABLE_SHIFT;
Expand Down Expand Up @@ -275,24 +275,24 @@ protected DialogImpl(SccpAddress localAddress, SccpAddress remoteAddress, int se
public Boolean isDoNotSendProtcolVersion() {
return doNotSendProtocolVersion;
}

@Override
public void setDoNotSendProtocolVersion(Boolean doNotSendProtocolVersion) {
this.doNotSendProtocolVersion = doNotSendProtocolVersion;
}

/**
* Compute convergent option value as combination from dialog level value
* Compute convergent option value as combination from dialog level value
* and global value specified at stack level.
*
* @return
*
* @return
*/
private boolean doNotSendProtocolVersion() {
return doNotSendProtocolVersion != null ?
return doNotSendProtocolVersion != null ?
doNotSendProtocolVersion :
provider.getStack().getDoNotSendProtocolVersion();
}

public void release() {
if (!this.previewMode) {
for (int i = 0; i < this.operationsSent.length; i++) {
Expand Down

0 comments on commit e2caaf9

Please sign in to comment.