Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ITS - Intelligent Transport Systems
ITS
Commits
c744356f
Commit
c744356f
authored
Dec 01, 2016
by
garciay
Browse files
Add Dirk's changes
parent
728c3cfd
Changes
2
Show whitespace changes
Inline
Side-by-side
javasrc/codec/org/etsi/ttcn/codec/generic/Integer.java
View file @
c744356f
...
...
@@ -49,7 +49,14 @@ public class Integer extends ICodec {
value
=
buf
.
readBits
(
lengthInBits
);
try
{
Matcher
matcher
=
UNSIGNED_VARIANT
.
matcher
(
decodingHypothesis
.
getTypeEncodingVariant
());
hint
=
mainCodec
.
getHint
(
decodingHypothesis
.
getName
()
+
"Sign"
);
Matcher
matcher
;
if
(
hint
==
null
)
{
matcher
=
UNSIGNED_VARIANT
.
matcher
(
decodingHypothesis
.
getTypeEncodingVariant
());
}
else
{
matcher
=
UNSIGNED_VARIANT
.
matcher
(
hint
);
}
if
(
matcher
.
find
())
{
// Unsigned integer
if
(
lengthInBits
>=
java
.
lang
.
Integer
.
SIZE
)
{
...
...
javasrc/codec/org/etsi/ttcn/codec/its/uppertester/UtDenmTermination.java
View file @
c744356f
...
...
@@ -16,7 +16,9 @@ public class UtDenmTermination extends UtRecord {
private
void
setLengths
()
{
mainCodec
.
setHint
(
"StationIDLen"
,
"32"
);
mainCodec
.
setHint
(
"StationIDSign"
,
"unsigned"
);
mainCodec
.
setHint
(
"SequenceNumberLen"
,
"16"
);
mainCodec
.
setHint
(
"SequenceNumberSign"
,
"unsigned"
);
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment