Commit c9f5037a authored by Kristof Szabados's avatar Kristof Szabados
Browse files

can be final.


Signed-off-by: Kristof Szabados's avatarKristof Szabados <Kristof.Szabados@ericsson.com>
parent 4e8989f1
......@@ -996,8 +996,8 @@ public final class TTCN_Communication {
if (is_connected.get()) {
final Text_Buf text_buf = new Text_Buf();
text_buf.push_int(MSG_LOG);
int upper_int = (int)(seconds / 0xffffffff);
int lower_int = (int)(seconds % 0xffffffff);
final int upper_int = (int)(seconds / 0xffffffff);
final int lower_int = (int)(seconds % 0xffffffff);
text_buf.push_int(upper_int);
text_buf.push_int(lower_int);
text_buf.push_int(microseconds);
......
......@@ -154,7 +154,7 @@ public class TitanPort extends Channel_And_Timeout_Event_Handler {
private void init(final int nof_params) {
this.nof_params = nof_params;
this.params = new ArrayList<TitanCharString>(nof_params);
TitanCharString tmp = new TitanCharString("");
final TitanCharString tmp = new TitanCharString("");
for (int i = 0; i < nof_params; i++) {
params.add(i, tmp);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment