-
Notifications
You must be signed in to change notification settings - Fork 593
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3612209
commit 762aa7f
Showing
6 changed files
with
12 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,9 +4,8 @@ | |
|
||
classdef EncapsDecoder10 < IceInternal.EncapsDecoder | ||
methods | ||
function obj = EncapsDecoder10(is, encaps, sliceValues, valueFactoryManager, classResolver, classGraphDepthMax) | ||
[email protected](is, encaps, sliceValues, valueFactoryManager, classResolver, ... | ||
classGraphDepthMax); | ||
function obj = EncapsDecoder10(is, encaps, valueFactoryManager, classResolver, classGraphDepthMax) | ||
[email protected](is, encaps, valueFactoryManager, classResolver, classGraphDepthMax); | ||
obj.sliceType = IceInternal.SliceType.NoSlice; | ||
end | ||
|
||
|
@@ -225,14 +224,6 @@ function readInstance(obj) | |
break; | ||
end | ||
|
||
% | ||
% If slicing is disabled, stop unmarshaling. | ||
% | ||
if ~obj.sliceValues | ||
reason = sprintf('cannot find a value factory for ''%s'' and slicing is disabled', obj.typeId); | ||
throw(Ice.MarshalException(reason)); | ||
end | ||
|
||
% | ||
% Slice off what we don't understand. | ||
% | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,9 +4,8 @@ | |
|
||
classdef EncapsDecoder11 < IceInternal.EncapsDecoder | ||
methods | ||
function obj = EncapsDecoder11(is, encaps, sliceValues, valueFactoryManager, classResolver, classGraphDepthMax) | ||
[email protected](is, encaps, sliceValues, valueFactoryManager, classResolver, ... | ||
classGraphDepthMax); | ||
function obj = EncapsDecoder11(is, encaps, valueFactoryManager, classResolver, classGraphDepthMax) | ||
[email protected](is, encaps, valueFactoryManager, classResolver, classGraphDepthMax); | ||
obj.current = []; | ||
obj.valueIdIndex = 1; | ||
obj.compactIdCache = {}; | ||
|
@@ -367,15 +366,6 @@ function skipSlice(obj) | |
break; | ||
end | ||
|
||
% | ||
% If slicing is disabled, stop unmarshaling. | ||
% | ||
if ~obj.sliceValues | ||
|
||
reason = sprintf('cannot find value factory for type ID ''%s'' and slicing is disabled', current.typeId); | ||
throw(Ice.MarshalException(reason)); | ||
end | ||
|
||
% | ||
% Slice off what we don't understand. | ||
% | ||
|